Page 1 of 1

Hex Editing Cooldown on Force Powers

Posted: Fri Aug 28, 2015 11:49 pm
by RyzaJr
As the title says. Can it be done?

I've tried messing with shotdelay, salvodelay, etc. and I can't really get a nice working cooldown for force push and such.

Any help would be appreciated.

Re: Hex Editing Cooldown on Force Powers

Posted: Sat Aug 29, 2015 3:47 pm
by [RDH]Zerted
Anything can be done through hex editing. Why don't you make the changes through a side mod or custom user script?

Re: Hex Editing Cooldown on Force Powers

Posted: Sat Aug 29, 2015 4:40 pm
by RyzaJr
[RDH]Zerted wrote:Anything can be done through hex editing. Why don't you make the changes through a side mod or custom user script?
'Cause I don't want the players to have to download anything.

So, do how does one change the cooldown on force powers? Which parameter needs adjusting?

Re: Hex Editing Cooldown on Force Powers

Posted: Sat Aug 29, 2015 10:57 pm
by [RDH]Zerted
If you were doing a mod you'd directly change an ODF parameter. A custom user script would use SetClassProperty to do so. My area of expertise is scripting, so I can't tell you which ODF parameter you'd need to change. Look at the ODF files for those 'weapons'.

Re: Hex Editing Cooldown on Force Powers

Posted: Sun Aug 30, 2015 2:24 am
by RyzaJr
Alright, well. Anyone experienced with the ODFs know which parameter I'd have to change? Here is the one I think needs to be looked at. It's com_weap_inf_force_push.odf
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "cannon"

[Properties]
HUDTag = "hud_force_push"
GeometryName = ""
HighResGeometry = ""

RoundsPerClip = "0"
ReloadTime = "0.3"
HeatRecoverRate = "0.2"
HeatThreshold = "0.0"

OrdnanceName = "com_weap_inf_force_push_ord"

TriggerSingle = "1"
ShotDelay = "0.5"
HeatPerShot = "0.0"
MaxPressedTime = "0.0"

LockOnRange = "64.0"
LockTime = "0.0"
AutoAimSize = "2.0"

SalvoCount = "1"
ShotsPerSalvo = "1"
SalvoDelay = "0.0"
SalvoTime = "0.0"
InitialSalvoDelay = "0.5" // must have one or no animation - Mike Z

EnergyDrain = 50.0
InstantPlayFireAnim = 1
OffhandWeapon = 1

TargetEnemy = "1"
TargetNeutral = "1"
TargetFriendly = "1"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"

AITargetPerson = "0"
AITargetAnimal = "0"
AITargetDroid = "0"
AITargetVehicle = "0"
AITargetBuilding = "0"

//SOUND
FireSound = "force_push_fire"
//ReloadSound = ""
WeaponChangeSound = ""
ChangeModeSound = ""
FireEmptySound = ""
ChargeSound = ""
ChargeSoundPitch = "0.05"
OverheatSound = ""
OverheatSoundPitch = "0.5"
OverheatStopSound = ""