Media
Description πŸ‡¬πŸ‡§ Description πŸ‡«πŸ‡·

Gmod Dynamic Map Switching - World Expansion - Script

Demonstration Youtube video of Gmod Dynamic Map Switching - World Expansion

Gmod Dynamic Map Switching - World Expansion for Garry's Mod, allows different maps to be dynamically linked in the game. Players physically move to transition points, and when the required number of players is present, as determined by the server owner, the server map switches to the next map after an automated map change. The players then appear consistently in the new map. This mod allows players to trigger these map changes autonomously, which maintains the immersion of the game. It allows you to create a game world that spans several maps, and to design dungeons, high-risk zones and quests that take place on other maps. You can define transition conditions based on rank or job. This add-on gives players control over how the game world evolves as a function of their activity without staff intervention for a map change.

Introduction Extending a tunnel to another map Menu to Set transition point Admin feature from the panel All modules of Gmod Dynamic Map Switching Limitation per ranks and jons Set HUD styles Set zone styles Information about zones Ratio demo Hide map switch zone custom-message-image Edit the HUD and the area style

Maximum image size
Description

Description of Gmod Dynamic Map Switching - World Expansion

Summary:
  1. πŸ—ΊοΈ Addon Description: Gmod Dynamic Map Switching - World Expansion
  2. πŸ“ Placing Transition Zones on Different Gmod Maps Without Mapping
  3. βš™οΈ Editable Gmod Dynamic Map Switching Modules from the Admin Interface Included
  4. πŸ’Ό Limitations by Jobs or Ranks
  5. πŸ”΅ Transition Zone Display Customization Tools
  6. 🎨 HUD Information Panel Customization Tools
  7. 🧩 Scripts Compatible with Gmod Dynamic Map Switching - World Expansion
  8. πŸ’» API for Developers


πŸ—ΊοΈ 1. Addon Description: Gmod Dynamic Map Switching - World Expansion

"Gmod Dynamic Map Switching - World Expansion" is a remarkable addon designed for Garry's Mod, offering a dynamic linking system between different maps. This system allows players to physically move to transition points, and when a sufficient number of players are present, as determined by a percentage set by the server owner, the server's map switches to the next map. Players then appear in a location consistent with the new map.

This mod allows players to trigger map changes autonomously, without the need for server staff intervention. This helps maintain a realistic gaming immersion, as players themselves initiate these transitions by physically reaching the designated location. Once the map change is executed, players in the transition area appear in the transition area of the next map, ready to continue their adventure.

With this addon, you have the opportunity to create an extended gaming world across multiple maps. You can design dungeon instances, high-risk zones in certain cities, or even create quests to collect items that don't exist on a standard map. In summary, you have the ability to build an extended map that spans multiple maps.

Furthermore, this mod offers you the flexibility to define conditions for transitioning to the next map, ensuring a realistic continuity. You can create multiple transition zones, allowing players to choose when to switch to the next map. You set the percentage of players required in the transition zone to trigger the map change, as well as the minimum number of connected players required for the system to be active.

If you're looking to build a gaming world across multiple maps while ensuring logical transitions that maintain an immersive experience, this addon is the ideal tool for you. For example, imagine a scenario where your server is an open world, and as you approach the castle gate, the server map automatically switches to a new map, placing players behind that gate on the new map.

When the number of players in the transition zone reaches the desired ratio, the server moves to the next zone, and players appear in the transition area of the next map. Thanks to this mod, players are encouraged to move physically, eliminating the need for surveys to decide which maps players want to explore. Active players are the masters of their adventures, making decisions that influence the evolution of the gaming universe.

To avoid any confusion, the script does not allow you to launch several gmod maps at once.



πŸ“ 2. Placing Transition Zones on Different Gmod Maps Without Mapping

When you create a zone, point A is placed instantly. Then, go to another map, select the zone you created, and place point B. That's it, and it already works. You can edit:

The zone's size.
The message.
The map.
The position.
The arrival angle.
The point's image with a link to an image, allowing you to configure zones with custom images without needing to upload to Garry's Mod's workshop.


βš™οΈ 3. Editable Gmod Dynamic Map Switching Modules from the Admin Interface Included

From the script's administration interface, you can view and adjust the system's behavior without restarting your server:

