Command reference

RangedWeaponType

CombatBuilderbuilder

Command words
rangedweapontype rwt
Permission
SeniorAdmin

Help on RangedWeaponType

The RangedWeaponType command is used to create and edit Ranged Weapon Types, which are used in the matching game item components to turn an item into a ranged weapon. You will separately need to make the matching item component with the Component command. You can use the following syntax with this command: rwt list - lists all ranged weapon types rwt edit <id|name> - opens the specified ranged weapon type for editing rwt edit new <name> - creates a new ranged weapon type for editing rwt edit - equivalent of doing SHOW on your currently editing ranged weapon type rwt close - closes the currently edited ranged weapon type rwt clone <id|name> <new name> - creates a carbon copy of a ranged weapon type for editing (including attacks) rwt show <id|name> - shows a particular ranged weapon type rwt set name <name> - changes the name rwt set type <type> - changes the ranged weapon type that it codedly applies to rwt set range <#> - sets the range in rooms that this weapon can fire rwt set class <class> - sets the weapon classification of this weapon rwt set firestamina <#> - the amount of stamina needed to fire this weapon rwt set loadstamina <#> - the amount of stamina needed to load this weapon rwt set cover <#> - the bonus (-ve for penalty) against targets in cover rwt set aimdifficulty <difficulty> - the difficulty of the aim check rwt set aimloss <%> - how much percentage of the aim to lose after firing rwt set freehand - toggles needing a free hand to ready the weapon rwt set fireskill <skill> - sets the skill used when firing the weapon rwt set operateskill <skill> - sets the skill used when loading/readying the weapon rwt set melee - toggles being able to use the weapon to shoot in melee rwt set ammotype <grade> - sets the ammo type that ammunition must match rwt set ammocapacity <#> - sets the internal capacity for ammunition rwt set loadtype <loadtype> - sets the ammunition load type rwt set loaddelay <seconds> - sets the delay after loading rwt set readydelay <seconds> - sets the delay after readying rwt set firedelay <seconds> - sets the delay after firing rwt set accuracy <formula> - sets the formula for accuracy bonus with the weapon rwt set damage <formula> - sets the formula for damage bonus with the weapon For the accuracy formula you can use the following parameters: quality - the quality of the weapon item range - the range in rooms inmelee - 1 if being fired in melee, 0 otherwise aim - the aim percentage between 0 and 1 variable - the character's current value of the fire skill For the damage formula you can use the following parameters: quality - the quality of the weapon item range - the range in rooms inmelee - 1 if being fired in melee, or 0 otherwise pointblank - 1 if fired point blank, or 0 otherwise degrees - the opposed outcome degree between 0 (marginal) and 5 (total) variable - the character's current value of the fire skill