Raised This Month: $51 Target: $400
 12% 

[L4D2] How to change the game mode as the map changes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rkcool
Junior Member
Join Date: Mar 2020
Location: home
Old 10-01-2020 , 04:03   [L4D2] How to change the game mode as the map changes
Reply With Quote #1

I recently added a map of the creative SteamWorkshop to the server.

When I switch to a specific mode of the map, I always need to modify server.cfg and reload.

If I want to play mako on the next map, I try to change the mode in the console to switch the map but it will fall out of the server and cannot return. Must change map in server and go back.

I feel very troublesome
Can someone give me advice or help?

Last edited by rkcool; 10-01-2020 at 07:29.
rkcool is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-01-2020 , 05:12   Re: [L4D2] How to change the game mode as the map changes
Reply With Quote #2

If you mean the Mako FFV maps, then is because there is no other mode than "survival" on its mission files, so if you try to change the map it will crash / fail to load.
The best way is to detect what is the next map and change its gamemode before map change.
__________________
Marttt is offline
rkcool
Junior Member
Join Date: Mar 2020
Location: home
Old 10-01-2020 , 07:23   Re: [L4D2] How to change the game mode as the map changes
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
If you mean the Mako FFV maps, then is because there is no other mode than "survival" on its mission files, so if you try to change the map it will crash / fail to load.
The best way is to detect what is the next map and change its gamemode before map change.

ye.

I tried looking for related plugins but didn't find it in AlliedModders forum.

Thanks for your advice
rkcool is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode