<MOD+AI> En_Taro_Protoss

Help - Resources - AI Scripting - Grafting - Plugins - Modding Projects
Count.Dracula
Posts: 21
Joined: Mon Sep 28, 2009 11:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

<MOD+AI> En_Taro_Protoss

Postby Count.Dracula » Sun Oct 11, 2009 2:12 am

Download:
[attachment=2076:En_Taro_Protoss.rar]for SC 1.16.1

How to install:
1. Extract En_Taro_Protoss.exe
2. Double click on it to run;
3. If it asks you to choose a program to run it, then choose your original StarCraft.exe

And Finally:
Try not to train heroes, and survive!

Modding Part:
Protoss can train heroes (It totally depends on you);
Improved Artanis's weapon & he can regenerate hitpoints;
+1 Gantrithor's armor;
Raszagal (Corsair, Detector) is able to attack ground units;
Add "ready sound" to the 9 heroes.

AI Part (Expansion):
Replace the original Terran & Zerg AI with their corresponding Campaign Insane AI;
Rewrite the Protoss AI, and it is a lot more stronger now (e.g. 1 V.3~4 T/Z allied computer players)
The AI knows how to use the heroes it generated and/or trained;
The AI can train Twilight Archon which you are not able to train;
All AIs use cheats.

some in game snapshots:

Secret Training:
[attachment=2062:SCScrnSh...9_082236.jpg]

The nine Heroes:
[attachment=2059:SCScrnSh...9_065108.jpg]

[cutoff]read more...[/cutoff]

Updates:
===== 1st updates =====
Improved hero-training buttons;
New EXE icon;
The AI has an anti-cheating check at the beginning of the game: It will train invincible Aldaris to attack you if you've cheated, as a result. However, you can't train Aldaris XD

===== 1st updates =====
Eliminate some errors;
Adjust the defense blocks;
Improved subbase-building part;
Add anti-cheating check.

some more in game snapshots:

Anti-cheating Aldaris:
[attachment=2074:SCScrnSh...9_092322.jpg]
[attachment=2075:SCScrnSh...9_092350.jpg]

AI controlled Artanis:
[attachment=2057:SCScrnSh...9_070632.jpg]

The Twilight Archon:
[attachment=2058:SCScrnSh...9_184206.jpg]

Example: train protoss ground heroes
[attachment=2060:SCScrnSh...9_064820.jpg]
[attachment=2061:SCScrnSh...9_064900.jpg]



====== Changes made in Unitdef.ini ======
076=hero_archon
082=hero_gantrithor
086=hero_danimoth
088=hero_artanis
098=hero_raszagal




====== The Protoss AI Script ======
CODE
; ASC3 File generated by JSL
;
; Script name : Protoss Expansion Custom Level

script_name Protoss Expansion Custom Level
script_id PMCx

; === STARTUP SETTINGS ===

start_town
defaultbuild_off
default_min 0
farms_timing
transports_off

; === DEFINE MAX PER UNIT ===
define_max 48 probe
define_max 36 zealot
define_max 24 dragoon
define_max 12 reaver
define_max 24 scout
define_max 6 shuttle
define_max 18 carrier
define_max 6 observer
define_max 24 corsair
define_max 32 high_templar
define_max 6 dark_archon
define_max 10 archon
define_max 6 arbiter
define_max 32 dark_templar
define_max 18 hero_artanis
define_max 24 hero_archon
define_max 18 hero_aldaris

; === COMPUTER PLAYER SPECIAl OPERATION ===
multirun unit_creation_timer
wait 1
multirun hero_generation_timer
wait 1
multirun c_showmethemoney

