UT-AT troubles [Solved]
Moderator: Moderators
-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
UT-AT troubles [Solved]
I've been having problems putting the UT-AT vehicle in my map. I believe I've done everything correctly, but the vehicle won't show up ingame. I used an existing vehicle spawn that was working, so it isn't a misspelled name. I downloaded the source files here at gametoast, and in the .zip it had four folders: msh, odf, sound, and effects. I put these all in my rep sides folder. is there anything else i should do?
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: UT-AT troubles
first: you added it as commandhover on your lua file?
-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
Re: UT-AT troubles
no, i didn't really want it to be a command vehicle, but if thats how i fix it, how do i go about doing that?
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: UT-AT troubles
You could also change it into a normal hover vehicle. Open up the UT-AT's ODF and change the class. Look at some other normal hover vehicle for reference.JediJalepinio wrote:no, i didn't really want it to be a command vehicle, but if thats how i fix it, how do i go about doing that?
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: UT-AT troubles
change the class of commandhover to hover so, and edit your lua file for add hoversJediJalepinio wrote:no, i didn't really want it to be a command vehicle, but if thats how i fix it, how do i go about doing that?
-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
Re: UT-AT troubles
ok, so ive changed my .odf to
[GameObjectClass]
ClassLabel = "hover"
GeometryName = "rep_hover_utat.msh"
and my lua to
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hover_barcspeeder",
"rep_hover_utat")
but it still won't show up ingame, any other ideas?
[GameObjectClass]
ClassLabel = "hover"
GeometryName = "rep_hover_utat.msh"
and my lua to
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hover_barcspeeder",
"rep_hover_utat")
but it still won't show up ingame, any other ideas?
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: UT-AT troubles
you must modify your lua adding normal hover:JediJalepinio wrote:ok, so ive changed my .odf to
[GameObjectClass]
ClassLabel = "hover"
GeometryName = "rep_hover_utat.msh"
and my lua to
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hover_barcspeeder",
"rep_hover_utat")
but it still won't show up ingame, any other ideas?
SetMemoryPoolSize("EntityHover", x)
(x is the cuantity of hovers)
-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
Re: UT-AT troubles
what do you mean by that? I'm not very good with lua editting...you must modify your lua adding normal hover:
SetMemoryPoolSize("EntityHover", x)
(x is the cuantity of hovers)
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: UT-AT troubles
In your .lua after the SetupTeams section, there is a section with a list of SetMemoryPoolSize lines. Insert the line SetMemoryPoolSize("EntityHover", x) into the list where
DEVISS-REX wrote:x is the quantity of hovers
-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
Re: UT-AT troubles
there already is a section with the SetMemoryPoolSize("EntityHover", x)
here's that section of my .lua
here's that section of my .lua
Code: Select all
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
local weaponCnt = 240
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 22)
SetMemoryPoolSize("EntityFlyer", 30)
SetMemoryPoolSize("EntityHover", 20)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 20)
SetMemoryPoolSize("MountedTurret", 25)
SetMemoryPoolSize("Navigator", 49)
SetMemoryPoolSize("Obstacle", 760)
SetMemoryPoolSize("PathNode", 512)
SetMemoryPoolSize("SoundSpaceRegion", 46)
SetMemoryPoolSize("TreeGridStack", 500)
SetMemoryPoolSize("UnitAgent", 49)
SetMemoryPoolSize("UnitController", 49)
SetMemoryPoolSize("Weapon", weaponCnt)-
YaNkFaN
- Field Commander

