Walker's crashing game

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
Bac-Talan
Captain
Captain
Posts: 487
Joined: Wed Nov 30, 2005 8:14 pm

Walker's crashing game

Post by Bac-Talan »

I'm having a problem with walkers.
I'm trying to add 2 rep_walk_oneman_atst 's to my map and one atte.
I'm adding them seperatly for now and when I put in the oneman_atst 's (what's their real name anyway, i forget?) and the game crashes right before the team select screen.
THe error log gives me:
Message Severity: 3
.\Source\EntityWalker.cpp(224)
Walker has no animations
...
In my lua I do have:
AddWalkerType(0, 0) -- special -> droidekas
AddWalkerType(1, 2) -- 1x2 (1 pair of legs)
AddWalkerType(2, 2) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 1) -- 3x2 (3 pairs of legs)
And am calling rep_walk_oneman_atst in the side section.

The thing is, my spider walkers (the (2, 2) part of above) work fine?
Does anyone know what's wrong?

when I try adding rep_walk_atte instead, I get the exact same thing...
Squirrel7Hunter

Post by Squirrel7Hunter »

do u have modded side that its reading from? dc:side//rep.lvl <-- like that? cause I'm guessing you forgot to add the animations for it. by the way, the name is right, it is rep_walk_oneman_atst
Bac-Talan
Captain
Captain
Posts: 487
Joined: Wed Nov 30, 2005 8:14 pm

Post by Bac-Talan »

I copied the whole side over from the assets folder (and sides/Common)
I was using almost all of it anyway. I don't think I deleted it.
Also, I found the folder assets/animations. Is this nessecary? where would I put it?
darthpingu

Post by darthpingu »

no need to copy animations mate.
Big_rich

Post by Big_rich »

as long as your not editing the side you needn't copy the side to your data_modid. You only need to include it in a readdatafile. As far as the atte you need to make a memorypool for commandwalker. Or edit the odf making it non spawnable on. But in that case you need to make a new side and dc it in the readdatafile. Just read the jedi creation guide on how to create a new side. When you make a new side you do in fact need the animations in the munged folder though. Else it wont work.
Bac-Talan
Captain
Captain
Posts: 487
Joined: Wed Nov 30, 2005 8:14 pm

Post by Bac-Talan »

Ok, ya I know how to make new sides, I've done it a lot...
But I didn't know about the munged folder and the animations going there (never put walkers in game before). Thanks, that'll help alot.
Bac-Talan
Captain
Captain
Posts: 487
Joined: Wed Nov 30, 2005 8:14 pm

Post by Bac-Talan »

ok, I can't find the MUNGED folder for the REP side...
It's not in the assets/sides/rep. Does anyone know where I could find it or get the animations I need?
Sorry about double post, but this is really annoying
Squirrel7Hunter

Post by Squirrel7Hunter »

if I understand right, you want the munge and clean .bats , you can find those in your build/sides/all folder and copy those into your modded side folder

edit: you dont need to add animations, as long as you have the rep fodler, your doing rep right?
Bac-Talan
Captain
Captain
Posts: 487
Joined: Wed Nov 30, 2005 8:14 pm

Post by Bac-Talan »

Here's what I'm doing:
-I have the complete rep folder copied from assets/sides
-I have changed the .lua to have:
AddWalkerType(0, 0) -- special -> droidekas
AddWalkerType(1, 2) -- 1x2 (1 pair of legs)
AddWalkerType(2, 2) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 1) -- 3x2 (3 pairs of legs)
-at the bottom of the original memory pools I have:
SetMemoryPoolSize("CommandWalker", 1)
I also have this in my .lua:
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_walk_atte",
"rep_walk_oneman_atst",
"rep_hover_barcspeeder",
"rep_hover_fightertank")
I have placed vehicle spawn points in ZeroEditor

Is there anything else? The "REP" folder under assets/sides has no munged folder in it.

I still get this error:
Message Severity: 3
.\Source\EntityWalker.cpp(224)
Walker has no animations
and the game crashes right before the loading screen
Post Reply