This guide is really out of date. If you join the discord at discord.gg/Bf4nQb5 or view the tutorial on WCsharp github (github.com/Orden4/WCSharp) you'll get a better idea.
That's correct. The constant generator is also combined into the Launcher project now, so you just start the Launcher, and it asks if you want to: 1) Generate Constants 2) Compile map 3) Compile and launch map (test)
@@thechrisgrice Yes I know. Please tell me, I added the barracks "gg_unit_hbar_0000" to the map. How can I work with a global variable? I can not understand what I need to do so that I can work with her.
@@justnike2744 Any custom units you make will be caught by the Constant Generator. Check the WCSharp Wiki on it: github.com/Orden4/WCSharp/wiki/WCSharp.ConstantGenerator And given that you're using "gg" at the start, it sounds like you're using the trigger editor. You should not be using the trigger editor *AT ALL* with this package.
@@thechrisgrice It was I who looked at the name of the barrack in the trigger editor. I don't see my building in "Contstants.cs". Maybe it's because the building is standard? Or maybe in general, ideally, abandon the creations in the unit editor? Or is it better to add units through programming?
@@justnike2744 Always make custom units, do not use the standard game units, or they will change whenever you update your map's patch data. Constant Generator also isn't capable of picking up any standard game units. Also, you should not be referring to "preplaced" units in the editor in your code. Place them using the code, or find them with a unit group query.
amazing tutorial, +1
Great guide , quick one without the template setup, how do i name the solution?
This guide is really out of date. If you join the discord at discord.gg/Bf4nQb5 or view the tutorial on WCsharp github (github.com/Orden4/WCSharp) you'll get a better idea.
@@thechrisgrice thanks i noticed after i posted :) cheers for reply. also love assault the throne!
Looks like the download has been updated, there is no more need of the step about the Template Setup.exe. Correct me if i'm wrong.
That's correct. The constant generator is also combined into the Launcher project now, so you just start the Launcher, and it asks if you want to:
1) Generate Constants
2) Compile map
3) Compile and launch map (test)
Starts at 1:36
Please tell me where can I download this map to learn?
If you want to get started with programming in WCSharp, the set up is quite different now. Check github.com/Orden4/WCSharp/wiki
@@thechrisgrice Yes I know. Please tell me, I added the barracks "gg_unit_hbar_0000" to the map. How can I work with a global variable? I can not understand what I need to do so that I can work with her.
@@justnike2744 Any custom units you make will be caught by the Constant Generator. Check the WCSharp Wiki on it: github.com/Orden4/WCSharp/wiki/WCSharp.ConstantGenerator
And given that you're using "gg" at the start, it sounds like you're using the trigger editor.
You should not be using the trigger editor *AT ALL* with this package.
@@thechrisgrice It was I who looked at the name of the barrack in the trigger editor. I don't see my building in "Contstants.cs". Maybe it's because the building is standard? Or maybe in general, ideally, abandon the creations in the unit editor? Or is it better to add units through programming?
@@justnike2744 Always make custom units, do not use the standard game units, or they will change whenever you update your map's patch data.
Constant Generator also isn't capable of picking up any standard game units.
Also, you should not be referring to "preplaced" units in the editor in your code. Place them using the code, or find them with a unit group query.