Distrbd21
  • Distrbd21
  • 67.25% (Friendly)
  • Private Topic Starter
15 years ago
OK so the maps are great but now all i need is a timer so the player has xx amount of time to build there base before the computer attacks.
Sponsor
Matthew9170
15 years ago
take a look at the scripts on this map..( its just the scripts not a map)   scrip timer.zip (2kb) downloaded 167 time(s).
Wow, it has been a long time since I was last here.
Distrbd21
  • Distrbd21
  • 67.25% (Friendly)
  • Private Topic Starter
15 years ago
so just replace other_player with all the AI?


BTW thanks for the help man.
Matthew9170
15 years ago
yea pretty much...
Wow, it has been a long time since I was last here.
Distrbd21
  • Distrbd21
  • 67.25% (Friendly)
  • Private Topic Starter
15 years ago
Timers are not working,The AI attacks to fast
Matthew9170
15 years ago
post ur match as an attachment so i can look at it
Wow, it has been a long time since I was last here.
Distrbd21
  • Distrbd21
  • 67.25% (Friendly)
  • Private Topic Starter
15 years ago
There is the map with all the scripts everything.

I had the other part of the script in there and it still didn't work.   Defend or Die 1v7.rar (141kb) downloaded 36 time(s).
Drummin
15 years ago
Moving timer scripts to PlyrCivilian folder might help with timers not working however, you are not going to be able to to control AI behavior without importing the default AI scripts and changing their action and hunting scripts. What you are attempting to do is possible but it will take more than just putting some scripts in the civilian folder. I would suggest setting a timer for each AI in their own folder and adding this to the all attack scripts. Even better would be to set a "hunt" flag to false and then have the timer change this flag to true.

I've uploaded the default scripts to this copy of your map but not done any modifications to the AI folders. I've also attached the default scripts so you can import them to other maps if you wish.

A less glamorous way would to disallow building of units for all players but yourself by putting a script like this in the PlyrCivilian folder.
*** IF ***
    True.
*** THEN ***
  Player 'player1' is unable to build units.
  Player 'player2' is unable to build units.
  Player 'player3' is unable to build units.
  Player 'player4' is unable to build units.
  Player 'player5' is unable to build units.
  Player 'player6' is unable to build units.
  Player 'player7' is unable to build units.
After your set "delay" use the opposite script to allow building of units.   Defend or Die 1v7.zip (288kb) downloaded 45 time(s).   AI_Scripts.zip (225kb) downloaded 68 time(s).