Skip to content

Commit

Permalink
removed 86% of legacy crates. Leaving the single shells only + better…
Browse files Browse the repository at this point in the history
… scaling code lines.

- Testing the new scaling processor for ammo crates. The old one was hard to read.
Includes the detection of legacy crates that are part of the backward replacement list.
- Included comments regarding to how the scale processor functions work
- Added ACE_DefineAmmoCrate function. Used to define new legacy crates like those that were removed now.
- ACE_DefineLegacyAmmoCrate. Used to define potentially removed crates from ACE, but you are expecting backwards to scalable ones.
  • Loading branch information
MartyX5555 committed Oct 23, 2023
1 parent 36b7a3e commit 4fa77ed
Show file tree
Hide file tree
Showing 6 changed files with 644 additions and 907 deletions.
2 changes: 1 addition & 1 deletion lua/acf/client/cl_acfmenu_gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ do

acfmenupanel.AmmoData = {}
acfmenupanel.AmmoData["Id"] = "10:10:10" --default Ammo dimension on list
acfmenupanel.AmmoData["IdLegacy"] = "Ammo2x4x4"
acfmenupanel.AmmoData["IdLegacy"] = "Shell100mm"
acfmenupanel.AmmoData["Type"] = "Ammo"
acfmenupanel.AmmoData["Classname"] = Classes.GunClass["MG"]["name"]
acfmenupanel.AmmoData["ClassData"] = Classes.GunClass["MG"]["id"]
Expand Down
Loading

0 comments on commit 4fa77ed

Please sign in to comment.