New to Staredit and need help

P

please help

Guest
I' m making a map where there are two teams of 4 people each and each person has one unit. The unit is a marine and thats all he plays with. However, since I'm using Map Settings instead of Melee settings when I play all the start locations have command centers on them. Is there anyway I can replace the command centers for just a marine or maybe barracks perhaps. Also what is the trigger to ressurect a dead unit (If there is one.)?
 
S

SA_Max71

Guest
Uh, will use this? Or did I just waist 1 hour typing this up?

please help said:
I' m making a map where there are two teams of 4 people each and each person has one unit. The unit is a marine and thats all he plays with. However, since I'm using Map Settings instead of Melee settings when I play all the start locations have command centers on them. Is there anyway I can replace the command centers for just a marine or maybe barracks perhaps. Also what is the trigger to ressurect a dead unit (If there is one.)?
For the command center... try deleting your the triggers that the map came with. When you open a new map there are 3 triggers in it. Delete these triggers in your map. If that doesn't work, try checking to see if the human players can choose what race they are, and if they have random start locations. If the humans can choose what race they are at the start of the game, then change their race. They tend to start out with a hatchery, Command center, or nexus if they can choose their race at the beginging of the game (before the game starts). For example, you DON'T want it to look like this:
attachment.php

To get to the box displayed in the picture above, click on "Player" --> "Settings". As for the random start location... You want it to look something like this: http://www.thehelper.net/forums/attachment.php?attachmentid=1384&stc=1[/IMG
You can get to the box in the picture above by clicking on "Scenario" --> "Forces".

Now, as for your dead marine... I am going to assume that the human players will own a maximum of one marine. If you have 2 or more, there is a very good possiblity I just waisted my time with the triggers below, since this system only likes using unique units. There will be 2 triggers involved, 1 location, and at least 4 hypertriggers (I will give you more information on hypertriggers later in my post).

[B][SIZE=4]Trigger one: [/SIZE][/B]

[B] Conditions:[/B]
--->always
[B] Actions:[/B]
--->Center location labeled 'Location 0' on Terran Marine owned by Current player at 'Anywhere'.
--->Preserve trigger.


[B][SIZE=4]Trigger two: [/SIZE][/B]
[B] Conditions:[/B]
--->Current player brings at most 0 Terran Marine to 'Anywhere'.
--->Elapsed scenario time is at least 1 game seconds.
[B] Actions:[/B]
--->Create 1 terran marine at location 0 for current player.
--->Preserve trigger.

[SIZE=4][B]Hypertriggers:[/B] [/SIZE]
The starcraft engine checks a trigger's conditions once every two seconds. If the conditions of the trigger are met, the trigger runs. With hypertriggers, the a trigger can run up to 12.2 times per second as long as the conditions of the triggers are met and the trigger has a presever trigger (in the actions). A hypertrigger looks like this:
[B] Conditions:[/B]
--->always
[B] Actions:[/B]
--->Wait 0 milliseconds
--->Wait 0 milliseconds (Now, make another 61 of this action)
--->Preserve trigger
That is basicly what a hypertrigger looks like. Note, however, hypertriggers must be owned by a player that doesn't have any waits, or the hypertriggers must be at the bottom of the list of triggers. If you don't do this, you will be lucky if your triggers run properly. If you create 4 of those triggers, the hypertriggers should run for 5 hours before you will notice a NEO (Next Ending Occurance). When the NEO happens, the triggers will go back to the way they were for about 2 seconds before the hypertriggers kick in again.








I hope this helped. (It did right?)

-Max
 

Attachments

  • untitled.JPG
    untitled.JPG
    37.9 KB · Views: 368
  • untitled1.PNG
    untitled1.PNG
    28.4 KB · Views: 306
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top