Generals Zero Hour.
( 07.12.2006)
Creator
E-mail: [email protected]
.
- .
- .
- .
- , .
- .
- .
- .
- .
- , .
- AIData.ini.
- .
- .
- .
- (+).
- .
- (+).
- .
- .
- .
- .
- .
- (+).
- ReplaceObjectUpgrade.
- .
.
, () Generals Zero Hour. , , . 100% , , .
, , Script Development Initiative, http://sdi.cncguild.net/
.
WorldBuilder, Generals Zero Hour. , SkirmishScripts.scb, Generals Zero Hour / Data / Scripts. , .
SkirmishScripts.scb . WorldBuilder. Edit->Edit Player List. Add Skirmish Players. Ok. Edit->Scripts. . Import Scripts, SkirmishScripts.scb .
SkirmishScripts.scb EA Games. . SkirmishGLAStealthGeneral , SkirmishGLAToxinGeneral , , . SkirmishScripts.scb, . , . . SkirmishScripts.scb . : http://sdi.cncguild.net/downloads/uploads/SkirmishScripts.zip
|
|
, , Export Scripts, Include items referenced in the scripts , Export mode Export all scripts Ok.
! , , , Esc ( ) Cancel ( ). , . Ok.
, File->Save. . , , . .
Verify. ( ). , , . . . , , EA Games . , Combat Zone Player1Garrison2 , WorldBuilder . , , AI Scripts Map, Generals Editing Utilites, Deezire-. : http://www.cncden.com/genx_utilities/GeneralsUtils.zip
WorldBuilder-a AI Scripts Map, . . , , , .
.
, . SkirmishScripts.scb. , . , , , , . , .
, SkirmishScripts.scb. 13 .
, , , Ok ( Ok ). Edit -> Edit Teams.
WorldBuilder- ( ), , .
, AIData.ini. INIZH.big. , Generals Zero Hour / Data / INI / Default /. Generals Zero Hour / Data / INI /, .
|
|
. , , . , (Player List) . . EA Games. , , - , Player List, , .
(, ), . , , , . , , . .
. .
- .
2 , (subroutine). , , . . .
. , . , . [ns A D][E N H]. . :
1- S ns. S (Subroutine), . ns, .
2- A na. A (Active), . na, . , . , . . . ( ), . . , . , . Active. , .
3- D nd. D (Deactivate on success), , . , .. , , Actions if true. nd, , .
E N H, . E , , N - , ͻ - . - 3 , .
, New Folder. , . Group is Soubroutine , . Group is Active , . , . , , , . , Group Name . , Edit, .
|
|
, New Script. , a. . , , Evaluate script. 1 . . . , , , 60 . , , , , 60 , . , , , : ! . - 60 . , , , , .
. Conditions. 1 . ( AND) ( OR). , , . , , .
Actions if true Actions if false. Actions if true , Conditions . Actions if false , . . .
- , .
, . , Scripting.
, . - , .. . , . - .
, , , , 1 . .. 2 ( TRUE) ( FALSE). , .
, , , . . , , , . Paper Work Initialize variables Actions if true.
|
|
. , , , .. .
, :
1) Counter Compared to a Value .
2) Flag Compared to a Value .
3) Timer expired .
, :
1) Counters, Increment Counter .
2) Counters, Decrement Counter .
3) Counters, Set Counter to a Value . . - , .
4) Flags, Set Flag to a Value . . - , .
5) Timer, Frame countdown timer set .
6) Timer, Frame countdown timer set random ( ) .
7) Timer, Seconds countdown timer set .
8) Timer, Seconds countdown timer add seconds ( ) .
9) Timer, Seconds countdown timer substract seconds . .
10) Timer, Seconds countdown timer set random . .
, . . , ESCALATION , , , , - . , 10, , , 5. , ? 5? . 10-, . , , , . .
- .
, . , . , , Actions if true , Actions if false . , 3- ? .
. CHK ( 1 4) 4 . , Check 1. CHK=1?, Actions if true , , CHK=1, Actions if false Run Subroutine ( Scripting->Script). . Check 2. , Check 2, ( Subroutine), CHK=2?, Actions if true , , CHK=2, Actions if false Run Subroutine. Run Subroutine Check 3. , Check 3 CHK=3?, Actions if true , , CHK=3, Actions if false , , CHK=4. . .
|
|
( ) . . Run Subroutine .
- .
, - . . , . Frame countdown timer set random Scripting->Timers. . - . , , , . .
. . , - 0. , , , . , 1. , . .
, , . .
( ) .
- .
, , , , . , , . .
Identify. :
1) .
2) , .
3) .
4) . . .
5) , (Condition). , , . , , , .. .
6) , , Execute associated actions. , , Condition.
7) (Priority). . .
8) Success priority increase , , .
9) , . . .
10) Failure Priority Decrease , . , , . , , - . , . , .
11) . . .
12) , Automatically reinforce whenever possible.
13) Team members are AI Recruitable, .
14) 1 , Team created once and only once.
Reinforcement. .
Behavior. , .
1) On Create .
2) On enemy Sighted .
3) On All Clear .
4) On Destroyed . , .
5) On Idle .
6) On Unit Destroyed
7) .
8) .
9) Initial Team Behavior . , Aggressive, . , Normal, Alert Aggressive .
10) Does this team focus on a single target , .
Generic. , . , , , , . , , .. . , , . , .
- .
, , Execute script sequentially - start Team-> SequentialScript. , (, , , - , ). , Execute script sequentially - start . , , Execute script sequentially - start. , , , , ..
Run Subroutine, , , .. .
Execute script sequentially - stop, , Execute script sequentially - start Execute script sequentially - loop, Execute script sequentially - start, , , .
- , .
, . , . , , - - . , , . . . , 2 InnerPerimeter1 InnerPerimeter2. . 1 InnerPerimeter1 MyInnerPerimeter, InnerPerimeter2 EnemyInnerPerimiter. 2 . InnerPerimeter2 MyInnerPerimeter, InnerPerimeter1 EnemyInnerPerimiter. OuterPerimeter.
, . , . . , 2 , : Center1, Cennter2, BackDoor1, BackDoor2, Flank1, Flank2. 1 1. 2 2. , . . 1 Cennter2, BackDoor2 Flank2 Cennter, BackDoor Flank, Center1, BackDoor1, Flank1 . 2 . Center2, BackDoor2, Flank2, Cennter1, BackDoor1 Flank1 Cennter, BackDoor Flank.
, . . , . .
, :
1) MyInnerPerimiter .
2) MyOuterPerimiter .
3) EnemyInnerPerimiter .
4) EnemyOuterPerimiter .
5) CombatZone , . , .
:
1) Center .
2) Flank
3) Backdoor
4) Special . .
, :
, Center, Flank Backdoor , - . , InnerPerimeter OuterPerimeter. .. InnerPerimeter, OuterPerimeter.
Player, Area, Team, Area Unit, Area. . SkirmishOnly, Move.
- AIData.ini.
INI- , . AIdata.ini Generals Zero Hour \ Data \ INI \ Default \. , , Generals Zero Hour \ Data \ INI \, .
, , .. - . , MinInfantryForGroup. 3. , , , . , 2 . ., MinInfantryForGroup . TeamsWealthyRate, , , . . .. . .. .
12 SideInfo ( ). . :
ResourceGatherersEasy, ResourceGatherersNormal ResourceGatherersHard , , .
BaseDefenseStructure1 . , Build one additional base defenses on the flank Build one additional base defenses on the front Skirmish Only.
SkillSet1 SkillSet2 , . - SkillSet1, SkillSet2. , , .
12 SkirmishBuildList ( ). . - Base Building , . , . , . ! Build a building Skirmish Only, , . , - , .
, , Build structure on flank perimeter Build structure on front perimeter. , . , , .. .
. . . , WorldBuilder . . WorldBuilder- Build List Tool. :
, . - Pick a unit . Build List . Build List side . !
Pick a unit . , Build List export. , , , SkirmishAmerica_BuildList.ini. SkirmishChina_BuildList.ini SkirmishGLADemolitionGeneral_BuildList.ini , . export . , AIdata.ini - SkirmishBuildList. , , , .
- .
, EA Games. . .
, , . , . , _USA_1ST _ WAVE, _CHINA_1ST _ WAVE _GLA_1ST _ WAVE. , . 1ST _ WAVE, USA, CHINA GLA. .
. . , , . , GLA GLA Build Arms Dealer, USA USA Build War Factory. , . , .
Paper Work . . . , , , . .. , , , - . , . , , . , Define Object Lists Paper Work. EA Games - Define Object Lists ( 3- ) Sentry Drone-.
Sell Off , , . , , . , .. , , . .
Base Expansion . 1 10 , 1 2 . Replace Dozer , ().
World State Detection cheat- .
Build Conditions . - . . .
Attack priorities . .. . , , , . , . . , , , . , .
Attack Waves . - , , , .. . , , ATTACK_WAVE. Attack Wave X Execute, X 1 5. Attack Waves , _LAUNCH_ATTACK TRUE. , TRUE, FALSE . 1 .
Escalation , . ESCALATION. . , . , . , .
Complimentary . CT. , , CT Air, . , CT Infantry, , .. T .
Generic Attack , .
Generic Behavior - , . , , ..
Alert Team Attacks - , Generic Behavior.
Combat Zone , CombatZone. Guard Combat Zone.
Base Building , . , AIdata.ini. . , . , . 1- , , . , .
Tech Buildings . , , , Tech Building Capture . . , , Team '<This Team>' will move towards the nearest 'Tech Buildings' within area 'CombatZone', , , . , , .
Upgrades , ( ) . , .
Generals Powers , . , , , enum INI-, . , enum SPECIAL_CLUSTER_MINES, .
Super Weapon Use Generals Powers, , ( , -). , 2 Generals Powers . . 2 . AI, Fire. AI . , Fire. Fire . , . - . .
Use Battle Plans , , . 2 , 1 Hold The Line (.. ). . .
Garrison Builds Garrison Orders . ( ) PlayerX GarrisonY, X 1 8, Y 1 3. , , , Garrison . . GarrisonBuilds, Unit 'Player1 Garrison1' exists and is alive. 8 . Player1 Garrison1. Player1 Garrison1, Player2 Garrison1, Player3 Garrison1 Player8 Garrison1, Player1 Garrison2 Player1 Garrison3 - . .
- .
, EA Games. . .
, , . , . , _USA_1ST _ WAVE, _CHINA_1ST _ WAVE _GLA_1ST _ WAVE. , . _1ST _ WAVE, USA, CHINA GLA. USA E 5TH WAVE Tanks F USA H 5TH WAVE Artillery B. , 5TH WAVE. . , Garrison. , Garrison.
, , , , . , .
, , . . .. 1ST _ WAVE, . 1ST WAVE. , , , , . 2ST _ WAVE. 2ST WAVE, 5TH WAVE. , 5TH WAVE, . .. 5- . , , , - 2-3 . . , .
E,N H. , H 2ND WAVE E 2ND WAVE. , . E , N , H . . E H, . c, , , Build Conditions.
, , ESCALATION. ESCALATION, , , . , , , . , , - . , , 1 60 , - . , 1 , .
, . .. , , . . , , Generic. Attack enemy sequence front - . Attack enemy sequence flank - . Attack enemy sequence back - . , . , , , , . back.
Defender Alert Invasion. , . . , , , .
CT . . CT . CT . , CT Complimentary team. , . , .. , . , Complimentary team . Generic CT Join My Team. Complimentary team.
Garrison . ( ) PlayerX GarrisonY, X 1 8, Y 1 3. , Garrison . Garrison Builds Garrison Orders. Garrison, , 1-2 . . 4 8 .
Guard Combat Zone , Combat Zone. , , . , Combat Zone - . . , Combat Zone , . . - , . , , , . , Guard Combat Zone . . , , . .
Guards . . , . .
Replace Dozer 1 1 , , . . - Start building a team ( Team->AI). . Aggressive, - - 0% .
Tech Building Capture 2 ( , , ). ( , ..) . , , .
Alert Capture Neutral 1 . , , , . . , . 1 , 1 , . , 1 ..
Base Expander Tech Capture Big OFF - . , .
, , . teamSkirmishAmerica, teamSkirmishAirforceGeneral, teamSkirmishChina .. . . , - , , . , , teamSkirmishAmerica . Use CommandButton Ability Team->CommandButton. .
- .
DebugWindow.dll, Generals Editing Utilites, Deezire-. DebugWindow.dll , . INI- GameData.ini AIDebug = no AIDebug = yes. , . , win scriptdebug. Windows- ,
"C:\Games\Generals Zero Hour\generals.exe"
"C:\Games\Generals Zero Hour\generals.exe" -win -scriptdebug
. , .
. , . , - . - .
, , :
-xres 640 -yres 480
, , . :
noshellmap
, EA Games. INI- Video.ini Filename = EA_LOGO Filename = EA_LOGO640, Filename = NONE.
- .
, . . 3 , . ( ) , . , , . , , , . , .. . , .
3 . 1 , 1 , 1 . passive, , , . Move enemy base front, - Move enemy base flank, - Move enemy base back. Move enemy base Attack enemy base. , Attack enemy base , begins hunting, . begins hunting Move team towards the nearest object of a specific type, .. - . . .
, 3 . . . , on create , - . 3 , . 3 Move enemy base. , , , .
, , , , . on team destroyed , - . , , Generic , , SkirmishEnemyInnerPerimeter. , - .
, , , , . 3 , , , . - , , , , . , , , . , , . 2- , . . , , . , , . ( ATTACK_PATH), 1 3, .
. Generic Attack enemy base front, Attack enemy base flank Attack enemy base back Attack enemy base dynamic. ATTACK_PATH . 3 . .
, _LAUNCH_ATTACK. TRUE, . Attack Sequence Generic Attack. TRUE , , , ATTACK_PATH . , , , . , , , . , .
- .
INI-. . , .
. PaperWork Define Object Lists. . 12 .
. 1ST_WAVE, 2ND_WAVE .. 5TH_WAVE . , 1ST_WAVE 2ND_WAVE , 5TH_WAVE - . , 1ST_WAVE 2ND_WAVE, , 5TH_WAVE 4TH_WAVE. , , Guard Combat Zone. , . Guards. . Garrison. . .. , , .
- .
, Faction.ini PlayerTemplate.ini. , WorldBuilder- ( Edit, Edit Player List, Add new player). . . , . , SkirmishScripts.scb. , . , .
World Builder 14 . 15-. World Builder, . , Add new player, , Add Skirmish Players. .