12-11-2010, 13:47
I just found this:
Code:
// Sumeet/MikeD Note: How to add a weapon. "OFFLINE" mode only not, for now
// 1. string_assets\class.str:
// -Add/modify class.str for OFFLINE_CLASS# -- # being the desired number in the menu list.
// 2. maps\mp\gametypes\_class.gsc:
// -Add/modify level.classMap in init() to the corresponding CLASS#
// -Add/modify a load_default_loadout() with the corresponding CLASS#
// -If adding a new "weapon class" add to the if/else in weapon_class_register()
// 3. share\raw\mp\offline_classTable.csv:
// -Add/modify the weapon and the appropiate attachments into this list
// 4. share\raw\mp\statsTable.csv
// -Add/modify an entry in here with the corresponding weapon information.
// 5. share\raw\ui_mp\scriptmenus\changeclass_offline.menu
// -Add/modify to the CHOICE_BUTTON_FOCUS section the appropiate CLASS#
// 6. share\zone_source\common_mp_weapons.csv
// -Add the weapon
// -- You may need to add a icon material to ui_mp.csv, which is referred to from the statsTable.csv