; === START BUILDING ===
build 1 nexus 150
wait_build 1 nexus
build 4 probe 130
wait_build 4 probe
build 1 assimilator 80
build 8 probe 80
wait_buildstart 8 probe
build 1 pylon 80
wait_buildstart 1 pylon
build 2 pylon 80
wait_buildstart 2 pylon
build 3 pylon 80
wait_buildstart 3 pylon
build 4 pylon 80
multirun initial_gateway
wait_buildstart 1 gateway
multirun initial_forge
wait_build 1 gateway
multirun initial_cyberneticscore
wait 1
multirun initial_shieldbattery
wait 1
multirun initial_cannon
wait 1
multirun startdefenseblock
wait 1
multirun cheating_check
build 12 probe 80
wait_buildstart 12 probe
build 5 pylon 80
wait_buildstart 5 pylon
build 16 probe 80
wait_buildstart 16 probe
multirun mid_gateway
build 6 pylon 80
wait_buildstart 6 pylon
build 7 pylon 80
wait_buildstart 7 pylon
multirun final_gateway
build 8 pylon 80
wait_buildstart 8 pylon
build 20 probe 80
wait_buildstart 20 probe
multirun robotics1
wait 1
multirun robotics2
wait 1
multirun robotics3
expand 1 subbase1
build 9 pylon 80
wait_buildstart 9 pylon
multirun middle_cannon
build 10 pylon 80
wait_buildstart 10 pylon
expand 2 subbase2
build 11 pylon 80
wait_buildstart 11 pylon
multirun fleet
build 12 pylon 80
wait_buildstart 12 pylon
build 24 probe 80
wait_buildstart 24 probe
multirun arbiter
wait 1
multirun final_shieldbattery
wait 1
expand 3 subbase3
multirun finaldefenseblock
build 13 pylon 80
wait_buildstart 13 pylon
build 14 pylon 80
wait_buildstart 14 pylon
build 15 pylon 80
wait_buildstart 15 pylon
multirun final_cannon
wait 1
multirun rebuild_PC_check
wait 1
multirun expandX_timer
goto repeatmain

; === REPEAT MASS ATTACK LOOP ===
:repeatmain
time_jump 40 repeatfinalstart
send_suicide 0
multirun m_bigattackcheck
wait 1500
goto repeatmain

:repeatfinalstart
clear_combatdata
goto repeatfinal

:repeatfinal
multirun m_bigattackcheck
wait 4500
send_suicide 0
goto repeatfinal

; ### BUILD SCRIPT PARTS ###

; >> GATEWAY SCRIPT PART
:initial_gateway
wait_build 1 pylon
build 1 gateway 80
wait_buildstart 1 gateway
build 2 gateway 80
wait_buildstart 2 gateway
build 3 gateway 80
wait_buildstart 3 gateway
build 4 gateway 80
goto m_rushcheck

:mid_gateway
wait_build 1 cybernetics_core
build 1 citadel_of_adun 80
wait_build 1 citadel_of_adun
multirun rebuild_citadel_of_adun_check
wait 1
multirun r_templarupgrades1
build 1 templar_archives 80
wait_build 1 templar_archives
multirun rebuild_templar_archives_check
wait 1
multirun m_rushcheck
place_guard high_templar 2
place_guard high_templar 1
place_guard high_templar 0
place_guard hero_archon 1
place_guard hero_archon 0
train 4 high_templar
stop

:final_gateway
wait_build 1 templar_archives
multirun r_templarupgrades2
place_guard dark_archon 1
place_guard dark_archon 0
train 4 dark_templar
train 6 archon
stop

; >> FORGE SCRIPT PART
:initial_forge
wait_build 1 pylon
build 1 forge 80
wait_buildstart 1 forge
build 2 forge 80
wait_build 2 forge
multirun rebuild_forge_check
goto r_groundupgrades1

; >> SHIELD_BATTERY PART
:initial_shieldbattery
wait_build 1 gateway
wait_build 3 pylon
build 2 shield_battery 80
stop

:final_shieldbattery
wait_build 1 gateway
build 3 shield_battery 80
wait_buildstart 3 shield_battery
build 4 shield_battery 80
stop

