SourceForts v1.4
--------------
SourceForts is a mod were you build forts to protect a flag. It's like CTF except you build things to protect your flag.
==============

Quick Note
------------
The new weapon models for the build weapons are not included in this version, nor are the objects updated
due to my modelers taking years.

I'll release a model pack with them in it later.
==============

Installation
------------
Extract this zip to Steam\SteamApps\SourceMods and open it from the Play Games menu of steam.
==============

Playing
-------
When the game starts, it'll either be in build state or fight state.
In the build state, you have the gravity gun, and a freezer gun and a crowbar/stunstick (if the server has the cvar set for it). 
In this time, you build your fort with your team mates. 
To unfreeze objects, look at the object and hit secondary fire.

If you're on a server with less than 16 people (or whatever the server has set) you may use the freeze command to freeze the currently held object (Default is the x key)

In the fight state, you start with the SMG, Pistol and Grenades by default.
You can hit B (or whatever you have set) during the game to see what the buy choices are, there is multiple pages, each time you hit it it'll go to the next one. You can buy things with the F keys by default.

Once you buy something, you'll have it for the whole round, you may also purchase things during build mode to prepare for fight mode.

To grab a flag, just run into it and it'll appear above your head. Go back and touch your own flag to score, you recieve 5 frags for this.

After a fight round has been over, there will either be a long build time, or a short build time, depending on what the server has set.

Peices can be damaged and will unfreeze if they are fully damaged. You can tell if they are damage by how black they are.
You can also see how much damaged they are when you use the repair spanner on them.

You can buy a Mechanics Kit during fight mode to repair peices and to rebuild things.
===============

Map Making
----------
Just add in the FGD and you're set. 
You MUST, I repeat, MUST add in a logic_gametimer or the map won't work properly.
The logic_gametimer has input/outputs to force build time/fight time or when it hits build time/fight time.

It's a good idea to make func_fortsite brushes over team fort areas, so the other 
team can't freeze/unfreeze in it

For flags, you use the red_flag and blue_flag, which have inputs to force them to return, and outputs for when they are grabbed, returned or when the flags team scores.

Remember to add team spawnpoints, info_player_rebel (red) and info_player_combine (blue)

If you don't want areas to be frozen, use the func_nofreeze entity.

You can use the game_money entity to give or take money from players or teams.

The source for sf_testmap is included.
===============

Servers
-------
You can just use Create A Server to make servers.

The cvars for servers are:
	mp_build_longtime	- default: 10 - Amount of time for main building time (mins)
	mp_build_shorttime	- default: 5  - Amount of time for the quick repair time (mins)
	mp_build_alternate	- default: 1  - Amount of short build times before another long build
	mp_fight_time		- default: 15 - Amount of time for fighting (mins)
	mp_ctf_autoreturn	- default: 45 - Amount of time until the flag auto-returns (secs)
	mp_build_melee		- default: 0  - Sets if you have melee weapons during build mode or not
	mp_freeze_max		- default: 4  - If the player count is below this, they can use the freeze command
	mp_damageable_pieces	- default: 1  - Sets if physics objects are damageable
===============

Changes
-------
v1.4
- Added Subharmonic Destablizer to unfreeze fort peices
- Made money seperate from frags
- When a team scores a flag, everyone on that team gets 5 monies
- Fixed flag auto-returning while help
- Fixed impulse commands working with sv_cheats off
- Made a short build time and a long build time
- Renamed mp_fighttime to mp_fight_time
- Made it so you can't freeze/unfreeze flags anymore
- Fixed gravity gun making things stay invisable/not having collision on mode switch
- Made the game name SourceForts v1.4 so you don't see old servers
- Made muzzle flashes light up the world instead of just models
- Fixed bouncing physics (not confirmed)
- Added 2 second intervals beforce unfreezing things.
- Added OnGrab/OnReturn/OnScore/OnDrop outputs for the flag.
- Made gravity gun, freezer gun and repair spanner buyable in a pack for fight mode.
- Allowed self-freezing during fight mode.
- Added a repair spanner for fixing damagable pieces.
- Fixed crashing if flags are set to freeze during build mode or move during fight mode
- Removed damage from gravity gun
- Added a new cvar: mp_damageable_pieces
- Added outputs to logic_gametimer for when the game mode switches (to anything)
- Made fort pieces damageable, they unfreeze once all health is gone. Health is 5000
- Added an entity (game_money) to give or take money from teams or players
- Made freezer gun show sparks if you fire
- Can't use the freezer gun on players
- sf_testmap: Made prettier, added vphysics clips to materials room for the flag. Added occluders to stop FPS rape
- sf_fortfield: New map. Thanks Tylak!
- sf_domo: New map. Thanks domo!
- sf_drainage: New map. Thanks slashandburn!
- sf_battlefield_v3: New map. Thanks Cleaner!
- sf_abandon: Updated.
- sf_skywalk: Updated.
- sf_citystreets: Removed.
- sf_bridged: Removed.

v1.3.2 20:35 08.02.05 
- Pulse Rifle down to 7 frags
- Fixed auto-freeze not working sometimes
- Fixed sounds only playing if you're close to the flag
- Added no-freeze areas and updated FGD for it
- Made objects go transparent while holding them
- Added entity option to make flags freeze on build mode or move during build mode
- Made message appear when you pick up the flag
- Made SLAMs (just tripmines) usable during build mode
- Infinite sprint during build mode
- New Map: sf_abandon (Thanks Stinger)
- sf_testmap: Added vphysics clips for flags on the roofs, so they can't hit off
- sf_testmap: Made build wall higher and moved spawn points


v1.3.1 16:59 06.02.05 
- Fixed not spawning with the right weapons after buying.
- Put the max checks for physics up to try and stop the random bouncing

v1.3 06:40 06.02.05 
- Added CTF
- Fixed flares not being removed after dying
- Made melee fire rate the same
- Made things buyable
- Moved unfreeze to secondary fire of the freeze gun
- Made Suit power/HP go in faster
- Made SLAMs team responsive (Red explodes only on Blue and vice versa)
- Made if you have melee weapons during build mode a cvar
- Made a freeze command
- sf_testmap: Added wall in the middle and updated models and a few other things
- Models: New box/plate models, thanks alot D3fault! (They are in the models/sf directory)
- New Maps: sf_citystreets (Pinworm) and sf_overload (D3fault)
- Map updates: sf_skywalk (Stinger)

v1.2.1 04:34 27.02.05 
- Fixed servers still showing Half-Life 2 Deathmatch
- Updated map, ammo boxes wern't being re-covered

v1.2 00:24 27.02.05 
- Added outputs and inputs to logic_gametimer for when build/fight mode is started, 
  and to force build/fight
- Added 2 new maps, thanks Kyonai and Stinger
- Updated sf_testmap so that doors cover object areas during fight mode and to
  cover the ammo boxes during build mode, also added health charges at the water
- Added func_fortsite to protect forts from freezing/unfreezing
- Made sparks and a flare appear when freezing
- Made sprint last longer
- Balanced melee weapons, both now do 30 damage
- Fixed things not moving until touched after unfreezing
- Added new things to the Create A Server window

v1.1 22:24 23.02.05 
- Added a HUD Timer, so you know how long you have left
- Made map look better
- Made a FGD
- Included source for map

v1 00:22 23.02.05
- Initial Release
===============

Daniel Callander
knifa@knd.org.uk
http://knd.org.uk/sourceforts/
#sourceforts on irc.gamesurge.net