Page 1 of 1

Orbital strike odf questions [Solved]

Posted: Fri Mar 03, 2017 7:56 pm
by Oceans14
I'm attempting to make an orbital strike that works like a grenade/grenade launcher. You fire it, it lands or sticks to something, and then calls in the strike. I have all the odfs but I can't quite figure out which one should call the others, plus I don't know which class labels to use... I'm going off of the ones from Eggman's orbital strike beacon (the red controllable aimer one).

I'm pretty sure I've seen this done somewhere, Last Days maybe...? If anyone can help me sort this out that would be excellent, thanks!

Re: Orbital strike odf questions

Posted: Fri Mar 03, 2017 9:00 pm
by Deviss
Oceans14 wrote:I'm attempting to make an orbital strike that works like a grenade/grenade launcher. You fire it, it lands or sticks to something, and then calls in the strike. I have all the odfs but I can't quite figure out which one should call the others, plus I don't know which class labels to use... I'm going off of the ones from Eggman's orbital strike beacon (the red controllable aimer one).

I'm pretty sure I've seen this done somewhere, Last Days maybe...? If anyone can help me sort this out that would be excellent, thanks!
i have one working on my mod, i hope it can help you :)
weapon odf:wpn_weap_inf_Orbital_Strike_Beacon
Hidden/Spoiler:
[code][WeaponClass]
ClassLabel = "launcher"
GeometryName = "wpn_weap_Binoculars.msh"

[Properties]
GeometryName = "wpn_weap_Binoculars"
HighResGeometry = "wpn_weap_Binoculars"

HUDTag = "wpn_weap_Binoculars"

ScoreForMedalsType = 3

AnimationBank = "tool"
OrdnanceName = "wpn_weap_inf_Orbital_Strike_Beacon_ord"


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

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

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

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

MinRange = "12"
OptimalRange = "18"
MaxRange = "24"

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

ZoomMin = "2.0"
ZoomMax = "2.0"
ZoomRate = "0.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 *********
//***********************************************

EnergyDrain = 50.0

RoundsPerClip = "1"
ReloadTime = "0.0"
ShotDelay = "45.0"
//ShotElevate = "0.25"
MaxPressedTime = "0.0"


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

ChargeRateLight = "1.0"
MaxChargeStrengthLight = "1.0"
ChargeDelayLight = "0.0"
ChargeRateHeavy = "1.0"
MaxChargeStrengthHeavy = "0.25"
ChargeDelayHeavy = "1.45"

RecoilLengthLight = "0.1"
RecoilLengthHeavy = "0.1"
RecoilStrengthLight = "0"
RecoilStrengthHeavy = "0"


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

FireLoopSound = ""
ReloadSound = "com_weap_inf_equip_sm"
ChargeSound = ""
ChargeSoundPitch = ""
ChangeModeSound = "com_weap_inf_equip_sm"
WeaponChangeSound = "com_weap_inf_equip_sm"
JumpSound = "com_weap_inf_pistol_mvt_jump"
LandSound = "com_weap_inf_pistol_mvt_land"
RollSound = "com_weap_inf_pistol_mvt_roll"
SquatSound = "com_weap_inf_pistol_mvt_squat"
[/code]
wpn_weap_inf_Orbital_Strike_Beacon_ord.odf
Hidden/Spoiler:
[code][OrdnanceClass]
ClassLabel = "beacon"

[Properties]

GeometryName = "com_weap_inf_grenadethermal_ord"

LightColor = "67 67 200 150"
LightRadius = "4.0"

TrailEffect = "com_sfx_weap_orbital_attack"

LifeSpan = "0.6"
Velocity = "20.0"
Gravity = "0.0"
Rebound = "0.0"
Friction = "0.0"

StickPerson = 1
StickAnimal = 1
StickDroid = 1
StickVehicle = 1
StickBuilding = 1
StickBuildingDead = 1
StickBuildingUnbuilt= 1
StickTerrain = 1

SalvoCount = "8"
SalvoDelay = "0.4"

ScatterDistance = "25.0"

OrdnanceName = "wpn_weap_inf_Orbital_Strike_Beacon_Salvo_ord"

CollisionOtherSound = ""
CollisionWaterSound = ""
CollisionFoliageSound = ""[/code]
the laser fire bolt impact wpn_weap_inf_Orbital_Strike_Beacon_Salvo_ord.odf
Hidden/Spoiler:
[code][OrdnanceClass]
ClassLabel = "bolt"

[Properties]
ExplosionName = "wpn_weap_inf_Orbital_Strike_Beacon_Salvo_exp"
LaserTexture = "Laser_Blue_BF1"
LaserLength = "15.0"
LaserWidth = "0.75"
LaserGlowColor = "10 30 255 100"
LightColor = "5 30 255 100"
LightRadius = 10

LifeSpan = "20.0"
Velocity = "300.0"
Gravity = "0.0"
Rebound = "0.0"

MaxDamage = "2000.0"

VehicleScale = "1.0"
PersonScale = "3.0"
DroidScale = "3.0"
BuildingScale = "1.0"
AnimalScale = "3.0"

OrdnanceSound = "com_weap_inf_ord_hum_lg"
CollisionSound = "imp_weap_ord_exp_lg"

[/code]
wpn_weap_inf_Orbital_Strike_Beacon_Salvo_exp.odf
Hidden/Spoiler:
[code][ExplosionClass]
ClassLabel = "explosion"

[Properties]
WaterEffect = "com_sfx_watersplash_lg"

Damage = "2000.0"
DamageRadiusInner = "17.5"
DamageRadiusOuter = "17.5"

Push = "50.0"
PushRadiusInner = "20.5"
PushRadiusOuter = "20.5"
PushDeadOnly = "0"

Shake = "5.0"
ShakeLength = "2.0"
ShakeRadiusInner = "10.0"
ShakeRadiusOuter = "30.0"
Effect = "com_sfx_explosion_xl"

LightColor = "52 86 250 100"
LightRadius = "10.0"
LightDuration = "1.0"

SoundProperty = "com_weap_obj_med_exp"

VehicleScale = "1.0"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.5"
AnimalScale = "1.0"
[/code]

Re: Orbital strike odf questions

Posted: Fri Mar 03, 2017 10:10 pm
by Oceans14
Yes Deviss, that is exactly what I was going for, right down to the binoculars! Thank you :D Is it okay if I use this setup and credit you? I don't want to rip off your idea or anything.

Re: Orbital strike odf questions

Posted: Fri Mar 03, 2017 10:40 pm
by Deviss
Oceans14 wrote:Yes Deviss, that is exactly what I was going for, right down to the binoculars! Thank you :D Is it okay if I use this setup and credit you? I don't want to rip off your idea or anything.
dont worry, you can use it :), i downloaded 2 orbital strike time ago, 1 from "hebes" and 1 from "X", but both crashed for me, so i did a mix with fusioncutter and grenade odf.

Re: Orbital strike odf questions

Posted: Sat Mar 04, 2017 12:07 am
by Oceans14
Cool, thanks again!