Is "Burst of speed" possible in SWBF1?

Started by Rayce, March 12, 2015, 10:05:23 AM

Previous topic - Next topic
In the Conversion Pack mod for SWBF2, one of the many new force powers introduced in it's KotOR sides is "Burst of Speed", which will cause the user to dash forward upon pressing. Upon examining the odf for it in the released source, it uses the "areaeffectweapon" classlabel, which I think is used for buffs and therefore can't be used in BF1. Which brings me to the question: Is the basic idea behind this power still possible in BF1?

If you could post the .odf, I would like to see how they do it.  It's probably something special under "Areaeffectweapon" but maybe seeing the .odf will help with brainstorming.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

[WeaponClass]

ClassLabel          = "areaeffectweapon"

[Properties]
//HUDTag              = "hud_force_choke"
GeometryName        = ""
HighResGeometry     = ""

//MuzzleFlash       = "med_muzzle_flash"
FlashColor          = "80 80 255 255"
FlashLength         = 0.025
FlashLightColor     = "220 220 255 175"
Discharge           = "med_smoke_effect"

//RoundsPerClip     = "32"
RoundsPerClip       = "0"
ReloadTime          = "0.0"

HeatPerShot         = "0.5"     // only allow player to fire every 5 seconds
HeatRecoverRate     = "0.033"
HeatThreshold       = "0.6"

DisplayRefire = "0"

EnergyDrain         = "5.0"
EnergyDrainRate     = "0.1"
FireType            = "Hold"
InitialSalvoDelay   = "0.5"
//ChargeMaxTime     = "0.0"
//ChargeMinStrength = "0.0"
MaxTargets          = "1"
AreaType            = "Ray"
AreaRange           = "1.0"
AreaRadius          = "1.0"     // -> 20 degree arc
AreaHeight          = "4.0"
EffectDamage        = "0.0"
EffectType          = "Choke"
EffectStrength      = "0.0"
EffectFalloff       = "1.0"
ThrustFactor        = "8.0"     // when firing, move at half speed
// I don't think this is used in the code at all -> TargetLock          = "1"       // when firing, activate target lock
SoldierAnimation    = "choking"

OffhandWeapon       = 1
InstantPlayFireAnim = 1
TriggerSingle       = "1" // if FireType = "Hold" this will work correctly now - Mike Z

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

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

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

ChargeRateLight             = "1.0"
MaxChargeStrengthLight      = "1.0"
ChargeDelayLight            = "0.0"
ChargeRateHeavy             = "1.0"
MaxChargeStrengthHeavy      = "0.5"
ChargeDelayHeavy            = "2.2"

RecoilLengthHeavy           = "0.25"
RecoilStrengthHeavy         = "2"
RecoilDecayHeavy            = "0.0"

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



There's very few things in that entire odf that would work in SWBF1. I'm afraid it's not possible. I guess you could rig up a weapon that instantly detonates a small explosive behind the player which would give them a burst of speed.  :P
=AaTc= Forever

SALLY....

-Retired Modder

And then attach a contrail to its butt...  ;)
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

You could also mod a jet ODF for lower propulsion arc that moves units forward as a sort of speed burst. The AI will use this too if you add SetAllowBlindJetJumps(1) to the mission LUA.

You could try tweaking these values and see how it works


JetJump = "1.0" //The initial jump-push given when enabling the jet
JetPush = "20.0" //The constant push given while the jet is enabled (20 is gravity)
JetEffect = "jetpack"
//JetType = "hover" // other JetType values to test?
JetFuelRechargeRate = "0.1" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.2" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.25" //initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.24" //minimum fuel to perform a jet jump(fuel is 0 to 1)


Most of the BF2 codes in that ODF will crash BF1 unfortunately. AreaType and EffectType look interesting though.