Home » MODDING HQ 1.13 » v1.13 Coding Talk » Strategic Map load in source code
Re: Strategic Map load in source code[message #339094 is a reply to message #339075]
|
Thu, 22 January 2015 16:31
|
|
Drecouse |
|
Messages:8
Registered:November 2011 |
|
|
Okay first part what i have planned (Toggle SpoilerOkay, 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. ) is here: "https"://www.sendspace.com/file/gru7lk
It's really basic just simply a new button which adds another 3 to the game. With these you can type in numbers like 00, 01, 02, 10 ... 22. This will determine what picture the game will load. And of course some ini variables in the JA2_Options.ini under Strategic Interface Settings. Here anybody can add new Maps easily up to 9. (The forum didn't allowe me to post a link so just remove the "-s.) (Based on 7720)
[Updated on: Thu, 22 January 2015 16:33] Report message to a moderator
|
Private
|
|
|
|
|
Strategic Map load in source code
By: Drecouse on Tue, 20 January 2015 16:37
|
|
|
Re: Strategic Map load in source code
By: Flugente on Tue, 20 January 2015 22:08
|
|
|
Re: Strategic Map load in source code
By: Drecouse on Wed, 21 January 2015 00:05
|
|
|
Re: Strategic Map load in source code
By: Flugente on Wed, 21 January 2015 00:27
|
|
|
Re: Strategic Map load in source code
By: Drecouse on Wed, 21 January 2015 00:53
|
|
|
Re: Strategic Map load in source code
|
|
|
Re: Strategic Map load in source code
By: Flugente on Wed, 21 January 2015 01:23
|
|
|
Re: Strategic Map load in source code
By: CVB on Wed, 21 January 2015 09:57
|
|
|
Re: Strategic Map load in source code
By: Drecouse on Wed, 21 January 2015 14:26
|
|
|
Re: Strategic Map load in source code
By: Flugente on Wed, 21 January 2015 14:28
|
|
|
Re: Strategic Map load in source code
By: CVB on Wed, 21 January 2015 16:42
|
|
|
Re: Strategic Map load in source code
By: CVB on Wed, 21 January 2015 17:14
|
|
|
Re: Strategic Map load in source code
By: Flugente on Wed, 21 January 2015 21:27
|
|
|
Re: Strategic Map load in source code
By: Drecouse on Thu, 22 January 2015 16:31
|
|
|
Re: Strategic Map load in source code
By: Flugente on Thu, 22 January 2015 22:11
|
|
|
Re: Strategic Map load in source code
By: Drecouse on Fri, 23 January 2015 13:35
|
|
|
Re: Strategic Map load in source code
By: Drecouse on Thu, 29 January 2015 16:18
|
|
|
Re: Strategic Map load in source code
|
Goto Forum:
Current Time: Fri Jan 10 14:47:29 GMT+2 2025
Total time taken to generate the page: 0.01113 seconds
|