List of Silent Crashes/Freezes for SWBF2 maps

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
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

List of Silent Crashes/Freezes for SWBF2 maps

Post by Ace_Azzameen_5 »

This is a list of known crashes and freezes that a mod map can have without BF2_modtools.exe reporting a problem.

Note: I decided to start this thread and hope to get it added to the Everything you need thread, if it proves useful. Please add any 'silent' crashes or freezes you know of.
After a search and a check of the EYN4SWBF2 thread, I am reasonably sure this hasn't been done-and It should be. How many man hours do we waste on examining crashes and backtracking when others already know exactly how to fix your map? So, without further adieu,

Things That Will silently Crash your Map

Missing Object Assets
Occurs: If your lyr file calls an object that your map doesn't have in its assets or otherwise loaded, your map will crash.
How'd I do that?: You probably deleted some odfs and mshs, and munged before running ZE - which will automatically delete the object from the LYR on start up.

Things That Will silently FREEZE your Map

The Object Limit
Occurs: When you have a certain amount of objects loaded in a certain mode. (Placed in a loaded layer)
Solution Tips: Start Deleting objects - but not in ZE. Open the desired Layer's world/.lyr file in Word Pad. Also open a black document. Start Cutting and pasting objects out of the LYR and save them in the new document. That way, If you remove more objects than necessary you can re-add some exactly where you had them by pasting them back in the lyr.
Master Fionwë
Rebel Colonel
Rebel Colonel
Posts: 598
Joined: Wed May 30, 2007 3:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: At RCTC
Contact:

RE: List of Silent Crashes/Freezes for SWBF2 maps

Post by Master Fionwë »

Ace, this is a great idea! Glad someone came up with it.

Another one that can crash a mod map, and this one caused a lot of problems for me:
If you add a custom side, and you have double numbers in a units odf for weapons, or are missing numbers.
Example:
WEAPONSECTION = 1
WeaponName = ""
WeaponAmmo = ""

WEAPONSECTION = 3
WeaponName = ""
WeaponAmmo = ""
That does not show up in the error log.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post by MercuryNoodles »

Also, pasting in hero weapons without removing the numbers not associated with the WEAPONSECTION lines (or maybe not making them all numbered?) will cause a crash with no error reported.


Good:
WEAPONSECTION = 1
WeaponName = "imp_weap_inf_arccaster"
WeaponAmmo = 5

WEAPONSECTION = 2
WeaponName = "imp_weap_inf_rifle"
WeaponAmmo = 5

WEAPONSECTION = 3
WeaponName = "imp_weap_hero_flamethrower"
WeaponAmmo = 3
Not Good:
WEAPONSECTION = 1
WeaponName = "imp_weap_inf_arccaster"
WeaponAmmo = 5

WEAPONSECTION = 2
WeaponName = "imp_weap_inf_rifle"
WeaponAmmo = 5

WEAPONSECTION = 3
WeaponName2 = "imp_weap_hero_flamethrower"
WeaponAmmo2 = 3
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Post by jangoisbaddest »

Another thing that will crash the map without an error report: not having animation files in your map's directory (specifically doors, but I'm sure this applies to all animations as well).
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Post by authraw »

One that bugs me to no end is the fact that units that are missing an award weapon will crash when you try to switch weapons. This can be fixed by either adding an award weapon or removing the line in the weaponOdf that causes the game to check for an award weapon.
Post Reply