; >> CYBERNETICS_CORE PART
:initial_cyberneticscore
wait_build 1 gateway
wait_build 2 pylon
build 1 cybernetics_core 80
wait_buildstart 1 cybernetics_core
build 2 cybernetics_core 80
wait_build 2 cybernetics_core
multirun rebuild_cybernetics_core_check
wait 1
multirun m_rushcheck
wait 1
goto r_cyberupgrades

; >> PHOTON_CANNON PART
:initial_cannon
wait_build 1 forge
build 1 photon_cannon 80
wait_buildstart 1 photon_cannon
build 2 photon_cannon 80
wait_buildstart 2 photon_cannon
build 3 photon_cannon 80
stop

:middle_cannon
wait_build 1 forge
build 4 photon_cannon 80
wait_buildstart 4 photon_cannon
build 5 photon_cannon 80
wait_buildstart 5 photon_cannon
build 6 photon_cannon 80
wait_build 6 photon_cannon
build 7 photon_cannon 80
wait_buildstart 7 photon_cannon
build 8 photon_cannon 80
stop

:final_cannon
wait_build 1 forge
build 9 photon_cannon 80
wait_buildstart 9 photon_cannon
build 10 photon_cannon 80
wait_buildstart 10 photon_cannon
build 16 pylon 80
wait_buildstart 16 pylon
build 17 pylon 80
wait_build 17 pylon
build 11 photon_cannon 80
wait_buildstart 11 photon_cannon
build 12 photon_cannon 80
wait_buildstart 12 photon_cannon
build 18 pylon 80
stop

; >> ROBOTICS PART
:robotics1
wait_build 1 cybernetics_core
build 1 robotics_facility 80
wait_buildstart 1 robotics_facility
build 2 robotics_facility 80
wait_build 2 robotics_facility
multirun rebuild_robotics_facility_check
train 1 shuttle
stop

:robotics2
wait_build 1 robotics_facility
build 1 robotics_support_bay 80
wait_buildstart 1 robotics_support_bay
build 1 observatory 80
wait_build 1 robotics_support_bay
multirun rebuild_robotics_support_bay_check
train 2 reaver
upgrade 1 scarab_damage 70
check_transports
wait 2700
upgrade 1 shuttle_speed 70
wait 3600
upgrade 1 reaver_capacity 70
stop

:robotics3
wait_build 1 observatory
multirun rebuild_observatory_check
train 1 observer
train 2 observer
train 3 reaver
train 4 reaver
train 4 observer
upgrade 1 observer_speed 70
wait 2700
upgrade 1 observer_sight 70
stop

; >> FLEET PART
:fleet
wait_build 1 cybernetics_core
build 1 stargate 80
wait_buildstart 1 stargate
build 2 stargate 80
wait_buildstart 2 stargate
build 3 stargate 80
wait_buildstart 3 stargate
build 4 stargate 80
wait_buildstart 4 stargate
multirun rebuild_stargate_check
wait 1
multirun initial_airforce
build 1 fleet_beacon 80
wait_build 1 fleet_beacon
multirun rebuild_fleet_beacon_check
wait 1
multirun m_rushcheck
upgrade 1 carrier_capacity 70
wait 2700
tech disruption_web 70
wait 2700
upgrade 1 scout_speed 70
wait 3600
upgrade 1 scout_sight 70
wait 3600
upgrade 1 corsair_mana 70
stop

; >> ARBITER PART
:arbiter
wait_build 1 stargate
wait_build 1 templar_archives
build 1 arbiter_tribunal 80
wait_build 1 arbiter_tribunal
multirun m_rushcheck
wait 1
multirun r_arbiterupgrades
place_guard arbiter 0
multirun rebuild_arbiter_tribunal_check
train 3 carrier
train 1 arbiter
stop

; === INITIAL TRAINING ===
:initial_airforce
train 4 hero_raszagal
train 4 scout
stop

