dragaoart
Since 2009...
- Joined
- May 10, 2009
- Messages
- 97
- Reaction score
- 9
Hello all, I'm a web developer and OT enthusiastic.
Today I'm presenting you a concept for discussion: Dynamic Generated Maps.
Dynamic Maps
Dynamic maps are maps generated by the server, based on a map template, that will be allocated in the server memory for Raid-like events.
This concept consists in creating a map when a player or a team join in a party quest(Raids) or arena.
That area of the map is cloned as an object and stored in the server memory, then allow that same area to be re-used if needed another Raid. It will generate an infinite amount of that map piece, depending on the number of parties joining the same Raid.
In example:
Party - 4 players:
--edit
Recommended link #1 Generating maps? - The idea of this script is to spawn random areas on the map. It is a nice start point.
Recommended link #2 Infinity Training Room - A practical implementation using a template map on void spaces
Tags related: dynamic, mapping, generate, server, c++, programming, random, instantiate, function
Today I'm presenting you a concept for discussion: Dynamic Generated Maps.
Dynamic Maps
Dynamic maps are maps generated by the server, based on a map template, that will be allocated in the server memory for Raid-like events.
This concept consists in creating a map when a player or a team join in a party quest(Raids) or arena.
That area of the map is cloned as an object and stored in the server memory, then allow that same area to be re-used if needed another Raid. It will generate an infinite amount of that map piece, depending on the number of parties joining the same Raid.
In example:
Party - 4 players:
- They go to the entrance location, find the activation switch, with all 4 members in defined spot to be transported to a quest area.
- Once they activate the switch, that quest area will be cloned by a function code, allocate that same map on a new memory location.
- After that, when they are inside the quest, another party with new members try to enter the same area.
- Then the server will generate again, another map, with the same tiles, but in a new pseudo-location. Not necessarily inside the map, but in virtual map.
- Generate a map tempate without interfering on the current map system.
- "Cloning" a piece of the map without high memory usage.
- Manage a systemic memory allocation to define when the party if off the map to delete and free the memory to a new Raid.
--edit
Recommended link #1 Generating maps? - The idea of this script is to spawn random areas on the map. It is a nice start point.
Recommended link #2 Infinity Training Room - A practical implementation using a template map on void spaces
Tags related: dynamic, mapping, generate, server, c++, programming, random, instantiate, function
Last edited: