beyond-all-reason / beyond-all-reason/RecoilEngine
CommandFire doesn't seem to work
- Dominant language
- C++
- Stars
- 679
- Forks
- 290
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 40
Description
commandfire true, when added to a weapon, should result in a unit that can not fire that weapon unless explicitly ordered. Unfortunately, this doesn't seem to work.
https://github.com/SplinterFaction/SplinterFaction/blob/master/Units-Configs-Basedefs/basedefs/Loz%20Alliance%20-%20Faction%202/lozcommander_basedef.lua#L47
if yopu were to remove the section I linked, then look down in the weapondefs below, you would see that all commanderrailgun weapons have commandfire true, yet they will still automatically fire upon enemy units.
Contributor guide
Research direction
Start with the linked lozcommander_basedef.lua section, then inspect the commanderrailgun weapon definitions below it and reproduce the automatic firing behavior. Done means weapons marked commandfire true stay silent against enemies unless the player explicitly orders them to fire.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, lua
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100