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/02/17 17:14] – mit | world_setup:minigames_weapons [2023/07/22 07:16] (current) – [Introduction to Weapons] mit | ||
---|---|---|---|
Line 5: | Line 5: | ||
There are a few minigames built into the game that you can include on your world by activating them in different ways: | There are a few minigames built into the game that you can include on your world by activating them in different ways: | ||
- | * === Hornball === | + | * [[world_setup: |
- | * RC Drones | + | * [[world_setup: |
- | * Racing | + | * [[world_setup: |
- | * Fishing | + | * [[world_setup: |
- | * Pub games (Chess, poker, etc) | + | * [[world_setup: |
If you get into scripting you can create your own game rules. Minigames are made easier by making use of the [[scripting: | If you get into scripting you can create your own game rules. Minigames are made easier by making use of the [[scripting: | ||
==== 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.** | ||
Line 61: | Line 85: | ||
**3. How people on your world are allowed to use weapons.** | **3. How people on your world are allowed to use weapons.** | ||
- | There are 3 options for determining which weapons players can use: | + | There are 3 options for determining which weapons players can use:\\ |
- | 1) ***Settings -> World -> Weapon Selection Mode** set to 0 : the weapons a player can use will depend on which vehicle they are in. The primary and secondary weapon types are set in the *Settings -> Vehicle sections. | + | 1) ***Settings -> World -> Weapon Selection Mode** set to 0 : the weapons a player can use will depend on which vehicle they are in. The primary and secondary weapon types are set in the *Settings -> Vehicle sections.\\ |
- | 2) ***Settings -> World -> Weapon Selection Mode** set to 1 : players will be able to use any weapon item that is currently in their inventory. (Weapon item numbers correspond to the weapon types in your setup file). | + | 2) ***Settings -> World -> Weapon Selection Mode** set to 1 : players will be able to use any weapon item that is currently 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 *bonusweapon | + | 3) You can also assign weapons to players via script using [[reference: |
**4. Which controls a player must use to fire different weapons.** | **4. Which controls a player must use to fire different weapons.** |
world_setup/minigames_weapons.1581981259.txt.gz · Last modified: 2020/02/17 17:14 by mit