Changing AI Scripts?
- thebrowncloud
- Zerg Hydralisk Nail Stylist
- Posts: 570
- Joined: Sat Jul 04, 2009 11:17 am
Changing AI Scripts?
Alright, so I looked through the forum a bit and didn't find anything about this. Is it possible to have a comp player switch AI scripts after a certain point during a mission? I want to switch a player from an area town script to custom campaign insane, but it doesn't seem to be working.... Thoughts?
"Imagination is the beginning of creation. You imagine what you desire, you will what you imagine and at last you create what you will."
-George Bernard Shaw
-George Bernard Shaw
-
- Zerg Hydralisk Nail Stylist
- Posts: 597
- Joined: Tue Sep 19, 2006 7:37 pm
Re: Changing AI Scripts?
Could give the units to a different computer and then run the AI script, I think.
- thebrowncloud
- Zerg Hydralisk Nail Stylist
- Posts: 570
- Joined: Sat Jul 04, 2009 11:17 am
Re: Changing AI Scripts?
Oh, that's actually a really good idea! And I could make both computer players the same color so no one would notice the difference. Thanks, man!tipereth wrote: Could give the units to a different computer and then run the AI script, I think.

"Imagination is the beginning of creation. You imagine what you desire, you will what you imagine and at last you create what you will."
-George Bernard Shaw
-George Bernard Shaw
- omega20
- Zerg Ultralisk Waste Manager
- Posts: 692
- Joined: Sun Apr 06, 2008 7:38 am
Re: Changing AI Scripts?
That's an option. Another option would be to run the 'Clear Previous Combat Data' AI Script once you want to switch AI scripts. Then, run the insane AI Script.thebrowncloud wrote:Oh, that's actually a really good idea! And I could make both computer players the same color so no one would notice the difference. Thanks, man!tipereth wrote: Could give the units to a different computer and then run the AI script, I think.![]()

[imgwh 400x120]http://www.sigrealm.com/freesigs/178_Starcraft2MultSig.jpg[/imgwh]
- IskatuMesk
- Xel'naga World Shaper
- Posts: 8332
- Joined: Sat Feb 07, 2009 1:40 pm
- Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞా
- Contact:
Re: Changing AI Scripts?
The only thing clear combat data does is reset the target of the AI's attack protocols. It's used in AO and RD to make the AI change targets; it should have no bearing at all on any other function of the AI.omega20 wrote:That's an option. Another option would be to run the 'Clear Previous Combat Data' AI Script once you want to switch AI scripts. Then, run the insane AI Script.thebrowncloud wrote:Oh, that's actually a really good idea! And I could make both computer players the same color so no one would notice the difference. Thanks, man!tipereth wrote: Could give the units to a different computer and then run the AI script, I think.![]()
![]()
Gameproc
Though we stand alone, stand we shall.
Though we stand alone, stand we shall.
- GnaReffotsirk
- Zerg Larva Herder
- Posts: 338
- Joined: Sat Nov 15, 2008 4:54 am
Re: Changing AI Scripts?
That is correct. When the AI is given a Start Town command through script, there's no going back. It's all stacking from there. Stack more and without proper timing, the AI gets stuck or become weaker than it is.
One solution is to give all units to another computer slot, then run another script.
At least that's how it has been in my experience and through the methods I've been taking.
One solution is to give all units to another computer slot, then run another script.
At least that's how it has been in my experience and through the methods I've been taking.
- thebrowncloud
- Zerg Hydralisk Nail Stylist
- Posts: 570
- Joined: Sat Jul 04, 2009 11:17 am
Re: Changing AI Scripts?
Yeah, that looks like what I'm gonna do. Thanks Gna and tipereth!GnaReffotsirk wrote: That is correct. When the AI is given a Start Town command through script, there's no going back. It's all stacking from there. Stack more and without proper timing, the AI gets stuck or become weaker than it is.
One solution is to give all units to another computer slot, then run another script.
At least that's how it has been in my experience and through the methods I've been taking.

"Imagination is the beginning of creation. You imagine what you desire, you will what you imagine and at last you create what you will."
-George Bernard Shaw
-George Bernard Shaw