Modding

From King Arthur's Gold Wiki
Revision as of 21:35, 11 June 2012 by The dnmr (Talk | contribs)

Jump to: navigation, search

Modding in KAG currently takes the form of editing many text files and changing the variables to your liking, as such, it is sort of limited. The main files you will be editing are called Config files(.cfg). This page is a work in progress.


gamemode.cfg

Below

break_time & break_time_static These are used to control the build phase, regular break time varies based on how many people are in the server at map start, and break time static is a fixed non-changing amount.

minimum_players_inteam This controls the amount of players needed to start the game, if not reached it will say

autoassign_teams Auto assigning teams mean that it will force the player onto the team with fewer players on connect, turning it off will let the player choose.

autoassign_classes Forces the default class (class 0) on the player at respawn.

playerrespawn_seconds Determines how long it takes to respawn after a death, lower respawn times tend to cause stalemates in CTF.

nearspawn_multiplier Multiplies the respawn timer if close to the tent or outpost on death, helps to ends stalemates in unlimited unit count servers.

death_points Points gained on death, use negative values for subtracting points.

kill_points Points gained on killing another player.

selfkill_points Points gained on killing yourself, falling into a bottomless pit, using cyanide, or jumping on spikes fall under this category.

attackdamage_modifier Changes how much damage all of the classes do.

falldamage_modifier Determines fall damage, setting to 0 will disable it.

falldamage_threshold & falldamage_constant changes the distance needed to enter stun, and then damaging states while falling.

friendlydamage_modifier Modifies the amount of damage that bombs and arrows do to team mates.

itempick_mode Enables picking up of objects like the flag.


Auto-Update

It is very important that you remember to create new folders for your mods, or else all your hard work will be overwritten when the game is automatically updated. This process checks for any files that are different from the update server and updates them to match the update server, including your mods.