Military Conflict: Vietnam

Military Conflict: Vietnam

Not enough ratings
How to make custom gamemodes
By Skizmo
   
Award
Favorite
Favorited
Unfavorite
How to make custom gamemodes
There are many of ways you could go about making a custom gamemodes. You can combine these in any way.


\vietnam\resource\vietnam_loadout.txt
is where the loadout lives. You can add or remove weapons and change what uniforms and wearables are available.
"vietnam_loadout_zombie.txt" controls the zombie loadout.

Being able to load custom loadouts will be coming in the future. (like the "vietnam_loadout_special" loadout)


\vietnam\gamemodes.txt
is where the gamemodes live. You can edit the current gamemodes by adding .cfg(s) to exec on map load. The Gun Game modes have a weapon progression that you can edit. If you don't want random pools but a set progression. Just put a single weapon per category. (max 60)

Soon it will be possible to add new gamemodes that have the attributes of other gamemodes.
EXAMPLE:
"based_off_gamemode" "0" // This tells the game to load Team Deathmatch rules for this gamemode


\vietnam\scripts
is where the weapon scripts are. You can edit everything from the stats to the particles and sounds.


\vietnam\resource\loadouts
is where custom loadouts by year are stored. You can manually install these if you want. Opening up the "make_year_loadouts.py" in a text editor will explain to you how to make your own loadouts by cutoff years


Console commands
You can use console commands to change up the gameplay and control what bots can do. To search for console commands use the "find" command. For example if you wanted to look at the third person commands you would use "find thirdperson".
You can put multiple commands in a .cfg so you can run them all easily
Here are some example console commands:

bot_chatter : 0 : , "sv", "rep" : Control how bots talk. Allowed values: 'off', 'radio', 'minimal', or 'normal'. ff_damage_bullet_penetration : 0 : , "rep", "cl" : If friendly fire is off, this will scale the penetration power and damage a bullet does when penetrating another friendly playe ff_damage_grenade_hit : 1 : , "rep", "cl" : Enables or disables team damage from thrown grenade impacts ff_damage_reduction_bullets : 0 : , "rep", "cl" : How much to reduce damage done to teammates when shot. Range is from 0 - 1 (with 1 being damage equal to what is done to an en ff_damage_reduction_grenade : 0 : , "rep", "cl" : How much to reduce damage done to teammates by a thrown grenade. Range is from 0 - 1 (with 1 being damage equal to what is don ff_damage_reduction_grenade_self : 1 : , "rep", "cl" : How much to damage a player does to himself with his own grenade. Range is from 0 - 1 (with 1 being damage equal to what is do ff_damage_reduction_other : 0 : , "rep", "cl" : How much to reduce damage done to teammates by things other than bullets and grenades. Range is from 0 - 1 (with 1 being damag mp_allow_parachute : 0 : , "sv", "rep", "cl" : Allow to enable parachute. mp_drop_bash : 1 : , "sv" : Enable/Disable the ability to knock weapons away with a bash. mp_drop_charge : 1 : , "sv" : Enable/Disable the ability to knock weapons away with a charged attack of the shovel. mp_drop_fists : 1 : , "sv" : Enable/Disable the ability to knock weapons away with a charged punch. mp_pistols_only : 0 : , "sv", "rep", "cl" : Players and bots spawn with pistols only. mp_random_class_and_loadout : 0 : , "sv", "rep", "cl" : Give random loadout and assign random class to player. 2 - do it only on first spawn, 1 - do it on each respawn. mp_random_loadout : 0 : , "sv", "rep", "cl" : Give random loadout to player. 2 - do it only on first spawn, 1 - do it on each respawn. mp_weapon_self_inflict_amount : 0 : , "sv", "rep" : If Set to non-0, will hurt the attacker by the specified fraction of max damage if they miss. sv_damage_level : 1 : , "rep", "cl" : Global damage multiplier. 0 - weak (0.5) 1 - normal (1.0) 2 - strong (2.0) sv_sprint_enabled : 1 : , "rep", "cl" : Controls sprinting vietnam_force_weapon : cmd : : Force specific weapon on player weapon_accuracy_forcespread : 0 : , "rep", "cl" : Force spread to the specified value. weapon_accuracy_nospread : 0 : , "rep", "cl" : Disable weapon inaccuracy spread weapon_air_spread_scale : 1 : , "rep", "cl" : Scale factor for jumping inaccuracy, set to 0 to make jumping accuracy equal to standing