EnergyDrainRate?

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
archer01

EnergyDrainRate?

Post by archer01 »

This has been bugging me for a while now, but does anyone know what the property "EnergyDrainRate" do? The only place I remember seeing it used is in Force Choke:

EnergyDrain = "40.0"
EnergyDrainRate = "15.0"

So what does it do that "EnergyDrain" doesn't?

*Edit:
Nevermind. I did some checking and it seems that "EnergyDrain" does infact work differently depending on the fire-type of the weapon in question. When it is single trigger it is an intial drain, but if it is mutli-trigger it works like a drain rate. At least that's how it seems by looking at the scripts.

Wow do I feel dumb... :oops:
Last edited by archer01 on Sun Jul 09, 2006 10:34 pm, edited 2 times in total.
Fiminopter
Sergeant Major
Sergeant Major
Posts: 221
Joined: Sat Apr 29, 2006 11:20 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Fiminopter »

EnergyDrain is the cost of energy required to do a certain thing.
EnergyDrainRate is the cost of energy per second.
archer01

Post by archer01 »

That makes sense. So the better question would be: what does "InitialEnergyDrain" do that "EnergyDrain" doesn't...? Where IntialEnergyDrain is used, EnergyDrain seems to do what EnergyDrainRate does... It's kinda strange.
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 »

try them out as well and tell me! :P
Post Reply