Game freezes after giving Magnaguard a lightsaber
Moderator: Moderators
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Game freezes after giving Magnaguard a lightsaber
ok i have been working on a magnaguard. I have been trying to give him a lightsaber but when it comes to side selection screen it freezes up HELP!
-
Ninja
- Master Sergeant

- Posts: 172
- Joined: Thu Jan 07, 2010 9:49 pm
- Projects :: Ghostmark
- Location: Inside your sandwich
Re: magnaguard problem
Add this to you map's lua file if you don't already have something like it (you need it, otherwise the game gets buggy with many melee units):
Also, post your unit's odf file, otherwise I can't tell you that much.
Code: Select all
SetMemoryPoolSize ("Combo",30) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",500) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",500) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",500) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",400) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",4000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",88) -- should be ~1x #comboAlso, post your unit's odf file, otherwise I can't tell you that much.
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: Magnaguard problem
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Magnaguard problem
please post your bfront2log.
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: Magnaguard problem
what is bfront2log?
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: Magnaguard problem
rywar40 wrote:what is bfront2log?
FAQ's wrote: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
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: Magnaguard problem
it says insert cd 1
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Magnaguard problem
you can find a fixed exe under question 4 in the everythingyouneedthread.
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: Magnaguard problem
Hidden/Spoiler:
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Magnaguard problem
You should post all the ODF's you edited that are associated with this unit. The single one you posted doesn't say much.
- rywar40
- Private Second Class
- Posts: 71
- Joined: Sun May 29, 2011 7:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Shili (home of togruta)
Re: Magnaguard problem
i just copied the double saber from maul's odf to magnaguard. it works with plain lightsaber but not doubled
