Page 1 of 1

Dual weapon won't show up

Posted: Fri Nov 12, 2010 11:48 am
by skelltor
so i am making a clone with dual carbines but the addon one won't show up and he doesn't use the new anim
unit odf
rep_inf_501st_capt
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_capt"

[Properties]
GeometryName = "rep_inf_501st_heavy"
GeometryLowRes = "rep_inf_501st_heavy"
FirstPerson = "REP\reptroop;rep_1st_trooper"
ClothODF = "rep_inf_501st_heavy_cape"

AnimationName = "dual"
AnimatedAddon = "left_gun"
GeometryAddon = "rep_weap_inf_dc15carbine" // the AddonAttachJoint = "hp_weapons_1"
parent odf
rep_inf_capt
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"

[Properties]
GeometryName = "rep_inf_trooper"
GeometryLowRes = "rep_inf_trooper"
FirstPerson = "REP\reptroop;rep_1st_trooper"

UnitType = "Trooper"
PointsToUnlock = 18

AnimationName = "dual"
AnimatedAddon = "left_gun"
GeometryAddon = "rep_weap_inf_dc15carbine"
AddonAttachJoint = "hp_weapons_1"

MaxHealth = 1400.0

RecoverFromTumble = "1"


WEAPONSECTION = 1
WeaponName = "rep_weap_DC-15_Blaster_Carbine2"
WeaponAmmo = 5

WEAPONSECTION = 2
WeaponName = "rep_weap_DC-15_Blaster_Carbine3"
WeaponAmmo = 5
WeaponShareAmmo = 1
WeaponShareHeat = 1

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_haywiredetonator"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "cis_weap_inf_crackgrenade"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "imp_weap_inf_orbital_attack2"
WeaponAmmo = 1
WeaponChannel = 1

WEAPONSECTION = 6
WeaponName = "all_weap_inf_buff_health"
WeaponAmmo = 2
WeaponChannel = 1

VOUnitType = 121
weapon odf
rep_weap_DC-15_Blaster_Carbine2
Hidden/Spoiler:
[WeaponClass]
ClassParent = "com_weap_inf_carbine"
GeometryName = "rep_weap_inf_dc15carbine.msh"

[Properties]
GeometryName = "rep_weap_inf_dc15carbine"
HighResGeometry = "rep_weap_inf_dc15carbine"
OrdnanceName = "rep_weap_inf_carbine_ord"
FirePointName = "hp_fire"

AnimationBank = "pistol"

ShotsPerSalvo = "2"
ShotPatternCount = "2"
ShotPatternPitchYaw = "0.0 -0.8"
ShotPatternPitchYaw = "0.0 0.8"

HeatPerShot = "0.052"
HeatRecoverRate = "0.4"
HeatThreshold = "0.25"
RoundsPerClip = "100"
ReloadTime = "3.5"

BarrageMin = "10"
BarrageMax = "24"
BarrageDelay = "0"

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

MuzzleFlash = "small_muzzle_flash"
FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashColor = "100 100 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"

FireSound = "cis_weap_inf_wrist_blaster_fire"
ReloadSound = "com_weap_inf_reload_med"
ChangeModeSound = "com_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
//ProneSound = "com_weap_inf_rifle_mvt_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"

Re: dual weapon won't show up

Posted: Fri Nov 12, 2010 12:00 pm
by Lephenix
skelltor wrote:so i am making a clone with dual carbines but the addon one won't show up and he doesn't use the new anim
unit odf
rep_inf_501st_capt
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_capt"

[Properties]
GeometryName = "rep_inf_501st_heavy"
GeometryLowRes = "rep_inf_501st_heavy"
FirstPerson = "REP\reptroop;rep_1st_trooper"
ClothODF = "rep_inf_501st_heavy_cape"

AnimationName = "dual"
AnimatedAddon = "left_gun"
GeometryAddon = "rep_weap_inf_dc15carbine" // the AddonAttachJoint = "hp_weapons_1"
parent odf
rep_inf_capt
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"

[Properties]
GeometryName = "rep_inf_trooper"
GeometryLowRes = "rep_inf_trooper"
FirstPerson = "REP\reptroop;rep_1st_trooper"

UnitType = "Trooper"
PointsToUnlock = 18

AnimationName = "dual"
AnimatedAddon = "left_gun"
GeometryAddon = "rep_weap_inf_dc15carbine"
AddonAttachJoint = "hp_weapons_1"

MaxHealth = 1400.0

RecoverFromTumble = "1"


WEAPONSECTION = 1
WeaponName = "rep_weap_DC-15_Blaster_Carbine2"
WeaponAmmo = 5

WEAPONSECTION = 2
WeaponName = "rep_weap_DC-15_Blaster_Carbine3"
WeaponAmmo = 5
WeaponShareAmmo = 1
WeaponShareHeat = 1

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_haywiredetonator"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "cis_weap_inf_crackgrenade"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "imp_weap_inf_orbital_attack2"
WeaponAmmo = 1
WeaponChannel = 1

WEAPONSECTION = 6
WeaponName = "all_weap_inf_buff_health"
WeaponAmmo = 2
WeaponChannel = 1

