Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Creating Units + Buildings?
Creating Units + Buildings?
Oct 20 2008, 8:53 pm
By: Gummiwormz  

Oct 20 2008, 8:53 pm Gummiwormz Post #1



Is it possible to have a computer create buildings and units from buildings using triggers? instead of just spawning out of no where.

Trying to make a TvZ comp vs human and trying to make it as realistic as possible.



None.

Oct 20 2008, 9:05 pm Pigy_G Post #2



There is a whole set of triggers devoted to making computers have Artifical Intelligence, Or AI. Go into the triggers section and select Run AI Script. There are lots to choose from. Using them you can make computer's more humanlike.



None.

Oct 20 2008, 9:19 pm 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

Quote from Pigy_G
There is a whole set of triggers devoted to making computers have Artifical Intelligence, Or AI. Go into the triggers section and select Run AI Script. There are lots to choose from. Using them you can make computer's more humanlike.
This.

And no, there's no command to make the comp build certain buildings or units. You will just have to rely on their AI. Try a few AIs maybe there's one that does about what your need.




Oct 20 2008, 11:27 pm Gummiwormz Post #4



quick question. Ive decided to just have the buildings built by having an scv stand by it and have it come from 10%-20%-30% etc. I am using an AI so scvs mine minerals. The problem is that when the scvs goes next to the barracks it begins to heal it. Is there any way to have the AI not repair without either making a location trigger where the scv is constantly sent back to a position or have the barracks invulnerable until it is complete.

If not, is there an AI that only mines? ?-_- Ive tried to use zerg and protoss ai for terran but it still repairs the buildings.



None.

Oct 20 2008, 11:54 pm Falkoner Post #5



When it stands next to the buildings, give it to Player 12(Neutral in SCM Draft) until it's finished, it will be same color and alliance, but it won't have the AIs.



None.

Oct 21 2008, 12:16 am Oo.DaMeiN.oO Post #6



To simply make the AI more difficult to beat, use the scipts labeled "Hard" they enhance the AI's play tremendously. :P

But as for scripting them to make them humanlike..

You'd have to do tons of triggering such as..

"Player 1 commands exactly 8 marines, 2 medics "
"Wait 2 minutes "
"Create 12 zealots for Player 2 "

( Or whatever the timing is to build 12 zealots :P )

But in the end, you'd have to write a trigger depending on what the human builds/where he moves.. but it would be nice if you finished one :P

Good luck with your map.



None.

Oct 21 2008, 1:09 am Vi3t-X Post #7



Player brings at least 1 scv to "Barracks building". Give all "buildings" at "Barracks building" to Player 12.
Wait 5000 milliseconds
Set health of all buildings at location "Barracks building" to 20%.

Whole set of gay triggers. Problem is, you'll want the computer on the bottom right, and the Player(s) on the top left to maximize trigger potential.
(SC scans triggers from left to right, and top down).



None.

Oct 21 2008, 8:13 pm Kaias Post #8



If computers don't have the resources to repair, then they can't



None.

Oct 22 2008, 4:28 am Falkoner Post #9



Quote
If computers don't have the resources to repair, then they can't

True, if you made the build times for the buildings super long, and made them super cheap, they would barely repair them at all, and it might actually look better.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:47 pm]
Ultraviolet -- zsnakezz
zsnakezz shouted: ultra you have any thought or notes on undead invasion?
I still haven't gotten a chance to play it yet unfortunately. I just downloaded, but today I'm working on a project with a deadline so won't be able to play it today
[04:59 am]
zsnakezz -- >:)
[04:59 am]
zsnakezz -- :)
[04:58 am]
zsnakezz -- somebody gets it
[04:58 am]
zsnakezz -- and its not all just numbers in my file screen
[04:57 am]
zsnakezz -- thank you for your comment though, good to know some people out there tried my map out
[04:57 am]
zsnakezz -- just kidding
[04:57 am]
zsnakezz -- ultra you have any thought or notes on undead invasion?
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
Please log in to shout.


Members Online: Roy, Ultraviolet