Staredit Network

Staredit Network -> SCMDraft -> TrigEdit won't compile
Report, edit, etc...Posted by Staredit.Net Essence on 2005-08-31 at 14:47:51
I'm just trying to make a fastest possible map have triggers that will give Max AI to the computers so I have more competition with them, I am running 3mbs dsl and b.net don't like that I can't play with more then 1 other person in the game without lag so I challenge myself against multiple comps but 7v1 has become to ez. here's what I am trying to impute in to the map.

//-----------------------------------------------------------------//

Trigger("Force 1"){
Conditions:
Always();
Actions:
Run AI Script At Location("Expansion Zerg Campaign Insane", "Anywhere");
Run AI Script At Location("Expansion Protoss Campaign Insane", "Anywhere");
Run AI Script At Location("Expansion Terran Campaign Insane", "Anywhere");
Run AI Script At Location("Zerg Campaign Insane", "Anywhere");
Run AI Script At Location("Protoss Campaign Insane", "Anywhere");
Run AI Script At Location("Terran Campaign Insane", "Anywhere");
}
//-----------------------------------------------------------------//

can anyone see whats wrong with that?
Report, edit, etc...Posted by Hofodomo on 2005-08-31 at 15:20:29
I'm not sure if you can give 2 different location-based AI scripts to the same AI. If you already have the expansion insane AI, why do you need the regular vanilla AI? Try removing the last 3 triggers.

Also, I'm not sure if the campaign AI for insane works best with a pre-built town or not...
Report, edit, etc...Posted by Staredit.Net Essence on 2005-08-31 at 15:23:42
QUOTE(Hofodomo @ Aug 31 2005, 01:20 PM)
I'm not sure if you can give 2 different location-based AI scripts to the same AI.  If you already have the expansion insane AI, why do you need the regular vanilla AI?  Try removing the last 3 triggers.

Also, I'm not sure if the campaign AI for insane works best with a pre-built town or not...
[right][snapback]302212[/snapback][/right]


I just wanted to make sure it all got through, I've tried just using 1 but that ddin't work either, it opens the compile thing says Started. thats it it refuses to say done reguardless what I change

here is my whole script the top 3 are default.

Trigger("All players"){
Conditions:
Command("Current Player", "Buildings", At most, 0);

Actions:
Defeat();
}

//-----------------------------------------------------------------//

Trigger("All players"){
Conditions:
Command("Non Allied Victory Players", "Buildings", At most, 0);

Actions:
Victory();
}

//-----------------------------------------------------------------//

Trigger("All players"){
Conditions:
Elapsed Time(At least, 0);

Actions:
Set Resources("Current Player", Set To, 50, ore);
}

//-----------------------------------------------------------------//

Trigger("Force 1"){
Conditions:
Always();
Actions:
Run AI Script At Location("Expansion Terran Campaign Insane", "Anywhere");
}
//-----------------------------------------------------------------//

I tried this instead of all 6 or even just 3 and still nothing
Report, edit, etc...Posted by SI on 2005-08-31 at 17:40:02
I'm not quite sure but doesn't trigedit use the 4 letter short names for the AI scripts?
Report, edit, etc...Posted by TERRAINFIGHTER on 2005-08-31 at 22:32:16
yes it does unless your running a mod a example of a AI script would be PB6A
(stands for Protoss Base level 6 A)
Report, edit, etc...Posted by Staredit.Net Essence on 2005-09-01 at 04:09:44
QUOTE(TERRAINFIGHTER @ Aug 31 2005, 08:32 PM)
yes it does unless your running a mod a example of a AI script would be PB6A
(stands for Protoss Base level 6 A)
[right][snapback]302389[/snapback][/right]


