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

Map configs with prefix support 1.3


Post New Thread Reply   
 
Thread Tools Display Modes
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 01-12-2019 , 21:56   Re: Map configs with prefix support 1.3
Reply With Quote #181

Quote:
Originally Posted by Cruze View Post
You don't need to unload abner_deathrun in mg_ maps as it will disabled as long as you don't put "sm plugins load abner_deathrun" in mg_.cfg
and idk why my plugins are not auto unload after map change.... all plugins of each mod are puted in each folder and in disabled folder.
If this plugin can load and unload plugins by FOLDER is way more better to manage plugins / mod
maybe can use this code?
Quote:
Originally Posted by NanoC View Post
You can use this plugin to do that
For example:
plugins unload /MyJailbreak/.*/
plugins unload /10PLUGINS/.*/
__________________

Last edited by nguyenbaodanh; 01-12-2019 at 21:57.
nguyenbaodanh is offline
TheBOSS
Member
Join Date: Nov 2018
Old 03-04-2019 , 04:45   Re: Map configs with prefix support 1.3
Reply With Quote #182

is there any way to config admin commands?
for example : gungame mod, I should use admin command "gg_enable - gg_disable" to enable or disable gungame mod for each map
TheBOSS is offline
Cruze
Veteran Member
Join Date: May 2017
Old 04-16-2019 , 12:05   Re: Map configs with prefix support 1.3
Reply With Quote #183

Can we change tickrate via this config file?
Game - CSGO (If needed)
__________________
Taking paid private requests! Contact me

Last edited by Cruze; 04-16-2019 at 12:20. Reason: If*
Cruze is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 04-16-2019 , 12:41   Re: Map configs with prefix support 1.3
Reply With Quote #184

Quote:
Originally Posted by Cruze View Post
Can we change tickrate via this config file?
Game - CSGO (If needed)
No, the only way is changing it from the command line
__________________
NanoC is offline
Send a message via Skype™ to NanoC
Cruze
Veteran Member
Join Date: May 2017
Old 04-16-2019 , 13:01   Re: Map configs with prefix support 1.3
Reply With Quote #185

Quote:
Originally Posted by NanoC View Post
No, the only way is changing it from the command line
Okay expected the same. Thank anyways!!
__________________
Taking paid private requests! Contact me
Cruze is offline
Yundaz
Member
Join Date: Apr 2019
Old 06-21-2019 , 05:07   Re: Map configs with prefix support 1.3
Reply With Quote #186

Hi there,

I've tried to switch gamemodes with the following commands on a specific map:

mp_game_mode 0
mp_game_type 1
exec gamemode_armsrace
mp_restartgame 1


But this gets buggy and we spawn with no guns and only half of the hud ui is shown.
Any ideas or other sollutions to switch between gamemodes on different maps?
Yundaz is offline
Escovas
Junior Member
Join Date: Nov 2010
Old 03-31-2020 , 12:15   Re: Map configs with prefix support 1.3
Reply With Quote #187

Quote:
Originally Posted by Yundaz View Post
Hi there,

I've tried to switch gamemodes with the following commands on a specific map:

mp_game_mode 0
mp_game_type 1
exec gamemode_armsrace
mp_restartgame 1


But this gets buggy and we spawn with no guns and only half of the hud ui is shown.
Any ideas or other sollutions to switch between gamemodes on different maps?

me too, did someone find a fix?
__________________


Escovas is offline
AdRiAnIlloO
Member
Join Date: Jul 2015
Location: Spain
Old 12-26-2021 , 17:12   Re: Map configs with prefix support 1.3
Reply With Quote #188

For anyone looking for the chance to change ConVars such as mp_teamplay instantly with this plugin upon map/s load, not having to set them before changing map anymore, you can use attached custom version.

Config file patterns:
  • *.pre.cfg (new): For settings that must be applied as soon as map begins loading (required for mp_teamplay)
  • *.cfg (unchanged): For settings that must be applied right after both the map and base settings (e.g. server.cfg) load

Use case: "Overriding gamemode = CTF. I want to enforce mp_teamplay 1, and also set timelimit to 60" > Add mp_teamplay 1 to ctf.pre.cfg and mp_timelimit 60 to ctf.cfg. +If you need to disable teamplay on the normal modes (not CTF), you could add mp_teamplay 0 to ctf.cfg; this way, the value will be 0 at the CTF session/s but teamplay disable will only be effective when returning to a normal mode.

Source code
Attached Files
File Type: smx mapconfigs.smx (4.8 KB, 157 views)

Last edited by AdRiAnIlloO; 12-26-2021 at 17:22.
AdRiAnIlloO is offline
daren adler
Member
Join Date: Aug 2017
Location: Iowa
Old 04-27-2022 , 21:37   Re: Map configs with prefix support 1.3
Reply With Quote #189

Works even after all of these years. I have a EXILE server that runs this and has for awhile (years lol). I still can not fix the trouble that i am having , and that is when player or i get to a map that has the bots spawn, i always have to restart the map for them to enter like they are written to do. Would love to have it work after every map change, any ?, This is the only 2 cfg's in the map-cfg i am using - hrcbot_enabled 0 and hrcbot_enabled 1 , The bots only come out in 6 maps, the rest are in coop/co/ep1. Everything works great but the deal with having to restart maps that bots spawn on. Thank you
__________________
GuitarSlayer

Last edited by daren adler; 04-27-2022 at 21:51.
daren adler is offline
Send a message via MSN to daren adler
AdRiAnIlloO
Member
Join Date: Jul 2015
Location: Spain
Old 06-22-2022 , 09:13   Re: Map configs with prefix support 1.3
Reply With Quote #190

Quote:
Originally Posted by daren adler View Post
Works even after all of these years. I have a EXILE server that runs this and has for awhile (years lol). I still can not fix the trouble that i am having , and that is when player or i get to a map that has the bots spawn, i always have to restart the map for them to enter like they are written to do. Would love to have it work after every map change, any ?, This is the only 2 cfg's in the map-cfg i am using - hrcbot_enabled 0 and hrcbot_enabled 1 , The bots only come out in 6 maps, the rest are in coop/co/ep1. Everything works great but the deal with having to restart maps that bots spawn on. Thank you
Sounds like my enhanced plugin version should work for you, by using the new .pre.cfg files. Aka the instant mp_teamplay toggle ability being equivalent to your bots need.

Last edited by AdRiAnIlloO; 06-22-2022 at 09:14.
AdRiAnIlloO is offline
Reply


Thread Tools
Display Modes

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 11:52.


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