Branches: Difference between revisions
Jump to navigation
Jump to search
Cazomino05 (talk | contribs) (Created page with "Todo.") |
Cazomino05 (talk | contribs) m (Todo: sort formatting.) |
||
Line 1: | Line 1: | ||
== Weapon Creation == | |||
Weapon creation is a branch for creating friable weapon elements | |||
Status: In process | |||
Branch: Weapon-Creation | |||
Functions: | |||
weapon createWeapon(type, x, y, z) | |||
type = weapon name e.g. M4 | |||
x, y, z = x,y,z position | |||
bool fireWeapon(weapon) | |||
bool setWeaponState(weapon, state) | |||
state = "ready", "firing" or "reloading" | |||
bool setWeaponProperty(weapon, property, value) | |||
property = damage/accuracy |
Revision as of 19:29, 21 June 2012
Weapon Creation
Weapon creation is a branch for creating friable weapon elements
Status: In process Branch: Weapon-Creation Functions: weapon createWeapon(type, x, y, z) type = weapon name e.g. M4 x, y, z = x,y,z position bool fireWeapon(weapon) bool setWeaponState(weapon, state) state = "ready", "firing" or "reloading" bool setWeaponProperty(weapon, property, value) property = damage/accuracy