I love RAID: World War II. While it’s objectively a dead game, I thought it was pretty fun, and it was even more fun digging into story of its creation and into the source code to see all the neat things that weren’t in the game.
The issue is, after getting every achievement and maxed out every weapon, the only thing I could unlock were outfits, and they were very expensive. Average job that lasted around 15 minutes paid 2 gold bars at best, and limited and rare Outlaw Raids paid ~50. One set of pants is 150 gold bars. That’s rough.
And then I thought that another issue the game has is challenge cards - they were supposed to shake up your gameplay every now and then, change how things are, but due to their limited number and lackluster effects, they were rarely if ever used.
To slightly alleviate these problems, I thought of a simple concept: Daily Raid. Every day you would get a random job selected with a random challenge card applied that would grant around the same amount of gold as a single outlaw raid.
It was fun building UI for it, trying to fit all the things I need neatly into the existing job selection menu, but then I had a complicated problem. You see, one of my design goals was for Daily Raid to award to everyone who plays with you, no matter if they have the mod or not. I wanted this because RAID has a tiny player base, and I don’t want anyone to miss out on a little fun my mod brings to the game. But this meant that I had to come up with some way to give other players gold.
Giving player who has the mod gold is easy - just call a function to give gold. RAID WW2 mods have complete control over the source code, so it’s trivial to do anything on the side of a player who has the mod. When it comes to other players, I’m limited by the commands that they can listen to.
My first idea was messing with Mission Rewards system, but the system itself is very messy and is entirely controlled on player’s side, so I can’t do anything about it for the un-modded players.
That method worked flawlessly, and I was able to give everyone connected arbitrary amount of gold just by spawning a single golden item and constantly telling everyone “I picked it up, it was worth 1 gold bar” times however many gold bars I needed to give everyone. I actually couldn’t just say “item I picked up was worth many gold bars” because game actually couldn’t add multiple gold bars at once.
Mod was done. After many patches, it was stable, too. It became quite popular among those who still wanted to play RAID.
Years later, a big revival update for RAID was released: Update 22. New skill system, many balance changes, reworked missions, it was fantastic. Quickly modding tools were updated to support it and I started fixing up my mods.
After patching all the UI issues my mods were having, I noticed that gold rewards don’t work anymore. After hours of trying to figure out what’s the cause, I found out that it’s because now golden items have a value property in them. The issue is, this value is 0 by default, and it only gets set during loading screen, meaning that my “spawning a golden item and picking it up” doesn’t work anymore, since this newly spawned item is worth 0 gold.
While developers were adding a proper fix so I don’t have to do any of that silliness again, I was thinking of other ways to grant people gold. I thought “now loot you secure in normal missions gives gold too, right? How does that work?“. The system was dead simple: when item touches secure area, host tells everyone “this variety of loot was secured!“. This meant that all I have to do to give everyone tons of gold, is just tell everyone “I just secured a ton of items”.
It was fun discovering all these hacks, though (un)fortunately developers did add a proper fix for my issue: a simple command that can be called once per raid to give everyone limited amount of gold.
It was a fun journey. My method or granting additional gold via pickup system is now used for all loot, and I actually helped and found a bunch of issues with the system in the game because I first encountered them in my mod. Now I’m planning on adding more challenge cards to the game, though that won’t be coming any time soon.