world_setup:minigames_weapons
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
world_setup:minigames_weapons [2020/03/10 08:05] – mit | world_setup:minigames_weapons [2023/07/22 07:16] (current) – [Introduction to Weapons] mit | ||
---|---|---|---|
Line 14: | Line 14: | ||
==== Introduction to Weapons ==== | ==== Introduction to Weapons ==== | ||
+ | |||
+ | The World Editor (F10) has two main screens for controlling the use of weapons in the world : **Global Weapons Controls** (which sets parameters that affect how weapons work in general) and the **Weapons Editor** (which allows you to change the properties of individual weapons. | ||
+ | |||
+ | |||
+ | ==== Global Weapons Controls ==== | ||
+ | |||
+ | There are 3 main options for determining which weapons players have access to:\\ | ||
+ | 1) ***Weapon Selection Mode** -> **Set By Vehicle** : the weapons a player can use will depend on which vehicle they are in. The weapons available to the vehicle are set in the Vehicle Settings screens.\\ | ||
+ | 2) ***Weapon Selection Mode** -> **Selected by Inventory** : the weapons a player can use will depend on what items they have in their inventory. (Weapon item numbers correspond to the weapon types in your setup file).\\ | ||
+ | 3) You can also assign weapons to players via script using [[reference: | ||
+ | |||
+ | |||
+ | On this page you can also set which keys are used to fire weapons ( **Weapon Control** ) or you can use **Weapon Selection** -> **Inventory + next weapon select** which means the player has one weapon active on the primary key and then a ' | ||
+ | |||
+ | |||
+ | === Other ways of affecting weapons === | ||
+ | |||
+ | ** Whether weapons work everywhere or just in certain places.** | ||
+ | By default, weapons will be allowed everywhere as long as you have set Fighting to 1, but you can add safe zones where no weapons are allowed.. Check out the Zones tool on the left panel in the world editor. | ||
+ | |||
+ | |||
+ | |||
+ | ==== Modifying Weapons.txt directly (Advanced) ==== | ||
Weapons on your world are created using a combination of settings, the weapons definition file (**Data\Weapons.txt**) and (optionally) 3d models & sound effects. Weapons can also be tied in to Server Scripts. | Weapons on your world are created using a combination of settings, the weapons definition file (**Data\Weapons.txt**) and (optionally) 3d models & sound effects. Weapons can also be tied in to Server Scripts. | ||
Line 49: | Line 72: | ||
Check the [[World Setup:: | Check the [[World Setup:: | ||
- | ==== Weapon settings | + | |
+ | ==== Raw Settings for Weapons | ||
**1. Whether your world allows weapons, or not.** | **1. Whether your world allows weapons, or not.** |
world_setup/minigames_weapons.1583845508.txt.gz · Last modified: 2020/03/10 08:05 by mit