Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Spice on Aug 01, 2015, 11:49 AM

Title: can i colour the map in my server
Post by: Spice on Aug 01, 2015, 11:49 AM
i want to colour the specific buildings on map.....like some buildins have red colour on radar....?
if we can then please tell me how...? if not then any alternative way...?
Title: Re: can i colour the map in my server
Post by: Sebastian on Aug 01, 2015, 12:15 PM
You cannot change radar's textures.
All you can do is spawn there a (custom/not) marker with your wanted color.
Title: Re: can i colour the map in my server
Post by: Spice on Aug 01, 2015, 12:19 PM
hmm any other idea?
Title: Re: can i colour the map in my server
Post by: KAKAN on Aug 01, 2015, 12:30 PM
Quote from: sseebbyy on Aug 01, 2015, 12:15 PMYou cannot change radar's textures.
All you can do is spawn there a (custom/not) marker with your wanted color.
He already told the only IDEA.

Quote from: Spice on Aug 01, 2015, 12:19 PMhmm any other idea?
Now what u mean by saying this?
Title: Re: can i colour the map in my server
Post by: aXXo on Aug 01, 2015, 12:54 PM
You can create a map of VC as a sprite that would show up on pressing 'M'.
Create more sprites with different colors and set their Alpha lower(for semi transparency)

On pressing M, Show the sprites to the player. You'll need to carefully place the color sprite with relative positioning to make it work.
Title: Re: can i colour the map in my server
Post by: Spice on Aug 02, 2015, 08:50 AM
will it lag server or not
and can u tell me which thing create lag in server?
Title: Re: can i colour the map in my server
Post by: KAKAN on Aug 02, 2015, 08:52 AM
Using 1000 of timers will lag ur server
Title: Re: can i colour the map in my server
Post by: DizzasTeR on Aug 02, 2015, 09:24 AM
Quote from: KAKAN on Aug 02, 2015, 08:52 AMUsing 1000 of timers will lag ur server

Nope. Creating 1000 timers that do very little tasks won't lag your server but running 1 timer every 20 minutes which runs a sqlite query will lag your server, Timers aren't bad unless they are used badly.
Title: Re: can i colour the map in my server
Post by: KAKAN on Aug 02, 2015, 09:45 AM
Hmm, I was thinking that more timers will cause our server lag, anyways Thanks
Title: Re: can i colour the map in my server
Post by: Spice on Aug 02, 2015, 10:12 AM
thankx to for help