SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: tirpider on March 07, 2013, 09:33:27 PM

Title: Why don't snipers use the orbital strike weapon?
Post by: tirpider on March 07, 2013, 09:33:27 PM
Why don't snipers use the orbital strike weapon?

Are they hard wired not to use it, or is it just not convienient for them?

It seems to me that if they could use it, AI snipers would own any battle field.
Title: Re: Why don't snipers use the orbital strike weapon?
Post by: Sereja on March 07, 2013, 09:46:33 PM
Any of AI unit, can use orbital strike weapon, if it is correct adjusted. Still, in my practice, it overload game memory (even when I reduce count of such unit to 2, and give this weapon to jedi), so, after few successfull orbital strike attack, the game is usualy crash. :(
Title: Re: Why don't snipers use the orbital strike weapon?
Post by: RepComm on March 08, 2013, 06:09:47 AM
Thats weird^^
I doubt it could be hardwired, if you just made a new ODF and called it through the soldier weapons, could you not by-pass that? If not, the problem is alot deeper.

I think I'm actually a little glad the bots can't use it O.o, we'd all be toast... :robots:
Title: Re: Why don't snipers use the orbital strike weapon?
Post by: Sereja on March 08, 2013, 06:29:19 AM
If you wish, you may check it by yourself. Here is my edited odf:
all_weap_inf_orbital_attack2.odf
[spoiler][WeaponClass]
ClassLabel = "launcher"

[Properties]
AnimationBank = "grenade"
GeometryName = "com_weap_inf_binoculars"
HighResGeometry         = ""

//***********************************************
//************* TARGET & RANGE VALUES  **********
//***********************************************

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

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

MinRange = "6"
OptimalRange = "75"
MaxRange = "150"

LockOnRange = "175.0"
LockOnAngle = "6.0"
LockOffAngle = "10.0"
LockTime = "1.0"

ZoomMin = "2.0"
ZoomMax = "8.0"
ZoomRate = "2.0"

PitchSpread = "0.0"
YawSpread = "0.0"

SpreadPerShot = "1.1"
SpreadRecoverRate = "4.8"
SpreadThreshold = "1.6"
SpreadLimit = "6.0"

StandStillSpread = "0.0"
StandMoveSpread = "0.0"
CrouchStillSpread = "0.0"
CrouchMoveSpread = "0.0"
ProneStillSpread = "0.0"
ProneMoveSpread = "0.0"

//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************

RoundsPerClip = "0"
ReloadTime = "4.0"
ShotDelay = "0.0"
TriggerSingle = "1"
MaxPressedTime = "4.0"

HeatPerShot = "1.01"
HeatRecoverRate = "0.05"
HeatThreshold = "0.01"

SalvoCount = "1"
SalvoDelay = "0.25"
InitialSalvoDelay = "0.25"
SalvoTime = "0.0"

OrdnanceName = "all_weap_inf_orbital_attack2_ord"
FirePointName = "hp_fire"

//***********************************************
//***********  HUD & CONTROLLER VALUES  *********
//***********************************************

IconTexture = "HUD_orbital_strike_icon"
ModeTexture = "HUD_weap_semiauto"
ReticuleTexture = "reticule_rocket"

ScopeTexture = "weapon_scope2"
MuzzleFlash = "small_muzzle_flash"
FlashColor = "255 198 62"
FlashLength = "0.075"
FlashLightColor = "255 198 62 175"

FlashLightRadius = "5.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"

ChargeRateLight         = "0.0"
MaxChargeStrengthLight  = "0.0"
ChargeDelayLight        = "0.0"
ChargeRateHeavy         = "0.0"
MaxChargeStrengthHeavy  = "0.0"
ChargeDelayHeavy        = "0.0"

RecoilLengthHeavy       = "1.5"
RecoilStrengthHeavy     = "1"
RecoilDecayHeavy        = "0.75"

//******************************************************
//*************** SOUND ****************
//******************************************************

FireSound           = "com_weap_throw_fire"
FireEmptySound      = "com_weap_inf_ammo_empty"
FireLoopSound       = ""
ReloadSound         = "all_weap_inf_reload_lg"
ChargeSound         = "all_weap_inf_tracking_unit"
ChargeSoundPitch    = "0.0"
ChangeModeSound = "all_weap_inf_equip_lg"
WeaponChangeSound = "all_weap_inf_equip_lg"
ClankLeftWalkSound  = ""
ClankRightWalkSound = ""
ClankLeftRunSound   = ""
ClankRightRunSound  = ""
JumpSound           = "all_weap_inf_torpedo_mvt_jump"
LandSound           = "all_weap_inf_torpedo_mvt_land"
RollSound           = "all_weap_inf_torpedo_mvt_roll"
ProneSound          = "all_weap_inf_torpedo_mvt_squat"
SquatSound          = "all_weap_inf_torpedo_mvt_lie"
StandSound          = "all_weap_inf_torpedo_mvt_getup"

[/spoiler]

all_weap_inf_orbital_attack2_ord.odf
[spoiler][OrdnanceClass]
ClassLabel = "beacon"

[Properties]
ImpactEffectWater = "watersplash_sm"

LightColor              = "123 132 249 150"
LightRadius             = "4.0"

GeometryName            = "com_weap_inf_grenadethermal_ord"
OrdnanceEffect      = "thermal_detonator"
//TrailEffect = "smoketrail_gold"

OrdnanceName        = "all_weap_inf_orbital_attack_salvo_ord"
LifeSpan        = "3.0"
Velocity        = "150.0"
Gravity         = "0.0"
Rebound         = "0.0"
Friction        = "1.0"

WaverRate = "0.5"
WaverTurn = "0.5"

Damage = "700"

VehicleScale = "1.08"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.25"
AnimalScale = "1.0"

AimAzimuth      = "0.0"
AimElevation        = "70.0"
AimDistance     = "600.0"

SalvoCount      = "3"
SalvoDelay      = "0.5"

ScatterDistance     = "15.0"

NEXTCHARGE          = "0.25"
LifeSpan        = "2.0"
Velocity        = "400.0"
Gravity         = "0.0"
Rebound         = "0.0"
Friction        = "1.0"

MaxDamage       = "0.0"

AimAzimuth      = "0.0"
AimElevation        = "70.0"
AimDistance     = "600.0"

//SalvoCount        = "6"
SalvoDelay      = "0.4"

ScatterDistance     = "10.0"

OrdnanceName        = "all_weap_inf_orbital_attack_salvo_ord"
NEXTCHARGE          = "0.5"
LifeSpan        = "2.0"
Velocity        = "400.0"
Gravity         = "0.0"
Rebound         = "0.0"
Friction        = "1.0"

MaxDamage       = "0.0"

AimAzimuth      = "0.0"
AimElevation        = "70.0"
AimDistance     = "600.0"

//SalvoCount        = "8"
SalvoDelay      = "0.3"

ScatterDistance     = "5.0"

OrdnanceName        = "all_weap_inf_orbital_attack_salvo_ord"
NEXTCHARGE          = "0.75"

LifeSpan        = "2.0"
Velocity        = "400.0"
Gravity         = "0.0"
Rebound         = "0.0"
Friction        = "1.0"

MaxDamage       = "0.0"

AimAzimuth      = "0.0"
AimElevation        = "70.0"
AimDistance     = "600.0"

//SalvoCount        = "9"
SalvoDelay      = "0.3"

ScatterDistance     = "2.5"

OrdnanceName        = "all_weap_inf_orbital_attack_salvo_ord"
NEXTCHARGE          = "1.0"
LifeSpan        = "2.0"
Velocity        = "400.0"
Gravity         = "0.0"
Rebound         = "0.0"
Friction        = "1.0"

MaxDamage       = "0.0"

AimAzimuth      = "0.0"
AimElevation        = "70.0"
AimDistance     = "600.0"

//SalvoCount        = "10"
SalvoDelay      = "0.2"

ScatterDistance     = "0.5"

OrdnanceName        = "all_weap_inf_orbital_attack_salvo_ord"

OrdnanceSound  = "com_weap_inf_ord_hum_lg"
CollisionSound = "imp_weap_ord_exp"

//OrdnanceSound = "com_weap_inf_ord_hum_rocket"


[/spoiler]

I guess everything else, maybe stock.
Title: Re: Why don't snipers use the orbital strike weapon?
Post by: tirpider on March 08, 2013, 09:54:02 AM
Cool.
Thanks for the example ODF's, Sereja.
I'm going to play with an idea....
EhPortal 1.34 © 2025, WebDev