; === REBUILDING ===
:rebuild_forge_check
wait 1080
notowns_jump forge rebuild_forge
goto rebuild_forge_check

:rebuild_PC_check
wait 1080
notowns_jump photon_cannon rebuild_PC
goto rebuild_PC_check

:rebuild_cybernetics_core_check
wait 1080
notowns_jump cybernetics_core rebuild_cybernetics_core
goto rebuild_cybernetics_core_check

:rebuild_fleet_beacon_check
wait 1080
notowns_jump fleet_beacon rebuild_fleet_beacon
goto rebuild_fleet_beacon_check

:rebuild_citadel_of_adun_check
wait 1080
notowns_jump citadel_of_adun rebuild_citadel_of_adun
goto rebuild_citadel_of_adun_check

:rebuild_templar_archives_check
wait 1080
notowns_jump templar_archives rebuild_templar_archives
goto rebuild_templar_archives_check

:rebuild_arbiter_tribunal_check
wait 1080
notowns_jump arbiter_tribunal rebuild_arbiter_tribunal
goto rebuild_arbiter_tribunal_check

:rebuild_robotics_support_bay_check
wait 1080
notowns_jump robotics_support_bay rebuild_robotics_support_bay
goto rebuild_robotics_support_bay_check

:rebuild_observatory_check
wait 1080
notowns_jump observatory rebuild_observatory
goto rebuild_observatory_check

:rebuild_gateway_check
wait 1080
notowns_jump gateway rebuild_gateway
goto rebuild_gateway_check

:rebuild_robotics_facility_check
wait 1080
notowns_jump robotics_facility rebuild_robotics_facility
goto rebuild_robotics_facility_check

:rebuild_stargate_check
wait 1080
notowns_jump stargate rebuild_stargate
goto rebuild_stargate_check

:rebuild_forge
build 2 forge 80
wait_build 2 forge
goto rebuild_forge_check

:rebuild_PC
build 12 photon_cannon 80
wait_build 12 photon_cannon
goto rebuild_PC_check

:rebuild_cybernetics_core
build 2 cybernetics_core 80
wait_build 2 cybernetics_core
goto rebuild_cybernetics_core_check

:rebuild_fleet_beacon
build 1 fleet_beacon 80
wait_build 1 fleet_beacon
goto rebuild_fleet_beacon_check

:rebuild_citadel_of_adun
build 1 citadel_of_adun 80
wait_build 1 citadel_of_adun
goto rebuild_citadel_of_adun_check

:rebuild_templar_archives
build 1 templar_archives 80
wait_build 1 templar_archives
goto rebuild_templar_archives_check

:rebuild_arbiter_tribunal
build 1 arbiter_tribunal 80
wait_build 1 arbiter_tribunal
goto rebuild_arbiter_tribunal_check

:rebuild_robotics_support_bay
build 1 robotics_support_bay 80
wait_build 1 robotics_support_bay
goto rebuild_robotics_support_bay_check

:rebuild_observatory
build 1 observatory 80
wait_build 1 observatory
goto rebuild_observatory_check

:rebuild_gateway
build 4 gateway 80
wait_buildstart 4 gateway
goto rebuild_gateway_check

:rebuild_robotics_facility
build 2 robotics_facility 80
wait_buildstart 2 robotics_facility
goto rebuild_robotics_facility_check

:rebuild_stargate
build 4 stargate 80
wait_buildstart 4 stargate
goto rebuild_stargate_check

; === BASE EXPANSION ===
:subbase1
start_town
build 1 nexus 150
wait_build 1 nexus
get_oldpeons 4
goto subelements

:subbase2
start_town
build 1 nexus 150
wait_build 1 nexus
get_oldpeons 3
goto subelements

:subbase3
start_town
build 1 nexus 150
wait_build 1 nexus
get_oldpeons 2
goto subelements

