Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selected weapon overwritten when editing properties of multiple entities in RED #245

Open
GooberRF opened this issue Aug 21, 2024 · 0 comments

Comments

@GooberRF
Copy link
Contributor

To reproduce:

  • Place an entity in RED (e.g. guard1)
  • Place a second entity (e.g. guard2)
  • Make sure the weapon ("Default Primary" in properties) for the first entity is different from the second entity (e.g. 12mm Pistol for guard1 and Assault Rifle for guard2)
  • Multi select both, go to properties, hit OK
  • Both now have the same weapon selected (12mm Pistol in the example)

For entities where the weapon is valid for both, going into properties for either will now display the same weapon.

For entities where the weapon is not valid (per "Allowed Weapons" in entity.tbl), going into properties will display "none" for "Default Primary", however they will still use that weapon if you save and test the map in-game. For example, see the screenshot below, guard2 (left) cannot normally use a pistol, but I edited the properties of both him and guard1 (right) who does use a pistol. This overwrote the selected weapon for guard2 (Assault Rifle) with a pistol, even though guard2 normally can't use a pistol (and lacks animations for it).
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant