Page 1 of 1

Hero help [Solved]

Posted: Sun Aug 14, 2011 2:41 pm
by ARCTroopaNate
I'm trying to make a new hero and it's not working so far. I created his odf and req. He's using Han Solo's model and skin and I put my hero in the Rebel Alliance req as well. I'm not getting a munge error log and my map works fine though my hero unit is not there. Help please.

His req
Hidden/Spoiler:
ucft
{
REQN
{
"class"
"all_hero_admiral_ackbar"
}
REQN
{
"model"
"hud_defencebuff"
}
REQN
{
"texture"
"hud_rep_weap_defense_buff_icon"
}

}
My lua
Hidden/Spoiler:
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("dc:SIDE\\all.lvl",
"all_inf_rifleman"
"all_hero_admiral_ackbar")

ReadDataFile("dc:SIDE\\imp.lvl",
"imp_inf_engineer_snow",
"imp_hero_bobafett",
"imp_fly_destroyer_dome" )

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

SetupTeams{
all = {
team = ALL,
units = 20,
reinforcements = 150,
soldier = { "all_inf_rifleman",9, 25},

},
imp = {
team = IMP,
units = 20,
reinforcements = 150,
engineer = { "imp_inf_engineer_snow",9,25},
},
}

SetHeroClass(ALL, "all_hero_admiral_ackbar")
SetHeroClass(IMP, "imp_hero_bobafett")
Rebel Alliance req
Hidden/Spoiler:
ucft
{
REQN
{
"lvl"
"all_droid_r2d2"
"all_fly_awing"
"all_fly_gunship_sc"
"all_fly_moncalamari_dome"
"all_fly_snowspeeder"
"all_fly_xwing_sc"
"all_fly_ywing_sc"
"all_hero_admiral_ackbar"
"all_hero_chewbacca"
"all_hero_hansolo_storm"
"all_hero_hansolo_tat"
"all_hero_leia"
"all_hero_luke_jedi"
"all_hero_luke_pilot"
"all_hero_luke_storm"
"all_hero_luke_tat"
"all_hover_combatspeeder"
"all_hover_bos_combatspeeder"
"all_inf_engineer"
"all_inf_engineer_fleet"
"all_inf_engineer_jungle"
"all_inf_engineer_snow"
"all_inf_marine"
"all_inf_officer"
"all_inf_officer_jungle"
"all_inf_officer_snow"
"all_inf_pilot"
"all_inf_rifleman"
"all_inf_rifleman_desert"
"all_inf_rifleman_fleet"
"all_inf_rifleman_jungle"
"all_inf_rifleman_snow"
"all_inf_rifleman_urban"
"all_inf_rocketeer"
"all_inf_rocketeer_fleet"
"all_inf_rocketeer_jungle"
"all_inf_rocketeer_snow"
"all_inf_sniper"
"all_inf_sniper_fleet"
"all_inf_sniper_jungle"
"all_inf_sniper_snow"
"all_inf_wookiee"
"all_inf_wookiee_snow"
"all_veh_remote_terminal"
"all_walk_tauntaun"
"imp_hover_speederbike"
"all_bldg_defensegridturret"
}
}
Admiral Ackbar odf
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_hero_default"
GeometryName = "all_inf_tatooinehansolo.msh"

[Properties]
UnitType = "soldier"

GeometryName = "all_inf_tatooinehansolo"
GeometryLowRes = "all_inf_tatooinehansolo_low1"
FirstPerson = "all\allhstat;all_1st_tatooinehansolo"

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

WEAPONSECTION = 1
WeaponName1 = "all_weap_hero_burst_pistol"
WeaponAmmo1 = 5

WEAPONSECTION = 2
WeaponName2 = "all_weap_inf_remotedroid"
WeaponAmmo2 = 1
WeaponChannel2 = 1

WEAPONSECTION = 3
WeaponName3 = "all_weap_inf_mine_dispenser"
WeaponAmmo3 = 3
WeaponChannel3 = 1

WEAPONSECTION = 4
WeaponName4 = "all_weap_inf_buff_defense"
WeaponAmmo4 = 0
WeaponChannel4 = 1


//SOUND
FoleyFXClass = "all_inf_soldier"

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 = "han_hero_pc_com_hostile SpottedVO"
VOSound = "han_hero_pc_com_mechanic NeedRepairVO"
VOSound = "han_hero_pc_com_transport NeedPickupVO"
VOSound = "han_hero_pc_com_backup NeedBackupVO"
VOSound = "han_hero_pc_com_clear_area AttackPositionVO"
VOSound = "han_hero_pc_com_defend DefendPositionVO"

VOSound = "han_hero_pc_com_hostile_inVehicle SpottedVO +InVehicle"
VOSound = "han_hero_pc_com_mechanic_inVehicle NeedRepairVO +InVehicle"
VOSound = "han_hero_pc_com_transport_inVehicle NeedPickupVO +InVehicle"
VOSound = "han_hero_pc_com_backup_inVehicle NeedBackupVO +InVehicle"
VOSound = "han_hero_pc_com_clear_area_inVehicle AttackPositionVO +InVehicle"
VOSound = "han_hero_pc_com_defend_inVehicle DefendPositionVO +InVehicle"


SndHeroSelectable = ""
SndHeroSpawned = "hero_han_spawn"
SndHeroDefeated = "hero_han_exhausted"
SndHeroKiller = "hero_han_exhausted"

VOSound = "hero_han_AcquiredTarget AcquiredTarget"
VOSound = "hero_han_KillingSpree4 KillingSpree4"

VOUnitType = 185
SoldierMusic = "all_hero_Han_lp"

Re: Hero help

Posted: Sun Aug 14, 2011 2:47 pm
by Noobasaurus
Debug log?

Re: Hero help

Posted: Sun Aug 14, 2011 3:12 pm
by ARCTroopaNate
Noob question alert!
Hidden/Spoiler:
How do you get the debug log. :oops:

Re: Hero help

Posted: Sun Aug 14, 2011 3:16 pm
by Noobasaurus
The FAQ wrote:Question #4 - I have the CD version of SWBF2 and I get a binkw32.dll error when trying to launch the BF2_modtools.exe, what's wrong?
Answer - The BF2_modtools.exe is the debug executable, copy it from C:\BF2_ModTools and paste it in the same folder as your BattlefrontII.exe, usually:
C:\Program Files\LucasArts\Star Wars Battlefront II\GameData
you can launch BF2_modtools.exe and play your map then exit or let it crash to generate a BFront2.log located in that same folder.
If you have the DVD version of SWBF2 check THIS LINK for a compatible version of the BF2_modtools.exe

Re: Hero help

Posted: Sun Aug 14, 2011 3:48 pm
by ARCTroopaNate
Thanks. I got Admiral Ackbar to work.

Re: Hero help [Solved]

Posted: Mon Aug 15, 2011 3:25 am
by AQT
How did you get him to work? What was causing him to not show up?

Re: Hero help [Solved]

Posted: Mon Aug 15, 2011 1:08 pm
by ARCTroopaNate
I don't know. It just started working. It could have been a glitch. One game he didn't show up, every single game after that he has worked.

Re: Hero help [Solved]

Posted: Mon Aug 15, 2011 1:11 pm
by Noobasaurus
Well, at least you learned what a debug log is. :themoreyouknow:

Re: Hero help [Solved]

Posted: Mon Aug 15, 2011 1:27 pm
by ARCTroopaNate
haha. Yep. Thanks for that. I've used it multiple times already in the last 24 hours.