is there anywhere I can find a list of these shorts??
Report, edit, etc...Posted by TERRAINFIGHTER on 2005-09-01 at 14:14:48
Heres a list
CODE
PB1A, PB1C, PB1E, PB2A, PB2C, PB2E, PB3A, PB3C, PB3E, PB4A, PB4C, PB4E, PB5A, PB5C, PB5E, PB6A, PB6C, PB6E, PB7A, PB7C, PB7E, PB8A, PB8C, PB8E, TB1A, TB1C, TB1E, TB2A, TB2C, TB2E, TB3A, TB3C, TB3E, TB4A, TB4C, TB4E, TB5A, TB5C, TB5E, TB6A, TB6C, TB6E, TB7A, TB7C, TB7E, TB8A, TB8C, TB8E, ZB1A, ZB1C, ZB1E, ZB2A, ZB2C, ZB2E, ZB3A, ZB3C, ZB3E, ZB4A, ZB4C, ZB4E, ZB5A, ZB5C, ZB5E, ZB6A, ZB6C, ZB6E, ZB7A, ZB7C, ZB7E, ZB8A, ZB8C, ZB8E, ZB9A, ZB9C, ZB9E,  ZB0A, ZB0C, ZB0E

Sorry theres too many for me to include the regular starcraft ones also so I just put the ones in bwscript.bin
Report, edit, etc...Posted by LegacyWeapon on 2005-09-02 at 21:50:49
CODE
Ter3 = Terran 3 - Zerg Town
Ter5 = Terran 5 - Terran Main Town
Te5H = Terran 5 - Terran Harvest Town
Ter6 = Terran 6 - Air Attack Zerg
Te6b = Terran 6 - Ground Attack Zerg
Te6c = Terran 6 - Zerg Support Town
Ter7 = Terran 7 - Bottom Zerg Town
Te7s = Terran 7 - Right Zerg Town
Te7m = Terran 7 - Middle Zerg Town
Ter8 = Terran 8 - Confederate Town
Tr9L = Terran 9 - Light Attack
Tr9H = Terran 9 - Heavy Attack
Te10 = Terran 10 - Confederate Towns
T11z = Terran 11 - Zerg Town
T11a = Terran 11 - Lower Protoss Town
T11b = Terran 11 - Upper Protoss Town
T12N = Terran 12 - Nuke Town
T12P = Terran 12 - Phoenix Town
T12T = Terran 12 - Tank Town
TED1 = Terran 1 - Electronic Distribution
TED2 = Terran 2 - Electronic Distribution
TED3 = Terran 3 - Electronic Distribution
TSW1 = Terran 1 - Shareware
TSW2 = Terran 2 - Shareware
TSW3 = Terran 3 - Shareware
TSW4 = Terran 4 - Shareware
TSW5 = Terran 5 - Shareware
Zer1 = Zerg 1 - Terran Town
Zer2 = Zerg 2 - Protoss Town
Zer3 = Zerg 3 - Terran Town
Zer4 = Zerg 4 - Right Terran Town
Ze4S = Zerg 4 - Lower Terran Town
Zer6 = Zerg 6 - Protoss Town
Zr7a = Zerg 7 - Air Town
Zr7g = Zerg 7 - Ground Town
Zr7s = Zerg 7 - Support Town
Zer8 = Zerg 8 - Scout Town
Ze8T = Zerg 8 - Templar Town
Zer9 = Zerg 9 - Teal Protoss
Z9ly = Zerg 9 - Left Yellow Protoss
Z9ry = Zerg 9 - Right Yellow Protoss
Z9lo = Zerg 9 - Left Orange Protoss
Z9ro = Zerg 9 - Right Orange Protoss
Z10a = Zerg 10 - Left Teal (Attack)
Z10b = Zerg 10 - Right Teal (Support)
Z10c = Zerg 10 - Left Yellow (Support)
Z10d = Zerg 10 - Right Yellow (Attack)
Z10e = Zerg 10 - Red Protoss
Pro1 = Protoss 1 - Zerg Town
Pro2 = Protoss 2 - Zerg Town
Pr3R = Protoss 3 - Air Zerg Town
Pr3G = Protoss 3 - Ground Zerg Town
Pro4 = Protoss 4 - Zerg Town
Pr5I = Protoss 5 - Zerg Town Island
Pr5B = Protoss 5 - Zerg Town Base
Pro7 = Protoss 7 - Left Protoss Town
Pr7B = Protoss 7 - Right Protoss Town
Pr7S = Protoss 7 - Shrine Protoss
Pro8 = Protoss 8 - Left Protoss Town
Pr8B = Protoss 8 - Right Protoss Town
Pr8D = Protoss 8 - Protoss Defenders
Pro9 = Protoss 9 - Ground Zerg
Pr9W = Protoss 9 - Air Zerg
Pr9Y = Protoss 9 - Spell Zerg
Pr10 = Protoss 10 - Mini-Towns
P10C = Protoss 10 - Mini-Town Master
P10o = Protoss 10 - Overmind Defenders
PB1A = Brood Wars Protoss 1 - Town A
PB1B = Brood Wars Protoss 1 - Town B
PB1C = Brood Wars Protoss 1 - Town C
PB1D = Brood Wars Protoss 1 - Town D
PB1E = Brood Wars Protoss 1 - Town E
PB1F = Brood Wars Protoss 1 - Town F
PB2A = Brood Wars Protoss 2 - Town A
PB2B = Brood Wars Protoss 2 - Town B
PB2C = Brood Wars Protoss 2 - Town C
PB2D = Brood Wars Protoss 2 - Town D
PB2E = Brood Wars Protoss 2 - Town E
PB2F = Brood Wars Protoss 2 - Town F
PB3A = Brood Wars Protoss 3 - Town A
PB3B = Brood Wars Protoss 3 - Town B
PB3C = Brood Wars Protoss 3 - Town C
PB3D = Brood Wars Protoss 3 - Town D
PB3E = Brood Wars Protoss 3 - Town E
PB3F = Brood Wars Protoss 3 - Town F
PB4A = Brood Wars Protoss 4 - Town A
PB4B = Brood Wars Protoss 4 - Town B
PB4C = Brood Wars Protoss 4 - Town C
PB4D = Brood Wars Protoss 4 - Town D
PB4E = Brood Wars Protoss 4 - Town E
PB4F = Brood Wars Protoss 4 - Town F
PB5A = Brood Wars Protoss 5 - Town A
PB5B = Brood Wars Protoss 5 - Town B
PB5C = Brood Wars Protoss 5 - Town C
PB5D = Brood Wars Protoss 5 - Town D
PB5E = Brood Wars Protoss 5 - Town E
PB5F = Brood Wars Protoss 5 - Town F
PB6A = Brood Wars Protoss 6 - Town A
PB6B = Brood Wars Protoss 6 - Town B
PB6C = Brood Wars Protoss 6 - Town C
PB6D = Brood Wars Protoss 6 - Town D
PB6E = Brood Wars Protoss 6 - Town E
PB6F = Brood Wars Protoss 6 - Town F
PB7A = Brood Wars Protoss 7 - Town A
PB7B = Brood Wars Protoss 7 - Town B
PB7C = Brood Wars Protoss 7 - Town C
PB7D = Brood Wars Protoss 7 - Town D
PB7E = Brood Wars Protoss 7 - Town E
PB7F = Brood Wars Protoss 7 - Town F
PB8A = Brood Wars Protoss 8 - Town A
PB8B = Brood Wars Protoss 8 - Town B
PB8C = Brood Wars Protoss 8 - Town C
PB8D = Brood Wars Protoss 8 - Town D
PB8E = Brood Wars Protoss 8 - Town E
PB8F = Brood Wars Protoss 8 - Town F
TB1A = Brood Wars Terran 1 - Town A
TB1B = Brood Wars Terran 1 - Town B
TB1C = Brood Wars Terran 1 - Town C
TB1D = Brood Wars Terran 1 - Town D
TB1E = Brood Wars Terran 1 - Town E
TB1F = Brood Wars Terran 1 - Town F
TB2A = Brood Wars Terran 2 - Town A
TB2B = Brood Wars Terran 2 - Town B
TB2C = Brood Wars Terran 2 - Town C
TB2D = Brood Wars Terran 2 - Town D
TB2E = Brood Wars Terran 2 - Town E
TB2F = Brood Wars Terran 2 - Town F
TB3A = Brood Wars Terran 3 - Town A
TB3B = Brood Wars Terran 3 - Town B
TB3C = Brood Wars Terran 3 - Town C
TB3D = Brood Wars Terran 3 - Town D
TB3E = Brood Wars Terran 3 - Town E
TB3F = Brood Wars Terran 3 - Town F
TB4A = Brood Wars Terran 4 - Town A
TB4B = Brood Wars Terran 4 - Town B
TB4C = Brood Wars Terran 4 - Town C
TB4D = Brood Wars Terran 4 - Town D
TB4E = Brood Wars Terran 4 - Town E
TB4F = Brood Wars Terran 4 - Town F
TB5A = Brood Wars Terran 5 - Town A
TB5B = Brood Wars Terran 5 - Town B
TB5C = Brood Wars Terran 5 - Town C
TB5D = Brood Wars Terran 5 - Town D
TB5E = Brood Wars Terran 5 - Town E
TB5F = Brood Wars Terran 5 - Town F
TB6A = Brood Wars Terran 6 - Town A
TB6B = Brood Wars Terran 6 - Town B
TB6C = Brood Wars Terran 6 - Town C
TB6D = Brood Wars Terran 6 - Town D
TB6E = Brood Wars Terran 6 - Town E
TB6F = Brood Wars Terran 6 - Town F
TB7A = Brood Wars Terran 7 - Town A
TB7B = Brood Wars Terran 7 - Town B
TB7C = Brood Wars Terran 7 - Town C
TB7D = Brood Wars Terran 7 - Town D
TB7E = Brood Wars Terran 7 - Town E
TB7F = Brood Wars Terran 7 - Town F
TB8A = Brood Wars Terran 8 - Town A
TB8B = Brood Wars Terran 8 - Town B
TB8C = Brood Wars Terran 8 - Town C
TB8D = Brood Wars Terran 8 - Town D
TB8E = Brood Wars Terran 8 - Town E
TB8F = Brood Wars Terran 8 - Town F
ZB1A = Brood Wars Zerg 1 - Town A
ZB1B = Brood Wars Zerg 1 - Town B
ZB1C = Brood Wars Zerg 1 - Town C
ZB1D = Brood Wars Zerg 1 - Town D
ZB1E = Brood Wars Zerg 1 - Town E
ZB1F = Brood Wars Zerg 1 - Town F
ZB2A = Brood Wars Zerg 2 - Town A
ZB2B = Brood Wars Zerg 2 - Town B
ZB2C = Brood Wars Zerg 2 - Town C
ZB2D = Brood Wars Zerg 2 - Town D
ZB2E = Brood Wars Zerg 2 - Town E
ZB2F = Brood Wars Zerg 2 - Town F
ZB3A = Brood Wars Zerg 3 - Town A
ZB3B = Brood Wars Zerg 3 - Town B
ZB3C = Brood Wars Zerg 3 - Town C
ZB3D = Brood Wars Zerg 3 - Town D
ZB3E = Brood Wars Zerg 3 - Town E
ZB3F = Brood Wars Zerg 3 - Town F
ZB4A = Brood Wars Zerg 4 - Town A
ZB4B = Brood Wars Zerg 4 - Town B
ZB4C = Brood Wars Zerg 4 - Town C
ZB4D = Brood Wars Zerg 4 - Town D
ZB4E = Brood Wars Zerg 4 - Town E
ZB4F = Brood Wars Zerg 4 - Town F
ZB5A = Brood Wars Zerg 5 - Town A
ZB5B = Brood Wars Zerg 5 - Town B
ZB5C = Brood Wars Zerg 5 - Town C
ZB5D = Brood Wars Zerg 5 - Town D
ZB5E = Brood Wars Zerg 5 - Town E
ZB5F = Brood Wars Zerg 5 - Town F
ZB6A = Brood Wars Zerg 6 - Town A
ZB6B = Brood Wars Zerg 6 - Town B
ZB6C = Brood Wars Zerg 6 - Town C
ZB6D = Brood Wars Zerg 6 - Town D
ZB6E = Brood Wars Zerg 6 - Town E
ZB6F = Brood Wars Zerg 6 - Town F
ZB7A = Brood Wars Zerg 7 - Town A
ZB7B = Brood Wars Zerg 7 - Town B
ZB7C = Brood Wars Zerg 7 - Town C
ZB7D = Brood Wars Zerg 7 - Town D
ZB7E = Brood Wars Zerg 7 - Town E
ZB7F = Brood Wars Zerg 7 - Town F
ZB8A = Brood Wars Zerg 8 - Town A
ZB8B = Brood Wars Zerg 8 - Town B
ZB8C = Brood Wars Zerg 8 - Town C
ZB8D = Brood Wars Zerg 8 - Town D
ZB8E = Brood Wars Zerg 8 - Town E
ZB8F = Brood Wars Zerg 8 - Town F
ZB9A = Brood Wars Zerg 9 - Town A
ZB9B = Brood Wars Zerg 9 - Town B
ZB9C = Brood Wars Zerg 9 - Town C
ZB9D = Brood Wars Zerg 9 - Town D
ZB9E = Brood Wars Zerg 9 - Town E
ZB9F = Brood Wars Zerg 9 - Town F
ZB0A = Brood Wars Zerg 10 - Town A
ZB0B = Brood Wars Zerg 10 - Town B
ZB0C = Brood Wars Zerg 10 - Town C
ZB0D = Brood Wars Zerg 10 - Town D
ZB0E = Brood Wars Zerg 10 - Town E
ZB0F = Brood Wars Zerg 10 - Town F
TMCu = Terran Custom Level
ZMCu = Zerg Custom Level
PMCu = Protoss Custom Level
TMCx = Terran Expansion Custom Level
ZMCx = Zerg Expansion Custom Level
PMCx = Protoss Expansion Custom Level
TLOf = Terran Campaign Easy
TMED = Terran Campaign Medium
THIf = Terran Campaign Difficult
TSUP = Terran Campaign Insane
TARE = Terran Campaign Area Town
ZLOf = Zerg Campaign Easy
ZMED = Zerg Campaign Medium
ZHIf = Zerg Campaign Difficult
ZSUP = Zerg Campaign Insane
ZARE = Zerg Campaign Area Town
PLOf = Protoss Campaign Easy
PMED = Protoss Campaign Medium
PHIf = Protoss Campaign Difficult
PSUP = Protoss Campaign Insane
PARE = Protoss Campaign Area Town
TLOx = Expansion Terran Campaign Easy
TMEx = Expansion Terran Campaign Medium
THIx = Expansion Terran Campaign Difficult
TSUx = Expansion Terran Campaign Insane
TARx = Expansion Terran Campaign Area Town
ZLOx = Expansion Zerg Campaign Easy
ZMEx = Expansion Zerg Campaign Medium
ZHIx = Expansion Zerg Campaign Difficult
ZSUx = Expansion Zerg Campaign Insane
ZARx = Expansion Zerg Campaign Area Town
PLOx = Expansion Protoss Campaign Easy
PMEx = Expansion Protoss Campaign Medium
PHIx = Expansion Protoss Campaign Difficult
PSUx = Expansion Protoss Campaign Insane
PARx = Expansion Protoss Campaign Area Town
Suic = Send All Units on Strategic Suicide Missions
SuiR = Send All Units on Random Suicide Missions
Rscu = Switch Computer Player to Rescue Passive
+Vi0 = Turn ON Shared Vision for Player 1
+Vi1 = Turn ON Shared Vision for Player 2
+Vi2 = Turn ON Shared Vision for Player 3
+Vi3 = Turn ON Shared Vision for Player 4
+Vi4 = Turn ON Shared Vision for Player 5
+Vi5 = Turn ON Shared Vision for Player 6
+Vi6 = Turn ON Shared Vision for Player 7
+Vi7 = Turn ON Shared Vision for Player 8
-Vi0 = Turn OFF Shared Vision for Player 1
-Vi1 = Turn OFF Shared Vision for Player 2
-Vi2 = Turn OFF Shared Vision for Player 3
-Vi3 = Turn OFF Shared Vision for Player 4
-Vi4 = Turn OFF Shared Vision for Player 5
-Vi5 = Turn OFF Shared Vision for Player 6
-Vi6 = Turn OFF Shared Vision for Player 7
-Vi7 = Turn OFF Shared Vision for Player 8
MvTe = Move Dark Templars to Region
ClrC = Clear Previous Combat Data
Enmy = Set Player to Enemy here
Ally = Set Player to Ally here
VluA = Value This Area Higher
EnBk = Enter Closest Bunker
StTg = Set Generic Command Target
StPt = Make These Units Patrol
EnTr = Enter Transport
ExTr = Exit Transport
NuHe = AI Nuke Here
HaHe = AI Harass Here
JYDg = Set Unit Order To: Junk Yard Dog
DWHe = Cast Disruption Web
ReHe = Cast Recall (Arbiter required)
Next Page (1)