Beam weapons - Increase ord lifespan [Solved]

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
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Beam weapons - Increase ord lifespan [Solved]

Post by Silas »

i'm currently trying to make a weapon that fires a single beam that lasts a few seconds (think sentinel beam for Halo 2/3). If i were to change the ordinance class of a rifle to "beam", how can i get it to last roughly five seconds?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: beam weapons

Post by FragMe! »

It is the LifeSpan setting which is currently set in the common file for most weapons like the award sniper rifle so you would just need to add this:

LifeSpan = "0.15" <-- change that number

To your _ord file that is being called by your weapon
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: beam weapons

Post by Silas »

i think i changed that already to a large number (i had it up to 800).

i might possibly have found my problem though. I'm currently munging to see if it worked.

lol. yeah, i fixed the problem alright...and let's just say that setting the lifespan of a weapon to 800 has an...interesting effect. I think this can be locked now
Post Reply