rafalh / dashfaction

A community patch for the Red Faction (2001) FPS game
https://www.factionfiles.com/ff.php?action=file&id=6252
Mozilla Public License 2.0
61 stars 11 forks source link

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

Open GooberRF opened 3 months ago

GooberRF commented 3 months ago

To reproduce:

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