Repository navigation
Adding a new Weapon
Making a new weapon is very easy in OpenRA. First of all open the weapons.yaml from this location
OpenRA\mods\ra
Then search for the SCUD entry and copy it. Now paste it at the bottom of the file however you can paste it at any place. Now we will make little changes here to make it separate.
We can give it any name so we call it LRSCUD (Long Range Scud).
We will change the ROF that is, rate of fire to 300 (higher means slower) and change the range to 20c0 from 12c0.
You can now save the file.
Now go to OpenRA\mods\ra\rules\vehicles.yaml file and search for V2RL (It will most likely be at the top for just find it using Ctrl + F). now look for Armament and change SCUD to LRSCUD like this
Weapon: LRSCUD
Now if you run it in game, the V2 Rocket Launcher will fire long range missiles.
Players ๐ฒ
- FAQ โ
- Installation ๐ฆ
- Hotkeys and Stances ๐ฎ
- Strategies ๐
- RaspberryPi ๐
- Changelog ๐
Modders โ๏ธ
- Audio guide ๐
- Traits ๐
- Palettes and Remaps ๐จ
- World Coordinate System ๐
- Map scripting
- Lua-API ๐
- Actor-Upgrades ๐
- Mapping ๐ง
- Modding Guide
- Pixelart ๐
Developers ๐ง
- Contributing โค๏ธ
- Compiling
- Hacking
- Coding Standard ๐
- Branches and Releases ๐
- Release Checklist โ
- Sequences
- Glossary
- Reverse engineering ๐
- License ยฉ๏ธ