Clone Commander Hero question

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
GolfBulb

Clone Commander Hero question

Post by GolfBulb »

My clone commander was spawning as a hero, but he isn't anymore, i dont know why.... Here is the lua,
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("dc:SIDE\\all.lvl",
"all_inf_rifleman_jungle",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer")

ReadDataFile("SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_hero_darthvader")


ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_officer")

ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_tat_barge",
"tur_bldg_laser")

SetupTeams{
all = {
team = ALL,
units = 175,
reinforcements = 150,
soldier = { "all_inf_rifleman_jungle",9, 55},
assault = { "all_inf_rocketeer",1,40},
engineer = { "all_inf_engineer",1,40},
sniper = { "all_inf_sniper",1,40},


},
imp = {
team = IMP,
units = 125,
reinforcements = 150,
soldier = { "imp_inf_rifleman",9, 25},
assault = { "imp_inf_rocketeer",1,25},
engineer = { "imp_inf_engineer",1,25},
sniper = { "imp_inf_sniper",1,25},
officer = { "imp_inf_officer",1,25},
},
}

SetHeroClass(ALL, "rep_inf_ep3_officer")
SetHeroClass(IMP, "imp_hero_darthvader")
and i don't think the BF2_mod tools log would help. and i would giv e you a munge log but there was non at all.


I used obi's light saber becuase that was what i had befor, so i jsut created my own ODF with that.
[WeaponClass]

ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"
GeometryName = "sword_final.msh"

[Properties]

GeometryName = "sword_final"
ComboAnimationBank = "human_sabre melee imp_hero_darthvader"

FirePointName = "hp_fire"


THis is the Clone commanders' ODF and i used darth vaders Anim
[GameObjectClass]
ClassParent = "rep_inf_default_officer"


[Properties]
GeometryName = "rep_inf_clonecommander"
GeometryLowRes = "rep_inf_clonecommander_low1"
FirstPerson = "REP\repcomm;rep_1st_clonecommander"

also i put the JA sniper in, but when youu choose the sniper, a picture of the sniper is still there. Here is a file


one more thing. How do you turn Water into lava? i have ben trying to but no luck. i put the texture as lava, and i got the .FX from mustafar should i change the water_ to lava_?
}
REQN
{
"texture"
"platform=pc"
"height0"
"fractal0"
"noise0"
"diffuse0"
"diffuse1"
"diffuse2"
"diffuse3"

"water_bumpmap_0"
"water_bumpmap_1"
"water_bumpmap_2"
"water_bumpmap_3"
"water_bumpmap_4"
"water_bumpmap_5"
"water_bumpmap_6"
"water_bumpmap_7"
"water_bumpmap_8"
"water_bumpmap_9"
"water_bumpmap_10"
"water_bumpmap_11"
"water_bumpmap_12"
"water_bumpmap_13"
"water_bumpmap_14"
"water_bumpmap_15"

"water_normalmap_0"
"water_normalmap_1"
"water_normalmap_2"
"water_normalmap_3"
"water_normalmap_4"
"water_normalmap_5"
"water_normalmap_6"
"water_normalmap_7"
"water_normalmap_8"
"water_normalmap_9"
"water_normalmap_10"
"water_normalmap_11"
"water_normalmap_12"
"water_normalmap_13"
"water_normalmap_14"
"water_normalmap_15"

"water_specularmask_0"
"water_specularmask_1"
"water_specularmask_2"
"water_specularmask_3"
"water_specularmask_4"
"water_specularmask_5"
"water_specularmask_6"
"water_specularmask_7"
"water_specularmask_8"
"water_specularmask_9"
"water_specularmask_10"
"water_specularmask_11"
"water_specularmask_12"
"water_specularmask_13"
"water_specularmask_14"
"water_specularmask_15"
"water_specularmask_16"
"water_specularmask_17"
"water_specularmask_18"
"water_specularmask_19"
"water_specularmask_20"
"water_specularmask_21"
"water_specularmask_22"
"water_specularmask_23"
"water_specularmask_24"

}
commanders ODF
[GameObjectClass]
ClassParent = "rep_inf_default"


[Properties]

MaxHealth = 2000.0

UnitType = "support"

AnimationName = "vader"
SkeletonLowRes = "vaderlz"
SkeletonRootScale = "1.25"

MaxSpeed = 10.0 // base forward speed
MaxStrafeSpeed = 4.5 // base right/left speed

ScanningRange = 30.0
TransmitRange = 300.0

WEAPONSECTION = 1
WeaponName = "rep_weap_lightsaber_obiwan"
WeaponAmmo = 0

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_buff_defense"
WeaponAmmo = 1
WeaponChannel = 1

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_remotedroid"
WeaponAmmo = 1
WeaponChannel = 1

VOUnitType = 121
Last edited by GolfBulb on Sun Sep 02, 2007 3:13 pm, edited 2 times in total.
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

Re: Clone Commander Hero question

Post by Rekubot »

Do you have the REP side in the Side folder? If not, remove the dc:.
GolfBulb

Re: Clone Commander Hero question

Post by GolfBulb »

Rekubot wrote:Do you have the REP side in the Side folder? If not, remove the dc:.
yes i do, it was working Before, *i also have a custom skin for him* but f0or somereason its not now
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

Re: Clone Commander Hero question

Post by Rekubot »

Well in that case, post the BF2 log. There's usually at least one thing in there that tells you what the problem is.
GolfBulb

Re: Clone Commander Hero question

Post by GolfBulb »

He is working now just his sword isnt :?
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: Clone Commander Hero question

Post by The_Emperor »

Post the swords odf, the commanders odf, and what anims did you use? Make sure you got it in the munged folder and stuff.

And what do you mean by not work? What exactly did you do? Does the sword make it crash/not show up?
GolfBulb

Re: Clone Commander Hero question

Post by GolfBulb »

The_Emperor wrote:Post the swords odf, the commanders odf, and what anims did you use? Make sure you got it in the munged folder and stuff.

And what do you mean by not work? What exactly did you do? Does the sword make it crash/not show up?

not show up
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Clone Commander Hero question

Post by Teancum »

The_Emperor wrote:Post the swords odf, the commanders odf, and what anims did you use? Make sure you got it in the munged folder and stuff.
We need you to post these before we can help. It's the easiest way to debug your odfs.
GolfBulb

Re: Clone Commander Hero question

Post by GolfBulb »

Teancum wrote:
The_Emperor wrote:Post the swords odf, the commanders odf, and what anims did you use? Make sure you got it in the munged folder and stuff.
We need you to post these before we can help. It's the easiest way to debug your odfs.
okay, well the problem still presists after many trys so, hope you can help
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Re: Clone Commander Hero question

Post by EGG_GUTS »

Post the rep_inf_default_officer
Post Reply