Staredit Network

Staredit Network -> UMS Assistance -> Reavers...
Report, edit, etc...Posted by Orc on 2003-11-30 at 14:44:16
For my D2 map I need an AI script that will make reavers build scarabs...How can I do this?
Report, edit, etc...Posted by Staredit.Net Essence on 2003-11-30 at 15:40:25
Get SCXE

This post musy be 15 characters.
Report, edit, etc...Posted by Yoshi da Sniper on 2003-11-30 at 15:59:56
So put more content in your post happy.gif
Report, edit, etc...Posted by .Coko[CK] on 2003-11-30 at 17:42:26
You can't simply program a computer to make the Scarabs. You can tell an Reaver to attack something, and it will make them, if it has enough money...You can edit that with most "Cool" editors. Or just change the amount the reaver has manually, "IE" using triggers...
Report, edit, etc...Posted by Staredit.Net Essence on 2003-11-30 at 17:46:08
Isn't there a way which enable Reavers to build scarabs automaticly? Like in that reaver deffense map? Can't you do that for a computer player too?
Report, edit, etc...Posted by Staredit.Net Essence on 2003-11-30 at 18:42:43
It's called a trigger.

Conditions:
Current Player brings 1 reaver to location (whatever).
Actions:
Set hanger amount.
Report, edit, etc...Posted by .Coko[CK] on 2003-12-01 at 06:10:39
You forgot Preserve trigger...Reaver defense, its all done maunally...I think so, if you get the normal versions...
Report, edit, etc...Posted by chuiu on 2003-12-01 at 13:03:30
Conditions:
Current Player commands at least 1 Protoss Reaver.
Actions:
Add at most 10 to hanger for all Protoss Reaver at 'Anywhere' owned by Current Player.
('Modify hanger amount' is the title of the trigger)
Preserve Trigger.
Report, edit, etc...Posted by .Coko[CK] on 2003-12-01 at 17:05:55
Or

Conditions
Current Player Commands at least 1 Protoss Reaver.
Action
Order all Reavers at "Locations" to attack "Location"
Preserver Trigger

Then make sure the computer has enough money and stuff, and hay all done!
Report, edit, etc...Posted by chuiu on 2003-12-01 at 22:50:53
He wasn't asking how to make them attack.
Report, edit, etc...Posted by .Coko[CK] on 2003-12-02 at 15:33:47
Umm, i know but a computer will use its own Ai scripting to make them if you order them to attack!
Report, edit, etc...Posted by chuiu on 2003-12-02 at 20:33:24
If it has an AI script to begin with. If he's making a D2 type map, he can't use one because he'll need to control the units seperately with triggers. Thus an AI script would not help and would not do much.
Report, edit, etc...Posted by SpaceBoy2000 on 2003-12-02 at 23:09:22
Maybe to emulate the delay in constructing the Scarabs, you can insert a delay in a trigger that adds one scarab to the reaver. I might look something remotely like this:


----------
Conditions:
Current Player brings 1 reaver to location (whatever).
Current player accumulates at least 15 minerals

Actions:
Set hanger amount to add 1 (or something, don't know exact wording)
Subract 15 minerals from current player
Wait 15000 milliseconds (15 seconds)
Preserve trigger
----------


Well, you do have to play around with that. Maybe a seperate location for each reaver?
Report, edit, etc...Posted by Staredit.Net Essence on 2003-12-03 at 06:33:40
Then you'd need 15 minerals for all reavers which harder.

-----------------------------------------------------------------------------------------------
Conditions

-- Current player brings 1 reaver to anywhere
Actions
-- Add hanger ammount for current player
-- Wait 15000 miliseconds
-- Preserve trigger

-----------------------------------------------------------------------------------------------
Report, edit, etc...Posted by Yoshi da Sniper on 2003-12-03 at 07:19:28
QUOTE(Coko @ Dec 2 2003, 03:33 PM)
Umm, i know but a computer will use its own Ai scripting to make them if you order them to attack!

Your wrong. Without any scarbs, the computer will just walk right past the enemy.
Report, edit, etc...Posted by SpaceBoy2000 on 2003-12-03 at 07:43:08
QUOTE(Rune_Scape @ Dec 3 2003, 06:33 AM)
Then you'd need 15 minerals for all reavers which harder.

-----------------------------------------------------------------------------------------------
                                          Conditions

-- Current player brings 1 reaver to anywhere
                                            Actions
-- Add hanger ammount for current player
-- Wait 15000 miliseconds
-- Preserve trigger

-----------------------------------------------------------------------------------------------

Well, I'd assume the he'd be trying to make it as "real" as possible. And it does cost 15 minerals everytime you build a scarab (I think...) So why not have that in?

Alternatively, you can also use switches to control the production of scarabs too.
Report, edit, etc...Posted by Mini Moose 2707 on 2003-12-03 at 15:43:12
Then you'd have to make tons of triggers, each for the number of reavers (ie, commands 1 reaver, set hangar count for reaver and subtract 15, commands 2 revears, set hanger count for reavers and subtract 30) Which wouled suck. tongue.gif
Report, edit, etc...Posted by Orc on 2003-12-09 at 23:19:47
Seems every topic here turns into a debate biggrin.gif , well thanks I got it awhile ago, thought id let you know
Report, edit, etc...Posted by dashrike on 2003-12-10 at 11:43:58
Well it does present the other sides/tactics that people use. Good for n00bs like me who don't know strategy at all...
Report, edit, etc...Posted by SpaceBoy2000 on 2003-12-10 at 16:27:52
Debates keep this forum alive. Or else, the whole forum would consist of spamming topics, and threads with one question and a few answers which basically mean approxiamatlely 10 posts per topic. Eventually, this would kill a forum.

Therefore, debates are good! (As long as they're civilized)
Report, edit, etc...Posted by chuiu on 2003-12-10 at 17:36:00
It must be civilized to be a debate, otherwise its a fight.
Report, edit, etc...Posted by SpaceBoy2000 on 2003-12-10 at 20:37:51
Well, it depends on how you define a fight and a debate. Some people would feel all debates are fights for an example. Civilized just mean we don't openly flame the other guy or be very unreasonable.

Though usually, forum debates really don't change anyone. Best examples would be religious debates. Nobody is switching religions because of those debates.
Report, edit, etc...Posted by chuiu on 2003-12-10 at 22:58:25
QUOTE
Well, it depends on how you define a fight and a debate. Some people would feel all debates are fights for an example.


Not trying to be rude or anything, but those people are wrong. There is a strong distinction between 'fight' and 'debate'. When a person starts slandering (insulting) the other, then it starts becoming a fight. When someone results to yelling, or creating false facts; then it starts becoming a fight.

But when two people get together and talk about something with two different views, it is a conversation and a debate.
Report, edit, etc...Posted by Orc on 2003-12-10 at 23:44:13
Lol now this is turning into a debate about debating tongue.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2003-12-22 at 13:19:55
Well.. if all these things wont work i have a great solution:
Conditions:
Player # brings 1 reaver to anywhere
Actions: End scenario in Victory

there ya go, everyone happy tongue.gif
Next Page (1)