(Created page with "thumb Easy FPS Editor lets you set up to 8 weapon types. You can do so in "Weapons Settings" option in "Objects Settings" menu. By default there are no weapons. All you have to do to add it is rename one of them: Each weapon is tied to a slot in player inventory banded to keys 1 to 8. To delete a weapon just click the button under the list. All properties are self explaining but there is a list with explanation at the bottom of this page. Here you...")
Easy FPS Editor lets you set up to 8 weapon types. You can do so in "Weapons Settings" option in "Objects Settings" menu.
Easy FPS Editor lets you set up to 8 weapon types. You can do so in "Weapons Settings" option in "[[Objects]] Settings" [[menu]].
By default there are no weapons. All you have to do to add it is rename one of them:
By default there are no weapons. All you have to do to add it is rename one of them:
Line 19:
Line 19:
* '''Max ammo''' - max ammo player can hold for this weapon.
* '''Max ammo''' - max ammo player can hold for this weapon.
* '''Mag ammo''' - number of ammo in a magazine. Set to 0 to disable reloading.
* '''Mag ammo''' - number of ammo in a magazine. Set to 0 to disable reloading.
* '''Damage''' - damage dealt to enemies or decorations.
* '''Damage''' - damage dealt to [[enemies]] or [[decorations]].
* [[File:Weapons2.png|thumb]]'''Fire rate''' - weapon fire rate (in frames per second. Since 7 is default frames number, 7 equals 1 shot per second).
* [[File:Weapons2.png|thumb]]'''Fire rate''' - weapon fire rate (in frames per second. Since 7 is default frames number, 7 equals 1 shot per second).
* [[File:Weapons3.png|thumb]]'''Bullets number''' - number of bullets per shot. If set higher than 1 a weapon will act as a shotgun.
* [[File:Weapons3.png|thumb]]'''Bullets number''' - number of bullets per shot. If set higher than 1 a weapon will act as a shotgun.
Line 30:
Line 30:
* '''Ammo in box''' - number of ammo given when ammo item is picked up.
* '''Ammo in box''' - number of ammo given when ammo item is picked up.
* '''Melee''' - sets if weapon is a melee type.
* '''Melee''' - sets if weapon is a melee type.
* [[File:Weapons4.png|thumb]]'''Uses projectiles''' - sets if weapon shoots projectiles or is a hit scan.
* [[File:Weapons4.png|thumb]]'''Uses projectiles''' - sets if weapon shoots projectiles or is a hit scan.
* '''Fullbright projectiles''' - disables or enables lighting on projectiles
* '''Fullbright projectiles''' - disables or enables lighting on projectiles
Revision as of 13:11, 28 July 2023
Easy FPS Editor lets you set up to 8 weapon types. You can do so in "Weapons Settings" option in "Objects Settings" menu.
By default there are no weapons. All you have to do to add it is rename one of them:
Each weapon is tied to a slot in player inventory banded to keys 1 to 8. To delete a weapon just click the button under the list. All properties are self explaining but there is a list with explanation at the bottom of this page.
Here you can set weapon position and scale:
Import sprites:
And import sounds:
Historically engine was made to work at 1280 by 720 resolution. So weapon position is bind to these sizes. Thus to center a weapon horizontally you'll need to set position to (640 - half width of the sprite).
It is strongly recommended to store resources separated from the project folder as they will be copied to appropriate folder and renamed as needed.
Weapon settings:
Max ammo - max ammo player can hold for this weapon.
Mag ammo - number of ammo in a magazine. Set to 0 to disable reloading.