- Europe
- https://alterware.dev
-
🤿 Computer Scientist 🤿 SSI Technical XR Scuba Diver Founder and lead developer of AlterWare
she/her/hers
- Joined on
2023-12-08
Hello, I will close this as this was completed via 3d77a21f3d
(Co-Authored by you)
Final thoughts: The IW5…
Btw also do we know why precacheitem does not work on custom weapons? I knew it did on iw5 but maybe not! It's disabled on piw5 because weapons are cached like this from code but I have done 0…
Looking at IW5 where I can make sense of the assembly better it seems the internal name is actually used rather than the public name. I'll await on your response to confirm. It's not safe to take…
I'm perplexed about sorting the weapons array using weapDef->szOverlayName vs the internal name
internal name would be first in your union vs name which is the second. Do you know which one…
I take this code is from h1-mod (Ofc h1-mod did not author this code and I am aware of another client where this was from)
However, you made a correction I think.

Can you send me a mod where I can test custom weapons?
Mhh, I see. I need to consult with others to see if it's possible to avoid caching duplicates. As I understand this code could possibly run twice on weapons already loaded by the level.
I probably won't be able to merge this code in this state. I don't regard this as an improvement in terms of code quality.
I see a lot of duplication in mods.cpp and fastfiles.cpp due to what I…