VOUnitType = 121
weapon odf
rep_weap_DC-15_Blaster_Carbine2
Hidden/Spoiler:
[WeaponClass]
ClassParent = "com_weap_inf_carbine"
GeometryName = "rep_weap_inf_dc15carbine.msh"

[Properties]
GeometryName = "rep_weap_inf_dc15carbine"
HighResGeometry = "rep_weap_inf_dc15carbine"
OrdnanceName = "rep_weap_inf_carbine_ord"
FirePointName = "hp_fire"

AnimationBank = "dual"

ShotsPerSalvo = "2"
ShotPatternCount = "2"
ShotPatternPitchYaw = "0.0 -0.8"
ShotPatternPitchYaw = "0.0 0.8"

HeatPerShot = "0.052"
HeatRecoverRate = "0.4"
HeatThreshold = "0.25"
RoundsPerClip = "100"
ReloadTime = "3.5"

BarrageMin = "10"
BarrageMax = "24"
BarrageDelay = "0"

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

MuzzleFlash = "small_muzzle_flash"
FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashColor = "100 100 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"

FireSound = "cis_weap_inf_wrist_blaster_fire"
ReloadSound = "com_weap_inf_reload_med"
ChangeModeSound = "com_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
//ProneSound = "com_weap_inf_rifle_mvt_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
Have you tryed with that ?

Re: dual weapon won't show up

Posted: Fri Nov 12, 2010 12:02 pm
by DarthD.U.C.K.
any errors in the log?
the odf looks alright, my suggestion would be to rename "animationname" to "skeletonname"

Re: dual weapon won't show up

Posted: Fri Nov 12, 2010 12:07 pm
by skelltor
Lephenix_dor wrote:
skelltor wrote:so i am making a clone with dual carbines but the addon one won't show up and he doesn't use the new anim
unit odf
rep_inf_501st_capt
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_capt"

[Properties]
GeometryName = "rep_inf_501st_heavy"
GeometryLowRes = "rep_inf_501st_heavy"
FirstPerson = "REP\reptroop;rep_1st_trooper"
ClothODF = "rep_inf_501st_heavy_cape"

AnimationName = "dual"
AnimatedAddon = "left_gun"
GeometryAddon = "rep_weap_inf_dc15carbine" // the AddonAttachJoint = "hp_weapons_1"
parent odf
rep_inf_capt
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"

[Properties]
GeometryName = "rep_inf_trooper"
GeometryLowRes = "rep_inf_trooper"
FirstPerson = "REP\reptroop;rep_1st_trooper"

UnitType = "Trooper"
PointsToUnlock = 18

AnimationName = "dual"
AnimatedAddon = "left_gun"
GeometryAddon = "rep_weap_inf_dc15carbine"
AddonAttachJoint = "hp_weapons_1"

MaxHealth = 1400.0

RecoverFromTumble = "1"


WEAPONSECTION = 1
WeaponName = "rep_weap_DC-15_Blaster_Carbine2"
WeaponAmmo = 5

WEAPONSECTION = 2
WeaponName = "rep_weap_DC-15_Blaster_Carbine3"
WeaponAmmo = 5
WeaponShareAmmo = 1
WeaponShareHeat = 1

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_haywiredetonator"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "cis_weap_inf_crackgrenade"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "imp_weap_inf_orbital_attack2"
WeaponAmmo = 1
WeaponChannel = 1

WEAPONSECTION = 6
WeaponName = "all_weap_inf_buff_health"
WeaponAmmo = 2
WeaponChannel = 1

VOUnitType = 121
weapon odf
rep_weap_DC-15_Blaster_Carbine2
Hidden/Spoiler:
[WeaponClass]
ClassParent = "com_weap_inf_carbine"
GeometryName = "rep_weap_inf_dc15carbine.msh"

[Properties]
GeometryName = "rep_weap_inf_dc15carbine"
HighResGeometry = "rep_weap_inf_dc15carbine"
OrdnanceName = "rep_weap_inf_carbine_ord"
FirePointName = "hp_fire"

AnimationBank = "dual"

ShotsPerSalvo = "2"
ShotPatternCount = "2"
ShotPatternPitchYaw = "0.0 -0.8"
ShotPatternPitchYaw = "0.0 0.8"

HeatPerShot = "0.052"
HeatRecoverRate = "0.4"
HeatThreshold = "0.25"
RoundsPerClip = "100"
ReloadTime = "3.5"

BarrageMin = "10"
BarrageMax = "24"
BarrageDelay = "0"

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

MuzzleFlash = "small_muzzle_flash"
FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashColor = "100 100 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"

FireSound = "cis_weap_inf_wrist_blaster_fire"
ReloadSound = "com_weap_inf_reload_med"
ChangeModeSound = "com_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
//ProneSound = "com_weap_inf_rifle_mvt_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
Have you tryed with that ?
that gave me a ctd

i will try that darth do i want the anim line to or just replace the anim line with the skelleton name?

Re: dual weapon won't show up

Posted: Fri Nov 12, 2010 12:13 pm
by DarthD.U.C.K.
you didnt get an error with that ctd?
the skeletonline is enough, i dont know if there's a difference between these two but its worth a try especially since the anim has a custom skeleton.

Re: dual weapon won't show up

Posted: Fri Nov 12, 2010 1:09 pm
by skelltor
no i did not get an error