Raised This Month: $ Target: $400
 0% 

[TF2] Zombie Fortress (Perks [v4.2.0.16] / Vanilla [v4.0.6.4])


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
dirtyminuth
Senior Member
Join Date: Sep 2009
Old 07-23-2010 , 15:15   Re: [TF2] Zombie Fortress (Perks and Vanilla)
Reply With Quote #11

Quote:
Originally Posted by jameless View Post
Does this mean we have to create a cfg to turn it on? Or will it still start automatically unless we tell it otherwise?
You will not have to create a special ZF config file unless you want to set variables to something other than default values. Here are two examples.
  1. You want to change the survivor percentage from 65% to 75% for all maps.
    • Create a ZF configuration file (in the same directory as server.cfg). Call it zf.cfg.
    • Inside of zf.cfg, place "sm_zf_ratio 0.75".
    • Inside of server.cfg, place "exec zf.cfg".
    • Done! At the start of each map, server.cfg is executed, which in turn calls zf.cfg, which sets the survivor ratio to 75%.
  2. You want to change the survivor percentage from 65% to 75% for zf_mapname only.
    • Create a ZF configuration file (in the same directory as server.cfg). Call it zf.cfg.
    • Inside of zf.cfg, place "sm_zf_ratio 0.65".
    • Inside of server.cfg, place "exec zf.cfg".
    • Create another ZF configuration file (in the same directory as server.cfg). It must have the same name as the map, in this case, zf_mapname.cfg.
    • Inside of zf_mapname.cfg, place "sm_zf_ratio 0.75".
    • Done! At the start of each non-zf_mapname map, server.cfg is executed, which calls zf.cfg, which sets the survivor ratio to 65%. At the start of zf_mapname, server.cfg / zf.cfg are executed again, but then zf_mapname.cfg is executed, overwriting the old survivor ratio and setting it to 75%.
I may be rusty on where files need to go, so I'll review it when I get home. But that's basically how it works.
__________________

Last edited by dirtyminuth; 07-23-2010 at 15:17.
dirtyminuth is offline
 



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 21:58.


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