Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: no more than 1 marine?
no more than 1 marine?
Dec 4 2009, 9:30 pm
By: melnikov  

Dec 4 2009, 9:30 pm melnikov Post #1



hi. i started to make a map and i need help. there is terran baracks. i want after the producing of first unit(for exmaple marine) to not be able to produce another unit using these baracks. i don't want to destroy barracks after first unit producing or kill other units aroud these baracks.



None.

Dec 4 2009, 9:32 pm MadZombie Post #2



you can give the barracks to another player or do something with the price of making marines.

a marine cost 1 mineral and you only have one mineral.



None.

Dec 5 2009, 2:01 am NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

To elaborate on MZ's 1st suggestion: Giving a building to another player and giving it back immediately will cancel everything it builds, researches or upgrades. A minor side effect is that if you had the building selected it will be deselected.




Dec 5 2009, 2:24 pm Biophysicist Post #4



Or this:

Current Player commands exactly 1 Terran Marine
Center location "lolrine" on Terran Marine owned by Current Player at "lolrine"
Preserve Trigger

Current player commands at least 2 Terran Marine
Give all Terran Marine owned by Current Player at "lolrine" to Player 9
Kill all Terran Marine for Current Player
Display text message: "Max of 1 Marine"
Give all Terran Marine owned by Player 9 at Anywhere to Current Player
Preserve Trigger

Post has been edited 1 time(s), last time on Dec 5 2009, 2:34 pm by NudeRaider. Reason: fix'd



None.

Dec 5 2009, 2:37 pm NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

The problem with your solution is that if the first marine is near the barracks it might give the newly built marine to P9 unless you use a 1x1 pixel location.
Also you should modify the 2nd trigger to give money back.




Dec 5 2009, 7:27 pm melnikov Post #6



i think MadZombie's idea for the price of unit is the most suitable for my project.

Post has been edited 1 time(s), last time on Dec 5 2009, 7:35 pm by melnikov.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Roy