Simplex is a sister mod of Complex. It will bring your gaming experience to a whole new level by showing you for the first time how the gap between the strategic way of thinking in Complex and the tactical one in other mods like Path To Victory can be bridged, unleashing the real potential of both Complex and PTV, and of course, the Homeworld 2 engine itself!

Report article RSS Feed Debug: Crashes that don't give any reason

When the game crashes, usually the reason for the crash is explained in Hw2.log, but there're some cases that there's simply no reason for the crash. This tutorial aims to record different reasons for crashes that apparently have no reason!

Posted by siliconworm on Apr 1st, 2013
Basic Client Side Coding.

1. If LoadModel(NewShipType, 1) is put behind StartShipHardPointConfig() function in any ship script, the game will crash without any reason.

2. If LoadSharedModel() function is used for a subsystem script, make sure the target subsystem exists, otherwise the game will crash without any reason.

3. The outer boound of a map could be the reason for crash wihout any reason, increase it until it doesn't crash anymore. This problem could occur only when there's something really big in the map, for example, a planet.

4. The lod levels in ship script should match with the ones in the HOD file, otherwise when you zoom in on the ship, the game will crash without any reason.

5. From my experience, if the HOD file is somehow messed up, the game will crash without any reason.

6. The shader types and algorithm in every HOD model should match those in the shader folder. If there's any mismatch, the game will crash without giving any reason.

 

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Homeworld 2 Icon
Platform
Windows
Developed By
siliconworm
Contact
Send Message
Official Page
Moddb.com
Release Date
Released Jul 6, 2011
Mod Watch
Track this mod
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Mods
Homeworld 2 Complex Simple (Homeworld 2)
Homeworld 2 Complex Simple Homeworld 2 - Single & Multiplayer Real Time Strategy
Related Games
Homeworld 2
Homeworld 2 Single & Multiplayer Real Time Strategy