Home » MODDING HQ 1.13 » v1.13 Coding Talk » Strategic Map load in source code
Re: Strategic Map load in source code[message #339064 is a reply to message #339059] Wed, 21 January 2015 14:26 Go to previous messageGo to previous message
Drecouse is currently offline Drecouse

 
Messages:8
Registered:November 2011
Okay, i think for some days i will be really determined to start and complete this project, after that probably i will abandon this, but until that I will have finally something interesting to do big grin. Here i shall write down how i planned to do this. If anything would be incorrect or there would be an easier solution please correct me:

1. I would like to create some buttons on the strategic map interface to navigate between the maps and with this change the map picture. (I think that's the easiest part.)

2. I have to learn how the saving functions work and then add a new variable for every possible object (merc, npc, item, etc.) which will determine which map it belongs to. (I hope these are in classes or structs.) Then i have to modify the loading functions to understand the changes.

3. Every place where an object is created must be modified to add the new variable which will determine what map it belongs to.

Then of course there is no solution yet for the quests, and enemy movement (how the enemy would move and attack if we leave the current map, it shouldn't be discarded but i don't see other solution except somehow handling all the maps parallel). And all these changes should be made with ini variables for the different maps to be able to easily create a new one, and should be handled in different folders.

[Updated on: Wed, 21 January 2015 16:44]

Report message to a moderator

Private
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JA2 Roguelike mod
Next Topic: New Stealth Mechanics
Goto Forum:
  


Current Time: Sat Jan 25 10:09:40 GMT+2 2025

Total time taken to generate the page: 0.00893 seconds