|
|
#1 |
![]() Join Date: Apr 2009
Reputation: 457
Posts: 557
|
Can you execute a config file as a trigger in a map?
Basically, I'm trying to make it so instead of just using the trigger_changelevel, I make it execute a config file which changes the level for me. Is there a way to do this?
|
|
|
|
|
|
#2 |
![]() Join Date: May 2007
Reputation: 7
Posts: 748
|
Point_servercommand
With your trigger output the following OnTrigger > point_servercommand > Command > exec <name_of_config> and your done.. |
|
|
|
|
|
#3 |
![]() Join Date: Jan 2005
Reputation: 323
Posts: 5,220
|
Just be carefull with point_servercommand. It may corrupt your vmf if you place it incorrectly and you have to manually with text editor to remove it.
|
|
|
|
|
|
#4 |
![]() Join Date: May 2007
Reputation: 7
Posts: 748
|
Really, ive never encounted a problem with servercommand. Im current making a map that repeatedly uses a servercommand. In one instance it trigger 5 different cvar in 0.2sec of each other.
|
|
|
|
|
|
#5 | |
![]() Join Date: Jan 2005
Reputation: 323
Posts: 5,220
|
I haven't had issues either, but Valve Developer wiki warns about it.
Quote:
|
|
|
|
|
|
|
#6 |
![]() Join Date: May 2007
Reputation: 7
Posts: 748
|
Ah, i guess it might even mean if you copy/paste an entity (prop, ai, env, ect..ect) then change it to a point_servercommand, i found some parameters stay and you need to manually edit the entity by turning smart edit off.
|
|
|
|
|
|
#7 | |
![]() Join Date: Apr 2009
Reputation: 457
Posts: 557
|
Quote:
Last edited by kami790: 04-26-2012 at 04:51 PM. |
|
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|