Individual Hold the Flag

Here's the next release of La Truffe's awesome Individual Hold the Flag (IHTF) gametype for Call of Duty 2, now in v1.2. This update has...


Do not refresh or leave this page!

File Description

Here's the next release of La Truffe's awesome Individual Hold the Flag (IHTF) gametype for Call of Duty 2, now in v1.2. This update has got loads of new stuff to keep you coming back for more, including such great advances as added compatibility with the eXtreme mod as seen on this site. :) If you liked the old IHTF, you'll certainly like this packed new version, so make sure you read the v1.2 goodies below, check out the screenies, and get the latest work from La Truffe today! :thumbsup:

  • Negative values now possible for "scr_ihtf_pointsforkillingplayers" (penalize the killing of players not carrying flags)
  • Mod now uses all spawn points available in the map (incl. CTF flag positions, SD bomb zones, and HQ radio positions)
  • Added 2 new DVars: "scr_ihtf_playerspawnpointsmode" and "scr_ihtf_flagspawnpointsmode"
  • Flag time-out now applies when flag has been dropped (not only when flag is at base)
  • Localized all printed text
  • Improved Server Info screen
  • Fixed flag base visibility
  • Added compatibility with eXtreme+


Read More

Download '' (97KB)

Individual Hold the Flag (IHTF) : a gametype for COD2
Version : 1.2
Author : La Truffe ([email protected])

++ Credits

Bell : AWE mod, HTF gametype
Ravir : cvardef function
Astoroth : eXtreme+ mod

++ History log

- initial version
- minor bug fixes and some minor tweaking by Bell before including it in AWE

- force some printed text in white color in case player names include color codes
- add a time out for stealing the flag, controlled by scr_ihtf_flagtimeout ; after this delay the flag respawns elsewhere
- force players to spawn away from the flag, at a minimum distance controlled by scr_ithf_spawndistance
- remove cvar scr_ihtf_removeflagspawns

- enable scr_ihtf_pointsforkillingplayers to be negative, to be able to penalize players killing non flag carriers
- make use of all spawn points available in the map, as well as CTF flag positions, SD bomb zones and HQ radio positions ; 2 new dvars : scr_ihtf_playerspawnpointsmode and scr_ihtf_flagspawnpointsmode
- flag time out applies also when flag has been dropped - not only when flag is at base
- all printed text is localized
- more informative serverinfo screen
- fixed flag base visibility
- compatibility with eXtreme+

++ Object

IHTF is based on the famous HTF gametype.
For those familiar with HTF, IHTF is a mix between HTF and DM.
Basically, it is like HTF without teams, or DM with an objective (the flag).

The object is to get the flag, which spawns randomly, and hold it as long as possible.

The flag holder scores 3 points every 30 seconds by default.
The flag is always marked on the compass.

The first player that reaches the score limit wins.
The player with the best score at time limit wins.

Any player can kill any other player, being the flag holder or not.
However, killing the flag carrier, stealing the flag and holding it earns more points.

If the flag has not been stolen within a time limit, it will respawn elsewhere. This in case it may become unreachable to players.

++ Compatibility with COD2

COD2 1.3
Do NOT try it on older versions, it will probably not work well, if working at all.

++ Compatibility with mods

IHTF 1.2 is compatible with the latest AWE mod (3.0 beta 10b).
IHTF 1.2 is compatible with the latest eXtreme+ mod (1.4v9 and later).
It's also usable in a standalone form.
For other mods an adaptation may probably be needed.

++ Compatibility with maps

IHTF 1.2 is able to create player spawn points and flag spawn points from the following entities defined in maps :
- DM, TDM, CTF, SD spawn points
- CTF flag positions
- SD bomb zones
- HQ radio positions
This is configurable by 2 dvars.


However, compatibility does NOT guarantee it will be enjoyable in all maps.
For example, sniper maps usually have 2 areas separated by a non crossable frontier. IHTF will work on those maps but the gameplay will be pretty dumb.

++ Installation / uninstallation

The mod is presented in 3 flavours : one for AWE, one for eXtreme+, one in standalone form.
It has a client and a server part. It cannot be made server-side only because it contains client files. However, the client part is ridiculously small.
It's available with separate client and server IWDs, as well as a combined client + server IWD.

To install, put the appropriate IWDs in your fs_game folder.

For AWE and eXtreme+ users, be careful to make sure that the client and server files are loaded BEFORE those of the mod, because an older version of IHTF (1.1) is already present in AWE and eXtreme+.
You may also want to combine the files with your mod ; in this case some existing files will have to be overwritten with newer ones from IHTF 1.2.

To uninstall, just remove the client and server IWDs.

++ Configuration

Please see the sample ihtf.cfg for a description of the new dvars, and a note about dvar overriding.
Copy/paste the desired dvars in your config file or make it execute ihtf.cfg, and set g_gametype to ihtf in your config file.

++ Limitations / problems

The mod does not include configuration options from a listen server ; please use a dedicated server instead, listen servers are known to be mods unfriendly anyway.

IHTF being an additional gametype, it may not be possible to vote for this gametype with the standard voting option. This is a known COD2 limitation, and there's little we can do for that. Also, custom maps won't be showing on the menu if you select IHTF, even if they actually work fine with IHTF.

The client and server part of the mod both include a file with the same name (ihtf.gsc) : this is intended ! on your server, you have to make sure that the server part will be read before the client part. A way to achieve this is to keep the file names intact. Remember that COD2 loads files in the inverse alphabetical order ; zzz_ihtf_svr_1.2.iwd will be read BEFORE zzz_ihtf_cli_1.2.iwd, so in the server the correct ihtf.gsc will be loaded (from the server IWD) and the blank one (from the client IWD) will be ignored.

The serverinfo screen has been stripped down in the eXtreme+ version, because this mod reserves half of the serverinfo screen for itself.

You may find in your server log lines such as "WARNING: Spawn point entity 683 is in solid at (2495, -1793, 172)" but you can ignore them ; the game complains about some new spawn points but it should not be a problem.

++ Copyright

Copywhat ?? no, seriously... as long as you don't forget the credit you're free to do anything you want with this mod.

++ Feedback

Please give your feedback (comments, bug reports, suggestions, cheers, insults or whatever) preferably in this thread, or by a PM in this forum, or by email at [email protected]
Remember that this is still beta, and may (read : "surely") contain bugs, as it's difficult to test in conjunction with every standard option or many features provided by AWE or eXtreme+ mods.
I'm particularly interested in script error reports from the console log, because it's sometimes difficult to reproduce bugs.
Another sweet tool for helping the debugging is to make a small demo (with the console command /record) showing the problem.

Have fun with this gametype !

Read More

Comments on this File

There are no comments yet. Be the first!

La Truffe

50 XP

Registered 2nd March 2006

6 Files Uploaded

Share This File
Embed File