Posted: Sun May 30, 2010 9:35 am Post subject:
How to make rapid fire laser shots in TS which look good?
I'm currently trying to make a mod where a lot of units have some kind of star wars-like rapid fire laser/energy weapons.
I tried making them with normal projectiles, but it looked weird, making the TS-laser noncontinuous (like the gatlinggun shots in cnc generals) is probably impossible and ... so I'm wondering if here is someone who knows how to make good looking rapid fire lasers. QUICK_EDIT
I think the length of the laser is determined by the weapons Range, though not certain. And to get a rapid fire look maybe adjust the ROF= or the LaserDuration =?
I believe LKO knows alot about lasers, maybe he can help. QUICK_EDIT
I know there's an ra2 tutorial on how to get gunfire to look like it is in Generals, which, if you recolor is exactly what you want. _________________ Please, read the signature rules of the forum. QUICK_EDIT
@DavyCrockett
Since you want Star Wars-like laser, the usage of a projectile is the right way to go. And yes, you can't make the special engine-rendered Laser noncontinuous.
Thus you have to create a new projectile shp like the original missiles (e.g dragon.shp). Though this time instead of showing a small white line, let it look like a colored short laser beam.
An example how this could look like you can find on tibweb where i've created a special projectile shp for the banshee proton cannon.
The same way you would have to create a laser line for all 32 directions.
However there are some things you can't do with this technique:
-The laser has to be opaque. You can't have it transparent nor with a transparent outline like the continuous engine rendered laser.
-You can't make it as a non-homing, straight flying projectile. You have to use the ROT=1 logic so the projectile flies in a straight line (instead of an arc like cannons), but due to ROT=1 it is seen as a missile which will try to follow the target. Though if you set the projectile speed high enough you shouldn't notice it that much.
-for each different looking laserbullet you have to create a new SHP as you can't change the color with an ini key like on the engine rendered laser. _________________ SHP Artist of Twisted Insurrection: Nod buildings
^^As i said, you have to create a new SHP. How you create this new SHP is a different thing.
@DavyCrockett
You could also try a voxel projectile. If you use the remap color on this one you can later use in rules.ini the key Color= on the projectile to change it to one of the many preset colors.
Though i doubt that a voxel laser would look good ingame. _________________ SHP Artist of Twisted Insurrection: Nod buildings
^^As i said, you have to create a new SHP. How you create this new SHP is a different thing.
@DavyCrockett
You could also try a voxel projectile. If you use the remap color on this one you can later use in rules.ini the key Color= on the projectile to change it to one of the many preset colors.
Though i doubt that a voxel laser would look good ingame.
thx. I'll try that (with the php stuff). QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum