Page 1 of 1

Modifiying Tatooine Luke's odf. [Solved]

Posted: Thu Jun 26, 2014 1:35 pm
by Indytotof
Hello modders and mappers, here is Indytotof.

Like the title says, I want to modifiying the Tatooine Luke's odf from the Conversion Pack, make him carrying his father's lightsaber instead of the sniper rifle and add the saber throw.

The problem is not adding this, it's pretty simple. Well, there is the odf:
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "com_hero_default"

[Properties]
UnitType = "pilot"

GeometryName = "all_inf_tatooinelukeskywalker"
GeometryLowRes = "all_inf_tatooinelukeskywalker_low1"
FoleyFXClass = "rep_inf_soldier"
ClothODF = "all_inf_tatooinelukeskywalker_cloth"

AnimationName = "hansolo"
HealthType = "person"
MaxHealth = 1500.0

WEAPONSECTION = 1
WeaponName = "all_weap_hero_hanpistol"
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "all_weap_inf_recon_sniper_rifle"
WeaponAmmo = 1

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

WEAPONSECTION = 4
WeaponName = "all_weap_inf_buff_defense"
WeaponAmmo = 1
WeaponChannel = 1 (stuff bolded are the stuff that will be replaced)[/code]
The things is I wonder If I have to modified some other stuff. I yes, can you clarified me what and how ?

Thanks a lot for your very appreciate help !

Re: Modifiying Tatooine Luke's odf.

Posted: Thu Jun 26, 2014 2:18 pm
by thelegend
Easy 8)

Just change this lines:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_hero_default"

[Properties]
UnitType = "pilot"

GeometryName = "all_inf_tatooinelukeskywalker"
GeometryLowRes = "all_inf_tatooinelukeskywalker_low1"
FoleyFXClass = "rep_inf_soldier"
ClothODF = "all_inf_tatooinelukeskywalker_cloth"

AnimationName = "hansolo" <<<<<<<<<<<<<<<<<<<
HealthType = "person"
MaxHealth = 1500.0

WEAPONSECTION = 1
WeaponName = "all_weap_hero_hanpistol" <<<<<<<<<<<
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "all_weap_inf_recon_sniper_rifle" <<<<<<<<<<<<<
WeaponAmmo = 1

WEAPONSECTION = 3
WeaponName = "all_weap_inf_detpack" <<<<<<<<<<<<<<
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "all_weap_inf_buff_defense" <<<<<<<<<<<
WeaponAmmo = 1
WeaponChannel = 1 (stuff bolded are the stuff that will be replaced)
to this:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_hero_default"

[Properties]
UnitType = "pilot"

GeometryName = "all_inf_tatooinelukeskywalker"
GeometryLowRes = "all_inf_tatooinelukeskywalker_low1"
FoleyFXClass = "rep_inf_soldier"
ClothODF = "all_inf_tatooinelukeskywalker_cloth"

AnimationName = "luke" //<<<<<<<<<<<<
HealthType = "person"
MaxHealth = 1500.0

WEAPONSECTION = 1
WeaponName1 = "all_weap_lightsaber" //<<<<
WeaponAmmo1 = 0 //<<<<

WEAPONSECTION = 2
WeaponName2 = "com_weap_inf_sabre_throw" //<<<<<<<<<<<
WeaponAmmo2 = 0 //<<<<<<<
WeaponChannel2 = 1

WEAPONSECTION = 3
WeaponName3 = "com_weap_inf_force_push" //<<<<<<<<
WeaponAmmo3 = 0 //<<<<<<<<<<<<
WeaponChannel3 = 1

// And add this lines for his voice

VOUnitType = 184
SoldierMusic = "all_hero_Luke_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
//ShockFadeOutTime = "0.8"
//ShockFadeInTime = "2.0"
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"

FoleyFXClass = "all_inf_soldier"

SndHeroSelectable = ""
SndHeroSpawned = "hero_luke_spawn"
SndHeroDefeated = "hero_luke_exhausted"
SndHeroKiller = "hero_luke_exhausted"