:expandX_timer
time_jump 40 expandX
wait 1500
goto expandX_timer

:expandX
expand 99 subbaseX
wait 4500
goto expandX

:subbaseX
start_town
build 1 nexus 150
wait_build 1 nexus
get_oldpeons 1
goto subelementsX

:subelements
build 5 probe 30
wait_build 5 probe
build 1 pylon 30
wait_buildstart 1 pylon
build 1 assimilator 30
wait_buildstart 1 assimilator
build 2 pylon 30
wait_buildstart 2 pylon
build 3 pylon 30
wait_buildstart 3 pylon
build 4 pylon 30
multirun subbasedefense
goto subbasemilitarybuilding

:subelementsX
build 3 probe 30
wait_build 3 probe
build 1 pylon 30
wait_buildstart 1 pylon
build 1 assimilator 30
wait_buildstart 1 assimilator
build 2 pylon 30
wait_buildstart 2 pylon
build 3 pylon 30
wait_buildstart 3 pylon
build 4 pylon 30
multirun subbasedefense
goto subbasemilitarybuilding

:subbasedefense
player_need 1 forge
build 1 photon_cannon 30
wait_buildstart 1 photon_cannon
build 2 photon_cannon 30
wait_buildstart 2 photon_cannon
build 3 photon_cannon 30
wait_buildstart 3 photon_cannon
build 4 photon_cannon 30
wait_buildstart 4 photon_cannon
build 5 photon_cannon 30
wait_buildstart 5 photon_cannon
build 6 photon_cannon 30
goto subbasedefensefinaltrigger

:subbasemilitarybuilding
wait_build 2 pylon
build 1 gateway 30
wait_build 1 gateway
player_need 1 cybernetics_core
build 1 robotics_facility 30
wait_buildstart 1 robotics_facility
build 1 stargate 30
wait_buildstart 1 stargate
build 1 shield_battery 30
goto subbasemilitarybuildingfinaltrigger

:subbasedefensefinaltrigger
time_jump 30 subbasedefensefinal
wait 1440
goto subbasedefensefinaltrigger

:subbasemilitarybuildingfinaltrigger
time_jump 35 subbasemilitarybuildingfinal
wait 1440
goto subbasemilitarybuildingfinaltrigger

:subbasedefensefinal
build 5 pylon 30
wait_buildstart 5 pylon
build 6 pylon 30
wait_build 6 pylon
build 7 photon_cannon 30
wait_buildstart 7 photon_cannon
build 8 photon_cannon 30
wait_buildstart 8 photon_cannon
build 9 photon_cannon 30
stop

:subbasemilitarybuildingfinal
wait_build 6 pylon
build 2 gateway 30
wait_buildstart 2 gateway
build 2 robotics_facility 30
wait_buildstart 2 robotics_facility
build 2 stargate 30
wait_buildstart 2 stargate
build 2 shield_battery 30
stop

; --- RUSH CHECK MULTIRUN SCRIPT PART ---
:m_rushcheck
notowns_jump arbiter_tribunal carriercheck
goto initial_arbiterrush
:initial_arbitercontinue
goto carriercheck

:carriercheck
notowns_jump fleet_beacon darkcheck
goto initial_carrierrush
:initial_carriercontinue
goto darkcheck

:darkcheck
notowns_jump templar_archives dragooncheck
goto initial_darkrush
:initial_darkcontinue
goto dragooncheck

:dragooncheck
notowns_jump cybernetics_core zealotcheck
goto initial_dragoonrush
:initial_dragooncontinue
goto zealotcheck

:zealotcheck
notowns_jump gateway nocheck
goto initial_zealotrush

:nocheck
build 2 gateway 80
stop

; --- BIG ATTACK CHECK MULTIRUN SCRIPT PART ---
:m_bigattackcheck
notowns_jump arbiter_tribunal massreavercheck
goto massarbiterpreparation
:massarbitercontinue
goto massreavercheck

