6arelyFuture Future
  • 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
Future commented on pull request alterware/iw6-mod#19 2025-01-24 13:06:25 +00:00
Adds precaching of weapons in loaded zones because normal precache doesn't work for custom weapons. Reload mod after level is loaded.

Hello, I will close this as this was completed via 3d77a21f3d (Co-Authored by you)

Final thoughts: The IW5…

Future pushed tag v0.0.1 to alterware/iw6-mod 2025-01-24 13:00:18 +00:00
Future pushed to master at alterware/iw6-mod 2025-01-24 13:00:10 +00:00
3d77a21f3d assets(weapons): cache weapons from code (Code quaK/H1-Mod probably took from Pluto xD)
Future deleted tag v0.0.1 from alterware/iw6-mod 2025-01-24 12:56:25 +00:00
Future pushed tag v0.0.1 to alterware/iw6-mod 2025-01-24 12:54:56 +00:00
Future pushed to master at alterware/iw6-mod 2025-01-24 12:54:49 +00:00
580ccbd800 assets(weapons): cache weapons from code
Future deleted tag v0.0.1 from alterware/iw6-mod 2025-01-24 12:54:38 +00:00
Future commented on pull request alterware/iw6-mod#19 2025-01-24 12:22:12 +00:00
Adds precaching of weapons in loaded zones because normal precache doesn't work for custom weapons. Reload mod after level is loaded.

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…

Future commented on pull request alterware/iw6-mod#19 2025-01-24 12:12:36 +00:00
Adds precaching of weapons in loaded zones because normal precache doesn't work for custom weapons. Reload mod after level is loaded.

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…

Future commented on pull request alterware/iw6-mod#19 2025-01-24 12:09:54 +00:00
Adds precaching of weapons in loaded zones because normal precache doesn't work for custom weapons. Reload mod after level is loaded.

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…

Future commented on pull request alterware/iw6-mod#19 2025-01-24 12:05:54 +00:00
Adds precaching of weapons in loaded zones because normal precache doesn't work for custom weapons. Reload mod after level is loaded.

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.

![image.png](/attachments/49…

Future commented on pull request alterware/iw6-mod#19 2025-01-24 10:34:26 +00:00
Adds precaching of weapons in loaded zones because normal precache doesn't work for custom weapons. Reload mod after level is loaded.

(on discord, the email i have attached to this account is not monitored often)

Future commented on pull request alterware/iw6-mod#19 2025-01-24 10:26:24 +00:00
Adds precaching of weapons in loaded zones because normal precache doesn't work for custom weapons. Reload mod after level is loaded.

Can you send me a mod where I can test custom weapons?

Future commented on pull request alterware/iw6-mod#19 2025-01-24 10:17:52 +00:00
Adds precaching of weapons in loaded zones because normal precache doesn't work for custom weapons. Reload mod after level is loaded.

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.

Future synced commits to master at Future/iw3_bot_warfare from mirror 2025-01-24 06:09:06 +00:00
230d89edf5 fix this logic error
Future synced commits to t5-refactor at Future/t5_bot_warfare from mirror 2025-01-24 06:09:02 +00:00
93b82d7720 use wrapper
d19be1dd2d fix this var leak
Compare 2 commits »
Future synced commits to master at Future/t4_bot_warfare from mirror 2025-01-24 06:09:02 +00:00
3de51aa71b fix this logic error
Future commented on pull request alterware/iw6-mod#18 2025-01-23 17:45:02 +00:00
Modding Improvements

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…

Future synced commits to t5-refactor at Future/t5_bot_warfare from mirror 2025-01-18 11:19:05 +00:00
223c6e4664 democlient checks
Future synced commits to t5-refactor at Future/t5_bot_warfare from mirror 2025-01-17 02:39:03 +00:00
28bfe5bbda demo records without players