VOSound = "all_off_response_hero_command SC_Follow"
VOSound = "all_off_response_hero_command SC_StopFollow"
VOSound = "all_off_response_hero_command SC_VehicleWaitUp"
VOSound = "all_off_response_hero_command SC_GetIn"
VOSound = "all_off_response_hero_command SC_GetOut"

VOSound = "hero_luke_AcquiredTarget AcquiredTarget"
VOSound = "hero_luke_KillingSpree4 KillingSpree4"

Re: Modifiying Tatooine Luke's odf.

Posted: Thu Jun 26, 2014 2:49 pm
by Indytotof
thelegend wrote:Easy 8)

Just change this lines:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_hero_default"

[Properties]
UnitType = "pilot"

GeometryName = "all_inf_tatooinelukeskywalker"
GeometryLowRes = "all_inf_tatooinelukeskywalker_low1"
FoleyFXClass = "rep_inf_soldier"
ClothODF = "all_inf_tatooinelukeskywalker_cloth"

AnimationName = "hansolo" <<<<<<<<<<<<<<<<<<<
HealthType = "person"
MaxHealth = 1500.0

WEAPONSECTION = 1
WeaponName = "all_weap_hero_hanpistol" <<<<<<<<<<<
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "all_weap_inf_recon_sniper_rifle" <<<<<<<<<<<<<
WeaponAmmo = 1

WEAPONSECTION = 3
WeaponName = "all_weap_inf_detpack" <<<<<<<<<<<<<<
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "all_weap_inf_buff_defense" <<<<<<<<<<<
WeaponAmmo = 1
WeaponChannel = 1 (stuff bolded are the stuff that will be replaced)
to this:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_hero_default"

[Properties]
UnitType = "pilot"

GeometryName = "all_inf_tatooinelukeskywalker"
GeometryLowRes = "all_inf_tatooinelukeskywalker_low1"
FoleyFXClass = "rep_inf_soldier"
ClothODF = "all_inf_tatooinelukeskywalker_cloth"

AnimationName = "luke" //<<<<<<<<<<<<
HealthType = "person"
MaxHealth = 1500.0

WEAPONSECTION = 1
WeaponName1 = "all_weap_lightsaber" //<<<<
WeaponAmmo1 = 0 //<<<<

WEAPONSECTION = 2
WeaponName2 = "com_weap_inf_sabre_throw" //<<<<<<<<<<<
WeaponAmmo2 = 0 //<<<<<<<
WeaponChannel2 = 1

WEAPONSECTION = 3
WeaponName3 = "com_weap_inf_force_push" //<<<<<<<<
WeaponAmmo3 = 0 //<<<<<<<<<<<<
WeaponChannel3 = 1

// And add this lines for his voice

VOUnitType = 184
SoldierMusic = "all_hero_Luke_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
//ShockFadeOutTime = "0.8"
//ShockFadeInTime = "2.0"
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"

FoleyFXClass = "all_inf_soldier"

SndHeroSelectable = ""
SndHeroSpawned = "hero_luke_spawn"
SndHeroDefeated = "hero_luke_exhausted"
SndHeroKiller = "hero_luke_exhausted"

VOSound = "all_off_response_hero_command SC_Follow"
VOSound = "all_off_response_hero_command SC_StopFollow"
VOSound = "all_off_response_hero_command SC_VehicleWaitUp"
VOSound = "all_off_response_hero_command SC_GetIn"
VOSound = "all_off_response_hero_command SC_GetOut"

VOSound = "hero_luke_AcquiredTarget AcquiredTarget"
VOSound = "hero_luke_KillingSpree4 KillingSpree4"
OK, but I want him to keep the pistol, to make him more accurate to the IV movie.

Is it possible ?

Re: Modifiying Tatooine Luke's odf.

Posted: Thu Jun 26, 2014 4:04 pm
by thelegend
Why not? Just add the pistol weapon as second primary weapon.

Re: Modifiying Tatooine Luke's odf.

Posted: Fri Jun 27, 2014 2:01 am
by Indytotof
When I munge my heroes side I got this:

Code: Select all

"ERROR (Invalid Parameter): heroes"
What that means ?