Page 1 of 1

Ord have infinate life

Posted: Sun Apr 16, 2006 6:45 am
by OGEB1103
Im trying to make a laser sight for a weap, but i don't know how to make it so it is always on like a proper laser sight rather than come on when the weap is fired and vanish a second later.
Somebodyhelp me please!

RE: Ord have infinate life

Posted: Sun Apr 16, 2006 6:56 am
by Penguin
i don't believe this is possible to do with an ord, but it might be possible to do with a SFX file, i'm not sure

RE: Ord have infinate life

Posted: Sun Apr 16, 2006 10:51 am
by OGEB1103
No, i think it is the ord, or else a line in the weapon odf to do with the ord. Anybody got any ideas.

Posted: Sun Apr 16, 2006 11:14 am
by -_-
-_- to the rescue! :twisted: ya, ignore that.
This is taken from the "com_weap_inf_rifle_ord"

LifeSpan = "0.80"
Instead of 0.80, change the values all you want and copy this line into your own weapon's ord. This will override the one loaded in the Common lvl. But I wouldnt recommend doing it, becuz the devs decide yo use this number for a reason. When too much lasers end up not dying off anywhere, it'll cause some major lag. Aw well, that's up to you :wink:

Posted: Sun Apr 16, 2006 11:24 am
by OGEB1103
Already tried that, but good try. The problem with this is, as you say the lasers don't die off, also a new one is created everytime you fire. What im looking for is a laser that is on before you fire and that you can't create new ones. Im sure there is a solution somewhere.

Posted: Sun Apr 16, 2006 11:26 am
by -_-
Ohh you meant that :| Sort of like Leia's "sporting blaster" I presume?

Posted: Sun Apr 16, 2006 11:31 am
by OGEB1103
Only thing with that is that the bolt is longer and lives a bit longer too. I want a bolt with infinate life, that is on to start with.

Posted: Sun Apr 16, 2006 11:35 am
by -_-
I'm not sure how to get that working, but I'll look more into it. :wink: I dont think it's possible to for one shot to hit before firing the other. Afterall, everything is timed in the odf's. You could always have a TriggerSingle = 1 and have a long resonable ShotDelay = "insert_long_number_here".

Posted: Sun Apr 16, 2006 11:38 am
by OGEB1103
Hmmm...ok thanks for trying.

Posted: Sun Apr 16, 2006 2:37 pm
by Qdin
did you even try it? :wink: if so, you SHOULD maybe tell us the different results you got from them? :o then we can see what gives the most right result.

Posted: Sun Apr 16, 2006 2:42 pm
by OGEB1103
Ok i'll see if i can get some pics to show you as well.

Posted: Sun Apr 16, 2006 3:38 pm
by [RDH]Zerted
The way I can think of doing it is by making it a secondary fire weapon. Your main weapon is the waepon you want to use, and the secondary weapon is a non-damaging laser. Hold down your secondary fire button when you want a laser, then fire your primary weapon when you want to score a hit. The laser would have to have infinate ammo, no recharge time, and continous fire.

Posted: Sun Apr 16, 2006 3:42 pm
by OGEB1103
Not a bad idea. That might be a last resort method. Thanks