Start the game with a specific building

Status
Not open for further replies.
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.
 
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

Last edited:
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 ?
 
Status
Not open for further replies.
Back
Top