1dot13 / source

Source code for the game executable of the Jagged Alliance 2 v1.13 project
102 stars 18 forks source link

GridNo's for Bigmaps can have to many digits for NPC-Editors #286

Open kitty624 opened 9 months ago

kitty624 commented 9 months ago

That's mainly an issue for AIMNAS, since it's the only mod I'm aware of that uses Bigmaps (apart from the clearly abandoned HornOfAfrica mod)

In some npc-scripts (.npc-files), it's needed to add GridNo's (for stuff like "if that's true, walk there" or "if at this GridNo and talked to in friendly way, step one GridNo aside", etc, pp)

The NPC-Editors I'm aware of (from Bear's Pit download section) fail to accept high digits for those GridNo's - and since bigmaps are, ehm, bigger, it can be that the digits get to high

Partly this may can be addressed within 1.13-code (maybe find a way to externalize GridNo related stuff in Quest and Dialogues, etc?), but I think that probably still will leaves some of the issue with NPC-Editors.

Sadly, I'm not aware of any source-code for those ancient editors