Problem with sides
Moderator: Moderators
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Problem with sides
Whenever I try to add a unit to a side(I have tried replacing an existing unit, deleting all of the units for a side, and then putting the custom unit, and using AddUnitClass) it either crashes, or ignores what I put and uses the regular sides. What am I doing wrong?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: I'm confused
How did you go about doing the things you mentioned? Please post the contents of the lua files you edited.
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
Most recent one
The unit I created was a copy and past of the cloaked anikan in the assets folder, then changed the light saber to the one that shows up in darth vader's file and changed some of the values for the jumping and such. I have the choke, saber throw(and the one with _ord idk what it is for but I thought it might need it), the unit's odf, and the two cloth files that are mentioned in the cloaked anikan's odf in my odf file. My req files are the one for my unit and the level's one. In msh I have the the imp light saber image, msh and option files, I added's obi-wans animation into my animation file.
Hidden/Spoiler:
The unit I created was a copy and past of the cloaked anikan in the assets folder, then changed the light saber to the one that shows up in darth vader's file and changed some of the values for the jumping and such. I have the choke, saber throw(and the one with _ord idk what it is for but I thought it might need it), the unit's odf, and the two cloth files that are mentioned in the cloaked anikan's odf in my odf file. My req files are the one for my unit and the level's one. In msh I have the the imp light saber image, msh and option files, I added's obi-wans animation into my animation file.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: I'm confused
your lua looks alright(even though you should add additional units before heroes i think)
could you please use the bf2_modtools.exe to run your map and post the bfront2log is creates? more info about that cna be found in the everythingyouneedthread.
could you please use the bf2_modtools.exe to run your map and post the bfront2log is creates? more info about that cna be found in the everythingyouneedthread.
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
I'm getting an error "bink4dll' or something like that can not be found
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: I'm confused
DarthD.U.C.K. wrote:more info about that cna be found in the everythingyouneedthread.
Anyway, your problem is most likely that you haven't created a JDI folder in your data_***\_BUILD\Sides directory. The JDI folder should contain copies of the clean and munge batch files found in the ALL folder, which is also located in the same directory.[b][color=#FF8000]The FAQ / Everything You Need Thread Version 2.0[/color][/b] 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 or THIS link for a compatible version of the BF2_modtools.exe
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
I already made those files files/folder you mentioned
Also I followed your advice and it is asking for a cd, but I got the game through steam.
Also I followed your advice and it is asking for a cd, but I got the game through steam.
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
Ran the mod tols and opened up the log and this is what what was in
Hidden/Spoiler:
- Cerfon Rournes
- Master Bounty Hunter

- Posts: 1558
- Joined: Thu Jul 08, 2010 5:53 pm
- Projects :: WIP. I will reveal what it is later on..
- xbox live or psn: No gamertag set
- Location: New York, USA
- Contact:
Re: I'm confused
That's your problem. Make sure "rep_inf_ep3cloakedanakin" is in it's side/msh folder.Underlord wrote: Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\EntityGeometry.cpp(619)
Entity "jdi_hero_cloakedanakin" missing geometry "rep_inf_ep3cloakedanakin"
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
Running it now, It loads but crashes when I click on the anakin unit(who doesn't have a cloak or a red lightsaber)
log
log
Hidden/Spoiler:
- Cerfon Rournes
- Master Bounty Hunter

- Posts: 1558
- Joined: Thu Jul 08, 2010 5:53 pm
- Projects :: WIP. I will reveal what it is later on..
- xbox live or psn: No gamertag set
- Location: New York, USA
- Contact:
Re: I'm confused
Post his .odf file please.
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
So heres what appears in his odf file
Hidden/Spoiler:
- Cerfon Rournes
- Master Bounty Hunter

- Posts: 1558
- Joined: Thu Jul 08, 2010 5:53 pm
- Projects :: WIP. I will reveal what it is later on..
- xbox live or psn: No gamertag set
- Location: New York, USA
- Contact:
Re: I'm confused
Hidden/Spoiler:
Based off of your error log, you have a bunch of problems.
First of all, check to make sure "imp_weap_lightsaber" is in your unit's side/odf folder.
Second,
Hidden/Spoiler:
Lastly,
Hidden/Spoiler:
Hidden/Spoiler:
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
1. wow, I didn't know that there was an odf for a weapon
added
2. it uses obiwans animations, which I have and i have vader and vaderlz folders from the assets, what am I missing?
3. added the memory pool
tried again without the tools and it doesn't crash but also doesn't show the lightsaber or cloak.
when using the mod tools it lets me spawn, but closes afterwards(not sure if that is normal)
log:
2. it uses obiwans animations, which I have and i have vader and vaderlz folders from the assets, what am I missing?
3. added the memory pool
tried again without the tools and it doesn't crash but also doesn't show the lightsaber or cloak.
when using the mod tools it lets me spawn, but closes afterwards(not sure if that is normal)
log:
Hidden/Spoiler:
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: I'm confused
You still have a problem with the animations. Double check that you have the munged animations in the munged folder.Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'jdi_hero_cloakedanakin' failed to find animmap human_
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
Which munged folder?
- Cerfon Rournes
- Master Bounty Hunter

- Posts: 1558
- Joined: Thu Jul 08, 2010 5:53 pm
- Projects :: WIP. I will reveal what it is later on..
- xbox live or psn: No gamertag set
- Location: New York, USA
- Contact:
Re: I'm confused
Ah, here is a problem. You are using the "obiwan" animations, for your unit's saber is calling for the "vader" ones. Make sure that the "obiwan" animations are in your data_***/sides/(yourside)/munged folder. Second, open up "imp_weap_lightsaber" and replace this line:
With this one.
Lastly, go to the assets and get this file: rep_hero_ep3obiwan.combo and copy it over to your side/odf folder.
All of these steps should fix your problem.
Code: Select all
ComboAnimationBank = "human_sabre melee imp_hero_darthvader"Code: Select all
ComboAnimationBank = "human_sabre melee rep_hero_ep3obiwan"All of these steps should fix your problem.
-
Underlord
- Private Recruit
- Posts: 27
- Joined: Fri Jan 27, 2012 1:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: I'm confused
Ok did as you said and now, the anakin is normal, but I saw an npc with the cloak and lightsaber(the saber looked weird)
with mod tools it didnt crash so I exited out my self
log:
with mod tools it didnt crash so I exited out my self
log:
Hidden/Spoiler:
- Cerfon Rournes
- Master Bounty Hunter

- Posts: 1558
- Joined: Thu Jul 08, 2010 5:53 pm
- Projects :: WIP. I will reveal what it is later on..
- xbox live or psn: No gamertag set
- Location: New York, USA
- Contact:
Re: I'm confused
Post the unit .odf again, along with the saber .odf. (imp_weap_lightsaber)Underlord wrote: Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\EntitySoldier.cpp(10505)
EntitySoldier "jdi_hero_cloakedanakin" missing animation bank "vader"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\EntitySoldier.cpp(10536)
EntitySoldier "jdi_hero_cloakedanakin" missing lowres animation bank "vaderlz"