:massreavercheck
notowns_jump robotics_support_bay massdarkcheck
notowns_jump stargate massdarkcheck
goto massreaverpreparation
:massreavercontinue
goto massdarkcheck

:massdarkcheck
notowns_jump templar_archives masszealotcheck
goto massdarkpreparation
:massdarkcontinue
goto masszealotcheck

:masszealotcheck
notowns_jump gateway nomasscheck
goto masszealotpreparation

:nomasscheck
build 4 gateway 80
stop

; === ATTACK SCRIPT PARTS ===

; >> ZEALOT RUSH SCRIPT PART
:initial_zealotrush
wait_build 1 gateway
multirun rebuild_gateway_check
train 6 zealot
attack_add 6 zealot
attack_prepare
wait 1875
random_jump 100 zealotrush_hallucination
attack_do
attack_clear
stop

:zealotrush_hallucination
attack_clear
stop

; >> DRAGOON RUSH SCRIPT PART
:initial_dragoonrush
wait_build 1 gateway
wait_build 1 cybernetics_core
train 8 zealot
train 4 dragoon
attack_add 8 zealot
attack_add 4 dragoon
attack_prepare
attack_do
attack_clear
goto initial_dragooncontinue

; >> DARK RUSH SCRIPT PART
:initial_darkrush
wait_build 1 gateway
wait_build 1 templar_archives
train 6 dark_templar
attack_add 6 dark_templar
attack_prepare
attack_do
attack_clear
goto initial_darkcontinue

; >> CARRIER RUSH SCRIPT PART
:initial_carrierrush
wait_build 1 stargate
wait_build 1 fleet_beacon
train 5 carrier
train 3 dragoon
attack_add 5 carrier
attack_add 3 dragoon
attack_prepare
attack_do
attack_clear
goto initial_carriercontinue

; >> ARBITER RUSH SCRIPT PART
:initial_arbiterrush
wait_build 1 stargate
wait_build 1 fleet_beacon
wait_build 1 templar_archives
wait_build 1 arbiter_tribunal
train 6 carrier
train 4 corsair
train 2 arbiter
attack_add 6 carrier
attack_add 4 corsair
attack_add 2 arbiter
attack_prepare
attack_do
attack_clear
goto initial_arbitercontinue

; >> MASS ZEALOT SCRIPT PART
:masszealotpreparation
wait_build 1 gateway
train 24 zealot
stop

; >> MASS DARK TEMPLAR SCRIPT PART
:massdarkpreparation
wait_build 1 gateway
wait_build 1 templar_archives
train 16 dark_templar
goto massdarkcontinue

; >> MASS SCOUT/REAVER SCRIPT PART
:massreaverpreparation
wait_build 1 stargate
wait_build 1 robotics_support_bay
wait_build 1 robotics_facility
train 12 scout
train 8 reaver
train 4 high_templar
goto massreavercontinue

; >> MASS ARBITER SCRIPT PART
:massarbiterpreparation
random_jump 128 massarchonrush
wait_build 1 stargate
wait_build 1 fleet_beacon
wait_build 1 templar_archives
wait_build 1 arbiter_tribunal
train 3 arbiter
train 12 carrier
train 6 corsair
goto massarbitercontinue

:massarchonrush
wait_build 1 gateway
wait_build 1 templar_archives
wait_build 1 stargate
wait_build 1 arbiter_tribunal
train 4 hero_archon
train 3 hero_artanis
train 3 corsair
train 8 hero_archon
train 3 arbiter
train 3 dark_archon
goto massarbitercontinue

