Posted: Sun Aug 10, 2008 9:41 pm Post subject:
Laser colours
How on earth do you change the colour of a laser weapon? All I seem to be able to get is sometimes a green or turquoise inner laser and a red outer laser, I don't seem to be able to control that at all. What is the logic behind:
IsRailgun=true
AttachedParticleSystem=(LaserParticleSystem)
AmbientDamage=0 <--- cause you want the railgun to act as a laser
Make a particle system like this.
[LaserParticleSystem]
HoldsWhat=SmallRailgunPart
BehavesLike=Railgun
SpiralRadius=6 { You might not want these (the
ParticlesPerCoord=.1 { spirally effects in the railgun)
SpiralDeltaPerCoord=.035 {
MovementPerturbationCoefficient=.3
PositionPerturbationCoefficient=20
VelocityPerturbationCoefficient=.6
Laser=yes
LaserColor=255,128,0 <--- Adjust colour to your liking (R,G,B) i think it is
Sorry for not making myself clear a second time. QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Tue Aug 12, 2008 5:08 pm Post subject:
There are 2 options:
1. you are working with an unpatched game, which may include the correct codes
2. you have hacked the game to let those tags work
There are multiple researches which all say the same: the outer part of lasers is red, always. QUICK_EDIT
Got that tag there LKO, it still doesn't do burst fire, or at least not properly, it switches sides like it is supposed to but the ROF is very slow, possibly the same as the ROF for the normal weapon. _________________
i use this for small laser with a very rapid burst and they work.
check if you don't have BurstDelay on your weapon. _________________ SHP Artist of Twisted Insurrection: Nod buildings
This works just as Lin Kuei described a perfectly working rapid firing laser.
[LaserFire3]
Damage=10
AmbientDamage=0
ROF=10
Range=6
Projectile=Invisible
Speed=100
Warhead=LaserShot
Anim=GUNFIRE
IsRailgun=true
AttachedParticleSystem=RapidLaserSys
Report=LASTUR3 ; don't directly copy this one as this is a sound i added myself
There are 2 options:
1. you are working with an unpatched game, which may include the correct codes
2. you have hacked the game to let those tags work
There are multiple researches which all say the same: the outer part of lasers is red, always.
There must be a third option, because:
1. I'm working with FS, v.2.03.
2. Actually, hacking the game would be quite complicated for me, I'm just learning some C, C++ and don't know much about hacking exe's. QUICK_EDIT
all i can see here is the centre line.
Let me guess, you have detaillevel set to low so the red glowing beam isn't shown.
Or you set LaserDuration very high so the inner line is shown longer than the red beam. _________________ SHP Artist of Twisted Insurrection: Nod buildings
LKO, I'm wondering if the Blue line is tied to the AALLine projectile??
no, definitely not. the projectile is just an invisible dummy for laser.
\EDIT
i checked now my code, tested it also ingame and have to admit that isn't that fast as i described/remembered it.
It fires definitely slower than a normal burst. But still much faster than the normal MMKII railgun.
I also tried several values, but couldn't find a super fast railgun.
\EDIT
tested now ROF=1 and got a super fast railgun how i've wanted it
it seems that the ROF key also defines the Burstdelay for railguns.
And BurstDelay doesn't seems to work on railguns.
So finally all you can do is divide the ROF by the number of bursts and set Burst=2 so the weapon switches between left/right.
A higher Burst wouldn't change anything.
e.g. the following both would have the same firepower, though they would fire ingame a bit different
[norailgun]
ROF=100
Burst=5
[withrailgun]
ROF=20
Burst=2
IsRailgun=yes
AttachedParticleSystem=FastRailgunSys _________________ SHP Artist of Twisted Insurrection: Nod buildings
Let me guess, you have detaillevel set to low so the red glowing beam isn't shown.
Or you set LaserDuration very high so the inner line is shown longer than the red beam.
Ah yes, LKO got it. Detail level was set to medium. But even when I'm playing with high details, the red outer line is barely visible. I can say that when you do not look very closely, you can't even see it.
LaserDuration is set to 18, I posted the weapon code some posts above. But it makes no difference, at medium detail level the red outer line doesn't appear.
€: By the way, IMO lasers with outer line look much to fat for a laser. Like car headlights or something 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