Gungan Problem *SOLVED*
Posted: Thu Jul 19, 2007 11:33 am
Well,
It's a very easy question but:
How do i create a Sniper with the Model of a Gungan?
I copied all gungan files in my rep side folder and added him to rep.req
I created a new ODF which looks like this:
I added the gungan to the lua too
But the unit doesnt appears ingame...
Is something wrong with the ODF?
Or do i have to add something else to the lua?
- Pinguin
ps.: sorry if my english isn't easy to understand
It's a very easy question but:
How do i create a Sniper with the Model of a Gungan?
I copied all gungan files in my rep side folder and added him to rep.req
I created a new ODF which looks like this:
Code: Select all
[GameObjectClass]
ClassParent = "com_inf_default"
GeometryName = "nab_inf_gungan.msh"
[Properties]
UnitType = "Scout"
GeometryName = "nab_inf_gungan"
GeometryLowRes = "nab_inf_gungan_low1"
SkeletonName = "gungan"
SkeletonRootScale = "1.1"
OverrideTexture = "gungan03"
NumTentacles = "2"
BonesPerTentacle = "3"
TentacleCollType = "0"
//this keeps the player from entering first person with this char
forcemode = 1
MaxHealth = 300.0
MaxSpeed = 8.0 // base forward speed
MaxStrafeSpeed = 6.0 // base right/left speed
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_sniper_rifle"
WeaponAmmo = 7
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 2
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1
WEAPONSECTION = 4
WeaponName = "rep_weap_inf_autoturret_dispenser"
WeaponAmmo = 1
WeaponChannel = 1
WEAPONSECTION = 5
WeaponName = "rep_weap_award_sniper_rifle"
WeaponAmmo = 6
WEAPONSECTION = 6
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6
CAMERASECTION = "STAND"
EyePointOffset = "0.0 2.0 0.0"
TrackOffset = "0.0 -0.0 3.75"
TiltValue = "7"
CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 2.0 0.0"
TrackOffset = "0.0 -0.0 3.75"
TiltValue = "7"
CAMERASECTION = "SPRINT"
EyePointOffset = "0.0 2.0 0.0"
TrackOffset = "0.0 -0.0 5.0"
TiltValue = "7"
CameraBlendTime = "0.75"
VOUnitType = 171
HurtSound = "gungan_hurt"
DeathSound = "gungan_die"
ShockFadeOutTime = ""
ShockFadeOutGain = ""
ShockFadeInTime = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = ""
LowHealthThreshold = "1.1"
VOSound = "gungan_inf_chatter_AcquiredTarget AcquiredTarget"
FoleyFXClass = "wok_inf_soldier"
AISizeType = "SOLDIER"
But the unit doesnt appears ingame...
Is something wrong with the ODF?
Or do i have to add something else to the lua?
- Pinguin
ps.: sorry if my english isn't easy to understand