; --- START DEFENSE BLOCK ---
:startdefenseblock
defenseclear_gg
defensebuild_gg 1 zealot
defenseuse_gg 1 zealot
defensebuild_gg 1 dragoon
defenseuse_gg 1 dragoon
defensebuild_gg 1 reaver
defenseuse_gg 1 reaver
defensebuild_gg 1 dark_templar
defenseuse_gg 1 dark_templar
defensebuild_gg 1 carrier
defenseuse_gg 1 carrier
defensebuild_gg 1 scout
defenseuse_gg 1 scout
defensebuild_gg 1 archon
defenseuse_gg 1 archon
defenseclear_ag
defensebuild_ag 1 scout
defenseuse_ag 1 scout
defensebuild_ag 1 dragoon
defenseuse_ag 1 dragoon
defensebuild_ag 1 archon
defenseuse_ag 1 archon
defensebuild_ag 1 carrier
defenseuse_ag 1 carrier
defenseclear_aa
defensebuild_aa 1 corsair
defenseuse_aa 1 corsair
defensebuild_aa 1 scout
defenseuse_aa 1 scout
defensebuild_aa 1 carrier
defenseuse_aa 1 carrier
defenseclear_ga
defensebuild_ga 1 carrier
defenseuse_ga 1 carrier
defensebuild_ga 1 scout
defenseuse_ga 1 scout
stop

; --- FINAL DEFENSE BLOCK ---
:finaldefenseblock
defenseclear_gg
defensebuild_gg 1 reaver
defenseuse_gg 1 reaver
defensebuild_gg 1 dark_templar
defenseuse_gg 1 dark_templar
defensebuild_gg 1 carrier
defenseuse_gg 1 carrier
defenseclear_ag
defensebuild_ag 1 scout
defenseuse_ag 1 scout
defensebuild_ag 1 dragoon
defenseuse_ag 1 dragoon
defensebuild_ag 1 hero_archon
defenseuse_ag 1 hero_archon
defensebuild_ag 1 carrier
defenseuse_ag 1 carrier
defenseclear_aa
defensebuild_aa 1 hero_raszagal
defenseuse_aa 1 hero_raszagal
defensebuild_aa 1 scout
defenseuse_aa 1 scout
defensebuild_aa 1 carrier
defenseuse_aa 1 carrier
defenseclear_ga
defensebuild_ga 1 carrier
defenseuse_ga 1 carrier
defensebuild_ga 1 scout
defenseuse_ga 1 scout
defensebuild_ga 1 archon
defenseuse_ga 1 archon
stop

; --- RESEARCH MULTIRUN SCRIPTS ---
:research_timer
time_jump 15 r_groundupgrades2
wait 1440
goto research_timer

:r_groundupgrades1
upgrade 1 p_ground_weapon 70
upgrade 1 p_plasma_shield 70
wait 4150
goto research_timer

:r_groundupgrades2
wait_build 2 forge
wait_build 1 cybernetics_core
upgrade 1 p_armor 70
upgrade 2 p_plasma_shield 70
wait 4650
goto r_airupgradesmain

:r_airupgradesmain
wait 4650
wait_build 2 cybernetics_core
wait_build 1 fleet_beacon
upgrade 2 p_air_weapon 70
upgrade 2 p_plating 70
wait 4650
upgrade 3 p_air_weapon 70
upgrade 3 p_plating 70
wait 5150
goto r_groundupgrades3

:r_groundupgrades3
wait_build 2 forge
wait_build 1 templar_archives
upgrade 2 p_ground_weapon 70
upgrade 3 p_plasma_shield 70
wait 5150
upgrade 3 p_ground_weapon 70
upgrade 2 p_armor 70
wait 5150
upgrade 3 p_armor 70
stop

:r_cyberupgrades
upgrade 1 dragoon_range 70
wait 2700
upgrade 1 p_air_weapon 70
upgrade 1 p_plating 70
stop

:r_templarupgrades1
upgrade 1 zealot_speed 70
stop

:r_templarupgrades2
tech psionic_storm 70
wait 2700
tech mind_control 70
wait 2700
upgrade 1 templar_mana 70
wait 3600
tech hallucination 70
wait 2700
tech maelstrom 70
wait 2700
upgrade 1 dark_archon_mana 70
stop

