Tue Mar 11, 2003 4:26 am by SuPaFrEaK
Hey guys! Great news/info!
I know how to make a beam weapon! You need to realize that I have been working with the Jusitce Mk. 1 (which isnt a true laser like the Drail) just because they are easy and cheap to aqquire (you start with two of them!).
I was messing around in beam_effects.ini and I changed the Justice to *look* like a true laser. Then I made the core_width and head_width smaller to make it a bit thinner, then changed the tip_length to something like 3000. what this does is make the actual projectile of the Justice LOOK like a beam! NEAT!
In beam_effects.ini located in \Data\FX\, find Li_laser_01_beam and change the following to what is shown here:
[BeamSpear
nickname = Li_laser_01_beam
tip_length = 3000
tail_length = 0
head_width = 1
core_width = 1
tip_color = 0, 0, 0
core_color = 50, 50, 255
outter_color = 200, 200, 255
tail_color = 55, 55, 155
head_brightness = 1
trail_brightness = 1
head_texture = ball
trail_texture = thin
flash_size = 2
Anyway, this is where my problems started to occur. First, when it looks like this and you fire, you see a LONG A$$ beam fire into the distance, but it still travels at the speed of a regular projectile (750 m/s for the Justice), so it doesnt look like it stays "connected" to the ship. So i tried changing the projectile speed to 0 in weapon_equip.ini, but the result was a laser that didnt fire (or at least it appeared not to fire). So I got the idea to change it to 1. The result was interesting: A beam that looked like it was connected to the ship but because of certain factors (projectile speed determins how far it will travel before "meeting" ) , the lasers all crossed paths RIGHT in front of the ship and so the beams took off in all directions.
I have a theory as to how to get it to work. It would involve editing the animation sequence of the laser so that there is a begining, but no end - so that it looks as if it stays connected to the ship during the duration of the animation, but then ends when the beam disappears after the "distance" of the actual projectile has been reached (like is does by default). I dont know if this is possible, but its how we can get a true beam to work on player ships. If anyone finds an easier way to do this, please email me.
Also, you must realize that, although this procedure may make the weapon look like a beam weapon, it will not "act" like a beam weapon. What I mean is that there is still only ONE projectile, so there is sill only ONE hit effect. A true beam is constatly damaging its target for the duration of the contact. I dont know if this is possible with what we can do now. Also, changing the refire rate makes this look really stupid, so dont suggest that as an idea to make it "seem" like there is a constant damage effect.
It seems like everyday now I learn something new, lol.
Edited by - SuPaFrEaK on 11-03-2003 04:49:53