Hey Storm Chaser, My question is when you code for a specific unit, for example the Blackout, how is the code implemented for the hundreds of Blackouts in the entire game. Is it by classes or? Just curious player learning Python
I would recommend to ask FriendlyFixer about this if you want a precise answer for WC. But, I would guess that they use the approach of having some form of list and that every unit has a unique ID number in the list. When it comes to modifying the stats, I would guess that this is done by adding or removing tags and tweaking some numbers like the health count.
I would assume a class that inherits something like airUnit (which inherits unit) and maybe implements the iUniqueUnit interface. I'm sure Axel is right about the database they can edit with an in-house unit designer they've built to input the graphics, stats and filters.That's just the data aspect of units, but the programming would use classes if designed competently.
Thanks for the explanation guys. Both seems to be correct in assumption of how it works. @Axel L do you know how I can ask FriendlyFixer
You can contact him with a private message on the WC Discord server. His discord name is KIX_FriendlyFixer#6246 and his name is also marked with red letter. He do also have a forum account under the name "FriendlyFixer" and his forum rank is "WC Game Team".
Thanks for the explanation guys. Both seems to be correct in assumption of how it works. @Axel L do you know how I can ask FriendlyFixer
You can contact him with a private message on the WC Discord server. His discord name is KIX_FriendlyFixer#6246 and his name is also marked with red letter. He do also have a forum account under the name "FriendlyFixer" and his forum rank is "WC Game Team".
<|= 0302 0320 1310 1220 1211 0200 1313 1233 1302 1210 0230 =|>
<|= 0200 1211 0310 1303 0321 1301 1311 1221 1312 0312 1201 =|>
<|= 1230 1221 1211 0230 0320 0301 1232 1203 1211 0200 1221 =|>
<|= 1232 0200 1201 0302 0200 1210 0320 1221 1203 0232 1310 =|>
<|= 0232 1221 1233 1232 1201 1302 1321 0232 0232 0332 1331 =|>
Helpful links
WC Discord server: https://discord.gg/warcommander
FriendlyFixer's profile page: https://www.kixeye.com/profile/4f121dbb83d34506aa9dbb98
<|= 0302 0320 1310 1220 1211 0200 1313 1233 1302 1210 0230 =|>
<|= 0200 1211 0310 1303 0321 1301 1311 1221 1312 0312 1201 =|>
<|= 1230 1221 1211 0230 0320 0301 1232 1203 1211 0200 1221 =|>
<|= 1232 0200 1201 0302 0200 1210 0320 1221 1203 0232 1310 =|>
<|= 0232 1221 1233 1232 1201 1302 1321 0232 0232 0332 1331 =|>