wepon help

Started by (DW)skelltor, January 08, 2010, 01:18:12 PM

Previous topic - Next topic
i am not quite sure how to make it do what i want it to
do i want it to look like a torpedo lancher and it dose
but the units holding it by the but of it and the barrols pointing straght down and i want it to fire det packs that move quit fast and have no gravity but right now they just slowly drop and flote down here are the odfs

rail det

Hidden/Spoiler:
[WeaponClass]

ClassParent = "com_weap_inf_detpack"
GeometryName = "com_weap_inf_torpedo.msh"

[Properties]
GeometryName = "com_weap_inf_torpedo"
HighResGeometry = "com_1st_weap_inf_torpedo"
HUDTag = "hud_vehicle_torpedo"
OrdnanceName = "imp_weap_inf_raildetonator_ord"


RoundsPerClip = "1"
ShotDelay = "0.1"
ReloadTime = "0.1"
InitialSalvoDelay = "0.25"

TriggerAll = "1"

AnimationBank = "rifle"

OffhandWeapon = 1
TrackingSound = ""

MaxItems = "1"

RefillFromItem = "0"

AutoAimSize = "1.0"

MaxPressedTime = "0.5"
MinStrength = "0.2"
MaxStrength = "1.0"

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

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

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

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"

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

FireSound = "imp_weap_inf_rocket_launcher_fire"
FireEmptySound = "com_weap_inf_ammo_empty"
FireLoopSound = ""
ReloadSound = "com_weap_inf_reload_lg"
ChargeSound = "imp_weap_inf_rocket_launcher_tracking"
ChangeModeSound = "com_weap_inf_equip_lg"
WeaponChangeSound = "com_weap_inf_equip_lg"
JumpSound = "com_weap_inf_bazooka_mvt_jump"
LandSound = "com_weap_inf_bazooka_mvt_land"
RollSound = "com_weap_inf_bazooka_mvt_roll"
//ProneSound = "com_weap_inf_bazooka_mvt_lie"
SquatSound = "com_weap_inf_bazooka_mvt_squat"
//StandSound = "com_weap_inf_bazooka_mvt_getup"


rail det ord
Hidden/Spoiler:
[WeaponClass]

[GameObjectClass]
ClassParent = "com_weap_inf_detpack_ord"
GeometryName = "com_weap_inf_detpack.msh"

[Properties]
TrailEffect = "com_sfx_mineblink_red"
LightColor = "250 50 50 150"
LightRadius = "3.0"

GeometryName = "com_weap_inf_detpack"

LifeSpan = "60.0"
NoLifeSpanDisplay = "1"

Velocity = "2000.0"
Gravity = "0.2"
Rebound = "0.0
Friction = "0.0

MaxHealth = "200"

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

CollisionSound = "com_sticky_stick"

ExplosionTrigger = "imp_weap_inf_raildetonator_exp"
ExplosionExpire = "imp_weap_inf_detpack_destroyed_exp"
ExplosionDeath = "imp_weap_inf_detpack_destroyed_exp"


det pack (parent odf)


Hidden/Spoiler:
[WeaponClass]
ClassLabel = "detonator"

[Properties]
HUDTag = "com_weap_inf_detpack"

RoundsPerClip = "1"
ShotDelay = "0.5"
ReloadTime = "3.0"
InitialSalvoDelay = "0.25"

TriggerAll = "1"

//AnimationBank = "grenade"

OffhandWeapon = 1
TrackingSound = ""

MaxItems = "1.0"

RefillFromItem = "0"

AutoAimSize = "1.0"

MaxPressedTime = "0.5"
MinStrength = "0.2"
MaxStrength = "1.0"

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

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


det pack ord (parent ord)

Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "mine"
GeometryName = "com_weap_inf_detpack.msh"

[Properties]
TrailEffect = "com_sfx_mineblink_red"
LightColor = "250 50 50 150"
LightRadius = "3.0"

GeometryName = "com_weap_inf_detpack"

LifeSpan = "60.0"
NoLifeSpanDisplay = "1"

Velocity = "0.0"
Gravity = "1.0"
Rebound = "0.0
Friction = "1.0

MaxHealth = "20"

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

CollisionSound = "com_sticky_stick"


any help woulde be awesome if u need the exp or the unit odfs let me know please


thanks skelltor

Not sure if it's possible, but one thing I see, the ordinance velocity is set at zero ---> Velocity = "0.0"
Try changing it to 40 or 50, or something like that.
Worth a try.

Quick question skelltor, where did you get the odf files from?

lol make the gravety that you fly :D

"Better not be at all than not be noble" - Lord Alfred Tennyson
https://www.facebook.com/SWBFGamers
https://twitter.com/swbfuniverse

i made copyed them from the det pack odfs and i had the ordinance velocity up a lot highter but it dident chang so i put it back down i got it to work but he is still holding the torpedo lancher by the but/stock any ideas??

change AnimationBank="rifle" to AnimationBank="bazooka"


(•̪●)=ε/̵͇̿̿/'̿'̿ ̿ ̿̿ ̿ ̿"" (-_-*)