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

[L4D & L4D2] Map-based Configs


Post New Thread Reply   
 
Thread Tools Display Modes
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 04-06-2018 , 06:02   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #11

Quote:
Originally Posted by Chi_Nai View Post
刪除C1M3.cfg 或是cfg裡不填入任何指令
你误解我的意思了.
我的意思是如果一个插件名字是aaa.smx
我想在C1M1.C1M2,C1M4,中启用aaa.smx
在C1M3中禁用aaa.smx

这么设置才能做到?

因为有一个插件在C1M3中会造成服务器100%崩溃,在别的地图都正常,所以我想在C1M3中 禁用这个插件.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Chi_Nai
BANNED
Join Date: Apr 2018
Location: GB
Old 04-06-2018 , 07:59   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #12

Quote:
Originally Posted by phoenix0001 View Post
你误解我的意思了.
我的意思是如果一个插件名字是aaa.smx
我想在C1M1.C1M2,C1M4,中启用aaa.smx
在C1M3中禁用aaa.smx

这么设置才能做到?

因为有一个插件在C1M3中会造成服务器100%崩溃,在别的地图都正常,所以我想在C1M3中 禁用这个插件.
你可以在aaa.smx做個on或off的指令 然後再c1m3用關閉指令sm_cvar off 禁用它 其他地圖則是用sm_cvar on開啟它
Chi_Nai is offline
Send a message via ICQ to Chi_Nai Send a message via AIM to Chi_Nai Send a message via Yahoo to Chi_Nai Send a message via Skype™ to Chi_Nai
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 04-06-2018 , 08:28   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #13

但是我不会做插件,也添加不好插件开关,我可以帮插件上传一下,你看看能帮我添加个 插件开关吗?


下面是我给插件作者的留言,但还没回复呢.
https://forums.alliedmods.net/showth...286987&page=14
Attached Files
File Type: sp Get Plugin or Get Source (L4D2ModelChanger.sp - 511 views - 60.7 KB)
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Mitsuru
Member
Join Date: Jun 2013
Location: Fakes country
Old 09-14-2018 , 02:25   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #14

It may change the ending map? l4d2 does not inherit the essence of l4d.
Mitsuru is offline
TiTz
Member
Join Date: Jan 2020
Old 04-26-2020 , 19:57   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #15

I'm trying to use this plugin for L4D1 - how do I format the cfg's for use?
For example Dead Air Campaign?:

l4d_airport01_greenhouse.cfg
l4d_airport02_offices.cfg
l4d_airport03_garage.cfg
l4d_airport04_terminal.cfg
l4d_airport05_Runway.cfg

And add my cvars to each file ?

Regards

TiTz
TiTz is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 04-27-2020 , 07:45   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #16

Put them inside cfg/sourcemod/map_cvars folder.

Inside the file you put the cvars you want.

sm_cvar z_tank_health 8000
sm_cvar sb_all_bot_game 1
sm_cvar sb_max_team_melee_weapons 4
__________________
Psyk0tik is offline
TiTz
Member
Join Date: Jan 2020
Old 04-27-2020 , 12:55   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #17

Excellent Thank you Crasher
TiTz is offline
CosmicD
Senior Member
Join Date: Dec 2009
Location: Hasselt, Belgium
Old 04-29-2022 , 19:28   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #18

seems to work good for l4d_river01_docks.cfg, I needed something like that because the game mode config loader plugin from 2010 isn't really working anymore.
__________________
CosmicD is offline
KadabraZz
Senior Member
Join Date: May 2020
Old 06-12-2022 , 04:12   Re: [L4D & L4D2] Map-based Configs
Reply With Quote #19

Just some information that might be useful to someone.

Warning: I tested this only on L4D1
You can do exactly what this plugin does by creating a cfg folder inside the maps folder, like.
maps/cfg/l4d_river01_docks.cfg
maps/cfg/l4d_hospital01_apartment.cfg

And inside the cfg file, write the cvars you want.
KadabraZz is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-12-2022 , 07:11   Re: [L4D2]Level Difficulty Edit
Reply With Quote #20

Quote:
Originally Posted by Mi.Cura View Post
it would be better if it were cvar configurations for each type of difficulty:
( would suit any campaign, including custom )

easy (cfg) / normal (cfg)/ advanced (cfg)/ expert (cfg).

But for each MAP..., why?
Glubtastic maps must disable auto ban for committing suicide.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 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 11:00.


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