trv_min: Allows you to set the minimum player threshold required for the system to function. Default is 0.
trv_zone_time: When players enter a zone, a time loop activates and checks the number of players in the zone. Default is 10 seconds.
trv_ratio: Allows you to set the percentage of connected players required to activate the transition to the next map. If there are 20 players at 50%, that means only 10 players are needed. Default is 50%.
trv_switch_delay: Time before the map change when the required player count is reached. Default is 0 seconds. The switch is immediate.
trv_secure_delay: Allows the system to turn off just after a server reboot. Default is 5 seconds.
trv_db_filter: Only players in a zone who have reached the required number spawn in the transition area of the next map, while others spawn at the map's spawn points. Default is set to ON.



πŸ’Ό 4. Limitations by Jobs or Ranks

By default, everyone has a say when entering a zone. But you have the option to make certain ranks or jobs inactive in the decision-making process, turning it into a VIP feature or restricting it based on your needs by jobs or ranks. For example, in a militaryRP scenario, only high-ranking officers can make this decision. Or reserve this functionality for administrators only for multiplayer use. The choice is yours, depending on your needs.



πŸ”΅ 5. Transition Zone Display Customization Tools

Several zone styles are included, allowing for more or less discreet zones. The color and effects are configurable, and the display distance is also customizable.



🎨 6. HUD Information Panel Customization Tools

When a user enters the zone, they will see on their HUD the players required to progress to the next map. This interface is also customizable. You can choose the layout of elements, size responsively, and colors.



🧩 7. Scripts Compatible with Gmod Dynamic Map Switching - World Expansion

All of my scripts support saving before the map change.

Gmod Advanced Inventory System: Players retain their inventory in the same state after a map transition, continuing with the same equipped weapons and the same amount of ammunition they had in hand before the map change.

All my state alteration scripts are also supported.

An API is planned to incorporate saves with external scripts. But you won't have to do anything with my scripts; it's my job to work on compatibility between my products.



πŸ’» 8. API for Developers

player:Save_TravelSystem() -- If you need to make saves with third-party mods, this server-side API included in the code will be executed at the time of the save.

πŸ”Ή WIKI & F.A.Q πŸ‡¬πŸ‡§
Wiki πŸ‡¬πŸ‡§ Wiki πŸ‡«πŸ‡·

Wiki of Gmod Dynamic Map Switching - World Expansion

Gmod Dynamic Map Switching - World Expansion


