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

Start the game with a specific building

Level 3
Joined
Sep 2, 2024
Messages
9
Hi,
first of all I apologize for my English but I'm French and I use Google Trad.
I would like to position human buildings at the start of the construction phase (as in the image).

Play Map Test.png


The goal is that farmers can only build existing buildings present at the start of the game and not new ones.

The best would even be to be able to modify the model but I think I'm asking too much.

Thanks in advance if anyone can help me.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,871
Hi, it's not an easy thing to do.

You need to use special triggers to create the construction phase buildings.

I made an example map that you can download below.

If you want to use this in your own map:
1) You need to copy and paste all of the Object Editor data, Trigger Editor data, and Regions to your own map.
2) Then edit the CCS Setup trigger to use the correct data.

Here's an example of how to use my triggers:
  • EXAMPLE
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Set VariableSet CCS_Building = Barracks
      • Set VariableSet CCS_Owner = Player 1 (Red)
      • Set VariableSet CCS_Point = (Center of Region1 <gen>)
      • Trigger - Run CCS Create <gen> (ignoring conditions)
CCS_Building = The type of building that you want to create.
CCS_Owner = The player that the building will belong to.
CCS_Point = Where the building will be created.
 

Attachments

  • Create Construction System 1.w3m
    21 KB · Views: 5
Last edited:
Level 3
Joined
Sep 2, 2024
Messages
9
Hi, it's not an easy thing to do.

You need to use special triggers to create the construction phase buildings.

I made an example map that you can download below.

If you want to use this in your own map:
1) You need to copy and paste all of the Object Editor data, Trigger Editor data, and Regions to your own map.
2) Then edit the CCS Setup trigger to use the correct data.

Here's an example of how to use my triggers:
  • EXAMPLE
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Set VariableSet CCS_Building = Barracks
      • Set VariableSet CCS_Owner = Player 1 (Red)
      • Set VariableSet CCS_Point = (Center of Region1 <gen>)
      • Trigger - Run CCS Create <gen> (ignoring conditions)
CCS_Building = The type of building that you want to create.
CCS_Owner = The player that the building will belong to.
CCS_Point = Where the building will be created.
Thanks so much !
Do you know if I can change the skin of foundation of human building ?
 
Top