:r_arbiterupgrades
tech statis_field 70
wait 2700
tech recall 70
wait 2700
upgrade 1 arbiter_mana 70
stop

; --- ANTI CHEATING ---
:cheating_check
enemyresources_jump 5000 5000 anti_cheating
stop

:anti_cheating
attack_add 12 hero_aldaris
attack_prepare
attack_do
attack_clear
stop

; --- THE SECOND GOD ---
:unit_creation_timer
time_jump 10 unit_creation_trigger_main
wait 720
goto unit_creation_timer

:unit_creation_trigger_main
random_jump 128 unit_creation_trigger_1
goto unit_creation_trigger_2

:unit_creation_trigger_1
random_jump 128 unit_creation_1
goto unit_creation_2

:unit_creation_trigger_2
random_jump 128 unit_creation_3
goto unit_creation_4

:unit_creation_1
create_unit carrier 1984 1984
wait 1620
time_jump 30 unit_creation_stop
goto unit_creation_3

:unit_creation_2
create_unit carrier 1840 1840
wait 2700
time_jump 30 unit_creation_stop
goto unit_creation_4

:unit_creation_3
create_unit carrier 956 256
wait 1980
time_jump 30 unit_creation_stop
goto unit_creation_2

:unit_creation_4
create_unit carrier 256 956
wait 2340
time_jump 30 unit_creation_stop
goto unit_creation_1

:unit_creation_stop
stop

; --- HEROIC AGE ---
:hero_generation_timer
time_jump 30 hero_generation_trigger_main
wait 1500
goto hero_generation_timer

:hero_generation_trigger_main
random_jump 85 artanis_1
goto artanis_2&3

:artanis_1
wait 3000
create_unit hero_artanis 1470 1470
time_jump 60 heroic_age_vanishing
goto artanis_2

:artanis_2&3
random_jump 128 artanis_2
goto artanis_3

:artanis_2
wait 3000
create_unit hero_artanis 1000 1000
time_jump 60 heroic_age_vanishing
goto artanis_3

:artanis_3
wait 3000
create_unit hero_artanis 1940 1940
time_jump 60 heroic_age_vanishing
goto artanis_1

:heroic_age_vanishing
stop

; --- SHOW ME THE MONEY ---
:c_showmethemoney
give_money
wait 240
goto c_showmethemoney
Count.Dracula
Posts: 21
Joined: Mon Sep 28, 2009 11:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Count.Dracula » Sun Oct 11, 2009 3:30 am

The heroes that AI will train are Raszagal (just a little bit) and Twilight Archon
The AI will randomly generate Artanis during game time 30 - 60 minutes, at a rate of 2 minutes/Artanis
&
Thanks for testing!
Count.Dracula
Posts: 21
Joined: Mon Sep 28, 2009 11:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Count.Dracula » Sun Oct 11, 2009 7:50 pm

The AI still crashes when I tried to destroy its base.
It had already finished all updates, I don't know why...
Count.Dracula
Posts: 21
Joined: Mon Sep 28, 2009 11:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Count.Dracula » Mon Oct 12, 2009 4:46 pm

I don't think I modified images.dat.
But I used FG.
Count.Dracula
Posts: 21
Joined: Mon Sep 28, 2009 11:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Count.Dracula » Sat Oct 17, 2009 4:56 pm

Thanks.
The bug is eliminated: it was due to the improper defense uses.

And I updated my mod, BTW :)
Count.Dracula
Posts: 21
Joined: Mon Sep 28, 2009 11:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Count.Dracula » Sun Oct 18, 2009 2:04 pm

defensebuild_ag 1 dark_archon
&
defenseuse_ag 1 dark_archon

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “StarCraft Modding”

Who is online

Users browsing this forum: No registered users and 2 guests