• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[General] Questions on Reforged for a old newbie

Status
Not open for further replies.
Level 3
Joined
Nov 11, 2021
Messages
33
1. What are the constraints and best practice for FourCC allocation? (except for H*** for heroes)

2. Is it possible to place same ability on different UI button positions depending on unit type? (non-hero)

3. Does Leak matters in Reforged, given sufficient memory? (In other words, will incur trigger performance issues or leads to assertion failure crash?)

4. Is there some way to accelerate the modify-to-test time for Reforged map scripting?
 
  1. Are you talking about naming best practices of object ids in the object editor? If so, it doesn't really matter. Capital first letter decides about whether the unit is a hero or not, but apart from that, do as you please. I personally like the Blizzard naming convention, i.e. reserving the first letter for the race (or any category that matters for you) and the following three letters to identify the object.
  2. Copy-paste the ability and set different X/Y-positions for the copy.
    If that is not what you want, you can theoretically change the icon position of your ability via trigger for one unit only (but you would need to do that again for every unit that you want to be affected, so it's probably more effort than just making a copy of your ability in the first place).
    The GUI-action can be found at "Ability - Set Ability Integer Field" (and select "button position" as the integer field).
  3. On modern pc's, Wc3 leaks should hardly affect performance in a single game. As far as I can recall though, Wc3 doesn't free up the memory after you have finished playing a map, so leaks carry over to the next map until you restart the game.
    Anyhow, you as a programmer should still care for removing object leaks. It doesn't require much effort after all.
  4. Having the game on your SSD instead of HDD drastically decreases Reforged startup time. Testing on SD graphics might also save some seconds. Apart from that, if you code in Lua (which I assume after seeing you talking about FourCC), I highly recommend coding in a proper development environment like VSCode plus sumneko-extension. This prevents a lot of bugs, which obviously decreases test-time much more than optimizing Reforged startup.
 
Status
Not open for further replies.
Top