Lightning and Precipitation Fixes
by Xavier "eXoDuS" Amado · 03/04/2002 (9:53 am) · 2 comments
Download Code File
Download the zip file and put the files on engine/game/fx ... make backups and overwrite your old ones.
What's new in this code?
--Precipitation
*Fixed texture rotation, uses random textures now.
--Lightning
*Reads textures from a dml file defined on the Lightning datablock using materialList = myfile.dml
*Fixed bugs on the position of the lightning textures
*Made the strikefadeTime and strikeLifeTime changeable from within the mission file, add strikeFadeTime = 1; and strikeLifeTiem = 3; to your Precipitation in your mission file. You can now change them from the in-game editor. Tho you need to reload for them to take effect.
Well that's all enjoy! :)
Any questions ask them here... and improved version of this should get on cvs soon.
Btw, thanks to the guys who helped a lot on the forums.
Download the zip file and put the files on engine/game/fx ... make backups and overwrite your old ones.
What's new in this code?
--Precipitation
*Fixed texture rotation, uses random textures now.
--Lightning
*Reads textures from a dml file defined on the Lightning datablock using materialList = myfile.dml
*Fixed bugs on the position of the lightning textures
*Made the strikefadeTime and strikeLifeTime changeable from within the mission file, add strikeFadeTime = 1; and strikeLifeTiem = 3; to your Precipitation in your mission file. You can now change them from the in-game editor. Tho you need to reload for them to take effect.
Well that's all enjoy! :)
Any questions ask them here... and improved version of this should get on cvs soon.
Btw, thanks to the guys who helped a lot on the forums.
Torque Owner F.W. Hardijzer