Ord have infinate life

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
OGEB1103

Ord have infinate life

Post 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!
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

RE: Ord have infinate life

Post 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
OGEB1103

RE: Ord have infinate life

Post 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.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post 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:
OGEB1103

Post 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.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post by -_- »

Ohh you meant that :| Sort of like Leia's "sporting blaster" I presume?
OGEB1103

Post 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.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post 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".
OGEB1103

Post by OGEB1103 »

Hmmm...ok thanks for trying.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
OGEB1103

Post by OGEB1103 »

Ok i'll see if i can get some pics to show you as well.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post 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.
OGEB1103

Post by OGEB1103 »

Not a bad idea. That might be a last resort method. Thanks
Post Reply