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

AI Players and Minimap

Status
Not open for further replies.
Level 3
Joined
Nov 8, 2008
Messages
30
1. How do I put in a Computer player that cannot be changed?(its race, team, colour and not able to open the slot) I have tried using Player Properties to put in a Computer player but the player never shows in-game.

2. How do I make the map unexplored(When I play the whole map has already been explored. I am able to see the terrain and stuff)

3. Lets say a unit manage to dodge an attack(missed). How do I make that unit(the one that managed to dodge) play a specific animation?

I hope someone can help:bored:
 
Level 8
Joined
Aug 1, 2008
Messages
420
Well for #2, you probably put triggers like:
  • Visibility - Disable black mask
and disable fog of war. delete those and it should be fine.
 
Level 9
Joined
Apr 28, 2009
Messages
538
2/ Simple: Make a trigger like this one:
  • BLACKKK
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Visibility - Enable fog of war
If this ain't work, then do this:

  • BLACKKK
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Fog of war across (Playable map area))
1/ Under "Player Proprieties", add a "Computer" Controlled slot.
 
Level 9
Joined
Apr 28, 2009
Messages
538
2/ than add a similar trigger with "Black Mask" instead of fog of war.

1/ Then add a new force, add your computer slots and, most importantly, check the "Fixed Player Settings"
 
Level 9
Joined
Apr 28, 2009
Messages
538
1/ maybe you have a trigger that DISABLES fog of war(/black mask) and it runs after the trigger that ENABLES fog of war(/black mask)
 
Status
Not open for further replies.
Top