MTADM Colour: Lights, Disco Car etc

Everything else goes here :)
Bookmark and Share

MTADM Colour: Lights, Disco Car etc

Postby [DRuG]NikT on Sat Nov 21, 2009 1:30 pm

I just realized I haven't posted another mod I released before the webladder.. so here 'tis..

Released Sept. 24th at http://community.mtasa.com (resources central):


This is animated if you have a half decent browser.. if not.. face it.

http://community.mtasa.com/index.php?p=resources&s=details&id=459 wrote:Colour by [DRuG]NikT - http://forums.drugcrew.com

Based on Colorlights by eXo|SpeedY http://exoclan.gr00ve.de

Released with full permission from Speedy - thanks mate!
___________________________________________________________

Commands:

/colour 0-255 0-255 0-255 0-126 0-126 0-126 0-126

eg. For aqua headlights and a black car..
/colour 0 142 102 0 0 0 0

- the first 3 are the light's RGB, then the 4 GTA car colours
- only the first two are used by most cars
- blank fields become a random colour

/colour - Toggle random light and car colours
/drug - Purple Lights (102, 51, 255) black/pink/white/purple car
/disco - Lights randomly change colour on black/white car
/discocar - Lights and car colour change rapidly like KWOW.
___________________________________________________________

Background:
With full permission from Speedy, I have taken his colorlights v2.5 mod and added lots more code.

This new mod from it, called "colour", manages the "Timer" threads better - cleans them up as the player leaves.

The only time errors now appear in the console is when switching between race rounds and when a player is dead awaiting respawn.. I am sure there's some kind of check I will eventually find to remove these errors, too.. but at this stage, it's still cleaner than it was.

It works between rounds, re-checking the player vehicle and re-applying the lights after map changes. All toggles work on each other, so /drug can disable /colour etc.

I have added support for daytime lights, using the lightsoverride function, also added randomizing car colours, like the lights, using /discocar.

Enjoy!

[DRuG]NikT

http://forums.drugcrew.com


download now


"But my head's all messed up, so you better driive brother"
User avatar

[DRuG]NikT
[DRuG] cofounder & your host

Status:
Check out the downloads and members areas on drugcrew.com

[DRuG] cofounder & your host
[DRuG] coleader
[DRuG] member
DRuG server admin
[AGS] member
]DR[ member
 
Posts: 2532
Joined: Sat Jul 28, 2007 10:39 am
Location: Melbourne, Victoria, Australia


Return to Miscellaneous

Who is online

Users browsing this forum: No registered users and 2 guests

cron