WCSharp (Warcraft III Programming in C#) Setup Tutorial

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024

Комментарии • 14

  • @BladeMasterRUSH
    @BladeMasterRUSH 3 года назад +1

    amazing tutorial, +1

  • @YourDailyScratch1
    @YourDailyScratch1 Год назад

    Great guide , quick one without the template setup, how do i name the solution?

    • @thechrisgrice
      @thechrisgrice  Год назад

      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.

    • @YourDailyScratch1
      @YourDailyScratch1 Год назад

      @@thechrisgrice thanks i noticed after i posted :) cheers for reply. also love assault the throne!

  • @pinolskun8764
    @pinolskun8764 3 года назад

    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.

    • @thechrisgrice
      @thechrisgrice  3 года назад +1

      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
    @thechrisgrice  4 года назад

    Starts at 1:36

  • @justnike2744
    @justnike2744 2 года назад

    Please tell me where can I download this map to learn?

    • @thechrisgrice
      @thechrisgrice  2 года назад

      If you want to get started with programming in WCSharp, the set up is quite different now. Check github.com/Orden4/WCSharp/wiki

    • @justnike2744
      @justnike2744 2 года назад

      @@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.

    • @thechrisgrice
      @thechrisgrice  2 года назад

      @@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.

    • @justnike2744
      @justnike2744 2 года назад

      @@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?

    • @thechrisgrice
      @thechrisgrice  2 года назад +1

      @@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.