• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

saving every thing in game chache

Status
Not open for further replies.
Level 3
Joined
Jun 9, 2019
Messages
27
I am making RTS campaign which i want to make chapters have conected maps like this picture:
upload_2019-7-1_0-18-48.png

being campaign is not a point but when it is so player builds things which are
unpredictable it is not just 1 or 5 hero. is it possible and how ?
 
You should study Rexxar campaign to see how it's done.
Actually only the hero (or all the travelers if they are more than one) is saved in the cache, maps are saved using save/load.

The process is the following:
- hero leaves map A
...... - hero is saved to cache
...... - hero is removed from map
...... - map A is saved in special folder (look at rexxar campaign for details)
...... - transition to map B :
............ - map B previous savegame is loaded from special folder, if it exists
............ - or map B is initialized if hero travels here for the 1st time
- map B is loaded
...... - hero is created from cache at arrival point
 
Status
Not open for further replies.
Back
Top