- Posts: 943
- Joined: Sat Dec 13, 2008 8:17 am
Re: UT-AT troubles
you don't need to add the entity hover lines the game has that done already post your BF2 error log
If you don't know what or how to get that here is how
Question - 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 - Copy the BF2_modtools.exe from the main BF2_modtools folder and paste it in the same folder as your battlefront2.exe, usually:
\LucasArts\Star Wars Battlefront II\GameData
then you can launch BF2_modtools.exe and play your map to get a BFront2.log located in that same folder.
If you have the DVD version check THIS LINK for a DVD version of BF2_modtools.exe
Note to Vista users:
If you can't find your BFront2.log it may be saved to this location:
C:\Users\<username>\AppData\Local\VirtualStore\Program Files\LucasArts\Star Wars Battlefront II\GameData
If you don't know what or how to get that here is how
Question - 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 - Copy the BF2_modtools.exe from the main BF2_modtools folder and paste it in the same folder as your battlefront2.exe, usually:
\LucasArts\Star Wars Battlefront II\GameData
then you can launch BF2_modtools.exe and play your map to get a BFront2.log located in that same folder.
If you have the DVD version check THIS LINK for a DVD version of BF2_modtools.exe
Note to Vista users:
If you can't find your BFront2.log it may be saved to this location:
C:\Users\<username>\AppData\Local\VirtualStore\Program Files\LucasArts\Star Wars Battlefront II\GameData
-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
Re: UT-AT troubles
ok, here it is.
Hidden/Spoiler:
-
YaNkFaN
- Field Commander

- Posts: 943
- Joined: Sat Dec 13, 2008 8:17 am
Re: UT-AT troubles
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_hover_utat in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\PGS\Data\_lvl_pc\SIDE\rep.lvl
here's your problem
did you make a .req for the vehicle? like in data_pgs/sides/rep/req is there a rep_hover_utat.req in there?
.\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_hover_utat in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\PGS\Data\_lvl_pc\SIDE\rep.lvl
here's your problem
did you make a .req for the vehicle? like in data_pgs/sides/rep/req is there a rep_hover_utat.req in there?
-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
Re: UT-AT troubles
no there wasn't one, so i made it:
but the vehicle still won't show up. I'm out of ideas, does anyone else know what to do?
Code: Select all
ucft
{
REQN
{
"class"
"rep_hover_utat"
}
}-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: UT-AT troubles
Have you added it to your sides' .req in this case rep.req?
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: UT-AT troubles
You also have to make sure that there is a reference to the .req file you just made in the rep.req file as well. Plus you need to have the rep folder in your data_xxx/_build/sides/ folder.
The way to confirm all is being munged correctly is to go the game folder and look in the addon directory for you map folder and find out if there is a rep.lvl in the sides folder. This needs to be there before we can figure out any other reason for it not spawning.
Ya AQT you beat me to it but I ain't deleting
The way to confirm all is being munged correctly is to go the game folder and look in the addon directory for you map folder and find out if there is a rep.lvl in the sides folder. This needs to be there before we can figure out any other reason for it not spawning.
Ya AQT you beat me to it but I ain't deleting
-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
Re: UT-AT troubles
ok, i added it to the rep.req and i checked out my SIDES folder in the addon folder, there is a rep.lvl and a repshell.lvl. But now it crashes to desktop in the middle of the maps loading. Just because it helped before, I included the BFront2.log below
Pretty sure this wasn't supposed to happen, but I really don't know what set it off. THanks for all your help.
Hidden/Spoiler:
Pretty sure this wasn't supposed to happen, but I really don't know what set it off. THanks for all your help.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: UT-AT troubles
Here's your problem.
To fix it, you can either copy the AT-TE chunk mshs from the default rep side to your side's msh folder, or remove references to chunks in your UT-AT's odf. I'd recommend the former.
Code: Select all
Message Severity: 3
.\Source\EntityGeometry.cpp(666)
Entity "rep_hover_utat" missing chunk geometry "rep_walk_atte_chunk1"-
JediJalepinio
- Private Recruit
- Posts: 26
- Joined: Tue Feb 24, 2009 4:50 pm
Re: UT-AT troubles
Success!
After adding all the mentioned .msh files in the UT-AT's .odf, the game returned to normal and the utat shows up in game, Thanks for all your help! 
