• 📚 A new project from the admin: Check out PictureBooks.io, an AI storyteller that lets you build custom picture books for kids in seconds. Let me know what you think here!

Game Crash on Unit Build

Voyhkah

Undead
Joined
Apr 25, 2009
Messages
1,444
Location
Earth
I have coded a unit called the Apache, but whenever I try to build it in the game, the game crashes. By 'build', I mean order a city to build one, not when it is completed. Could someone who knows about the technicalities of programing please tell me what is going on and how to fix it.

:thanx:
 
Check your button.
If it's bigger than 64*64, the game will crash.
(but will work in the worldbuilder)

It's exactly 64 * 64. Next idea.
 
probably the button. Custom buttons crash if you leave a , comma in there. Commas are only for button paths that use an atlas.
 
If you forgot to make an ART entry for the unit or mistyped the name for the ART reference then that would cause a crash when the game wants to display the unit.
 
probably the button. Custom buttons crash if you leave a , comma in there. Commas are only for button paths that use an atlas.

I think that's it.
 
Back
Top Bottom