Page 1 of 1
Turrets like in -BOC - [Solved]
Posted: Thu May 14, 2015 8:18 am
by sharp
I've seen a Spaceman called Battle over Coruscant. It's a really great map and one of my favorite changes to it are the turrets.
They're shooting big blue lasers with the maximum of speed. I also want to implement this into my SPacemaps to enhance the feeling of the battle. How do I change my turrets to something in this way ?
Re: Turrets like in -BOC -
Posted: Thu May 14, 2015 9:47 am
by hunpeter12
Add/change these lines under properties in the turret's ordnance. (called "something_weap_something_ord.odf"):
Code: Select all
LaserTexture = "com_sfx_laser_blue" // the texture of the laser will be blue
LaserGlowColor = "249 42 42 100" //change this RGBA code to something bluish like "0 0 255 100"
//the following 2 lines determine the size of the laser, change these to suit your needs:
LaserLength = "6"
LaserWidth = "0.35"
Velocity = "300" //the speed of the laser (in m/s I think), if you want it to go faster, change this line.
If you want the turret to fire faster add/change this line in your "something_weap_something.odf":
Code: Select all
ShotDelay = "0.22" //this determines the time between 2 shots
You can toy around with other values as well, in both the main weapon and the ordnance odfs. Most of them are pretty easy to understand and work with. I recommend
this list of odf parameters.
Re: Turrets like in -BOC -
Posted: Thu May 14, 2015 10:03 am
by sharp
Thank you very much, I'm going to test it out soon
