TheDoctor0 / CoDMod

Call of Duty Mod for Counter-Strike 1.6 (AMXX 1.8.3 / 1.9 / 1.10).
http://codmod.5v.pl/
MIT License
11 stars 4 forks source link

CoD Mod

Call of Duty Mod for Counter-Strike 1.6 (AMXX 1.8.3 / 1.9 / 1.10).

Release pack contains configuration and plugins with all needed resources: models, sounds, sprites etc.

Feel free to suggest new functionality, changes and of course please report any found bugs.

Compatibility

Mod was tested on AMXX builds:

In both cases with ReHLDS and ReGameDLL also installed.

Documentation

Online documentation with all natives, forwards and constants is available on codmod.5v.pl. You can also find it in cod.inc.

It is recommended to read docs, as there are many build-in features that make writing classes, items and others plugins much easier.

Configuration

The configuration can be changed by cvars loaded from cod_mod.cfg.

All of available cvars have short descriptions.

Plugins can be enabled / disabled in plugins-cod.ini.

Optional

Options for main menu are stored in cod_menu.ini.

Missions configuration is stored in cod_missions.ini.

Available skins are stored in cod_skins.ini.

Additional

Class promotion

Do you want to add promotions (advances) to classes?

Check this example to learn how to do it.

Item access

There are two supported options for defining access to item:

  1. Flag (easy) - use flag parameter in cod_register_item native.
  2. Forward (harder) - implement cod_item_check function in item plugin - example in item Cien.

Known issues

"Cache_TryAlloc: 2331984 is greater then free hunk" crash can be caused on maps with big .bsp file by multiple sprites loaded by cod_icons.amxx plugin. You can fix it by doing one of those things:

  1. Add -heapsize 65535 to server launch options.
  2. Uncomment #define LITE in cod_icons.sma and compile it locally to use version with smaller sprites.

Servers

List of servers that are using this mod is available HERE.