☰ 1. Installation of Gmod Dynamic Map Switching - World Expansion
Installation: Download and Unzip the folder norda_dynamic_map_switching.zip Install the addon in the addons file of your Gmod server,
Path: garrysmod/addons/norda_dynamic_map_switching
☰ 2. Where can I find resources and materials? What is the Gmod Dynamic Map Switching - World Expansion Workshop id?
Vous trouverez les ressources dans le workshop de Garry's Mod sur Steam. - Gmod Workshop ID of Gmod Dynamic Map Switching - World Expansion: 3071218064
- The AddWorkshop function is automatically added to the script server file and can be deactivated from the configuration file. : resource.AddWorkshop( 3071218064 )
- To add gmod workshop resources to your collection : Gmod Dynamic Map Switching - World Expansion [Content Only] | Gmod Workshop
☰ 3. How to open the management and configuration menu for transition points?
By command: norda_dynamic_map_switching
Or through the shortcut button in the administration system: Nor Admin Mod.
☰ 4. How to place a map transition zone with Gmod Dynamic Map Switching?
Open the transition points/Transition Zones management menu.
Click on the Add Transition Zone button with the little green plus sign. The zone will immediately appear where you are looking.
Placing a map transition zone in Gmod
☰ 5. Can you switch from server to server like a multiverse?
No. This is not that kind of script. This system simply remembers the position before/after passing through the player's zone to switch the map and spawn players in the zone of the next map. It takes into account the state-saving of all my scripts, such as health, thirst, hunger, inventory, level, etc. That's why it's not a system for server-to-server transfers because servers would need to handle this data on an external database. Although I did this on my Zworld gamemode 10 years ago, it hasn't become common on Gmod yet (I'll think about a solution of this kind accessible to everyone).
☰ 6. Modules: How to disable map switching if the required number of players is not reached?
If you want the system to only work when a certain number of players are connected, it's possible. By default, it's set to 0 users. In the list of modules, go to the trv_min line and replace the value 0 with the one you prefer.
List of modules in Gmod Map transition system
☰ 7. Modules: How does the time loop that counts players in a zone work, and how can it be modified?
The user counting system in a zone runs on a 10-second loop. It only activates if a player is in a zone and automatically stops if there are none. The trigger is not a Think or a Timer, and it's not on the server side because the trigger is on the client side. There is server-side security to control user positions when it's triggered. To modify the time loop, go to the list of modules and find the trv_zone_time line. By default, it's set to 10 seconds.
List of modules in Gmod Map transition system
☰ 8. Modules: How to set a required percentage of connected players for map switching to be valid?
If you want the decision to depend on a percentage of players, it's possible. It's already configured at 50% by default, meaning half of the connected players are required. To change it, go to the script management menu and Modules, and find the trv_ratio line. Set the percentage that suits you.
List of modules in Gmod Map transition system
☰ 9. Modules: How to adjust the activation time of the map transition system just after a map change?
If you want the system to not activate for a certain time after a reboot, it's possible. From the list of modules, you'll need to find the trv_secure_delay line and set the value you desire. By default, it's set to 5 seconds.
List of modules in Gmod Map transition system
☰ 10. Modules: Is it possible to just inform players via chat when they enter a continuation zone and disable the zone effect?
Yes. From the list of modules, go to the trv_warn line. By default, it's set to OFF because visual effects are enabled by default. But remember that those who don't know your server or your universe won't be able to guess it if you don't provide them with a source of information.
List of modules in Gmod Map transition system
☰ 11. Ranks options: I want the system to only work with VIPs or Administrators, is that possible?
Yes, open the management menu and disable the roles taken into account.
Management menu for roles in Gmod Dynamic Map Switching
☰ 12. Jobs options: I want the system to only work with certain DarkRP jobs, is that possible?
Yes, open the management menu and add the jobs that can be taken into account.
Job management menu in Gmod Dynamic Map Switching
☰ 13. Modules: How to add a transition delay once the required number of players in the zone is reached to avoid instant switching?
By default, once the required number of players is reached in a zone, the server saves positions and immediately switches to the next map. To add a delay to the switch, go to the Module menu in the mod management panel and find the trv_switch_delay line. By default, it's set to 0 seconds. Choose the time you want.
List of modules in Gmod Map transition system
☰ 14. What to change on the HUD, does that mean there's a HUD?
When a player enters the zone, the HUD will display the progress bar of players missing to validate a map switch. The HUD is only activated at this point. If he leaves the zone he will be counted down and the information HUD will be deactivated.
HUD Editor Gmod Dynamic Map Switching
☰ 15. Modify the style of the zones to minimise the visual effect.
From the HUD management interface you will have a list of possible modifications, such as the colour of HUD elements and Zones on the map. You can also select other more or less discreet zone styles.
HUD Editor Gmod Dynamic Map Switching
☰ 16. Is it possible to adjust the display distance?
Yes, from the HUD management interface go to the Zone Display distance (Meter) line which indicates the display distance in metres.
HUD Editor Gmod Dynamic Map Switching
☰ 17. Players can be teleported to a zone for server events.
It will be possible to teleport all the players on the map to one of the zones already set up. Normally this feature was created for debugging and testing purposes, but it may also be useful, so I've left it in the source code. All you have to do is right-click on a zone and choose the teleportation action you want.
Teleportation functions
Tips

Tip to avoid the leak of Gmod Dynamic Map Switching - World Expansion installed on your Garry's Mod server: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?

Gmod Addon


πŸ“₯ Download 1.3


🎫 Ouvrir Ticket


avatar-76561198033784269

Creator: Norda Scripts

Sales25
Published1 year
Last update
Versionversion 1.3
DRMYes
CategoriesGmod addons
RequierementsGarry's Mod Server
LanguagesπŸ‡¬πŸ‡§ πŸ‡«πŸ‡· πŸ‡©πŸ‡ͺ πŸ‡ͺπŸ‡Έ πŸ‡·πŸ‡Ί
Gameplay Allgamemode