This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Weapon (object)
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The administrator who locked it offered this explanation: Archived wiki
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 19: | Line 19: | ||
|} | |} | ||
Valid parameters for a weapon object are: | Valid parameters for a weapon object are: | ||
− | + | ||
− | + | ;name: the name of the weapon, generally unused. | |
− | + | ;position: the position in world units for the effect to begin at | |
− | + | ;rotation: the orientation in degrees for the effect to fire in. | |
− | + | ;color: the color the weapon should be. 0: rogue, 1: red, 2: green, 3: blue, 4: purple 5: observer, 6: rabbit - note there is no observer super bolt texture | |
− | + | ;tilt: the vertical tilt in degrees for the effect to fire in. | |
− | + | ;initdelay: the delay to wait after the server starts before the effect is triggered. | |
− | + | ;delay: a list of delays to loop through after the startup delay. (optional) | |
− | + | ;type: the [[FlagCode]] for the flag effect to use for the weapon. Using V or A for example would create a high speed bullet while using SW would create a shockwave. | |
− | + | ;trigger: if a delay is not used, when to trigger the flag, currently only oncap is valid. | |
− | + | ;eventteam: the team to use when looking at oncap weapons. Use numeric values 1 - red 2 - green 3 - blue 4 - purple. Explodes when the flag of that team is captured. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
The weapon object can be used as many times as desired on a map. | The weapon object can be used as many times as desired on a map. | ||
Line 62: | Line 48: | ||
* [[Comparison of map editors|map editors]] | * [[Comparison of map editors|map editors]] | ||
* [[Comparison of map objects|map objects]] | * [[Comparison of map objects|map objects]] | ||
− | * [ | + | * [[Wwzones]] - a plug-in which can be used to create landmines, booby traps using world weapons. |
[[Category:Map Making]] | [[Category:Map Making]] | ||
[[Category:Map Objects]] | [[Category:Map Objects]] |