Skip to content

Commit 586a833

Browse files
committed
chore: Add retail game data for Generals 1.06 (TheSuperHackers#2)
1 parent 44ce17e commit 586a833

File tree

11 files changed

+498
-50
lines changed

11 files changed

+498
-50
lines changed

Generals/Data/English/CommandMap.ini

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -574,10 +574,14 @@ CommandMap SELECT_MATCHING_UNITS
574574
DisplayName = GUI:TypeSelect
575575
End
576576

577+
; select next/prev worker/unit now requires the CTRL key plus arrow keys
578+
; arrow keys were freed up to allow these buttons for use in scrolling
579+
; this was changed at the request of Harvard Bonin -SCC 6/12/03
580+
577581
CommandMap SELECT_NEXT_UNIT
578582
Key = KEY_RIGHT
579583
Transition = DOWN
580-
Modifiers = NONE
584+
Modifiers = CTRL
581585
UseableIn = GAME
582586
Category = SELECTION
583587
Description = GUI:SelectNextUnitDescription
@@ -587,7 +591,7 @@ End
587591
CommandMap SELECT_PREV_UNIT
588592
Key = KEY_LEFT
589593
Transition = DOWN
590-
Modifiers = NONE
594+
Modifiers = CTRL
591595
UseableIn = GAME
592596
Category = SELECTION
593597
Description = GUI:SelectPrevUnitDescription
@@ -597,7 +601,7 @@ End
597601
CommandMap SELECT_NEXT_WORKER
598602
Key = KEY_UP
599603
Transition = DOWN
600-
Modifiers = NONE
604+
Modifiers = CTRL
601605
UseableIn = GAME
602606
Category = SELECTION
603607
Description = GUI:SelectNextUnitDescription
@@ -607,7 +611,7 @@ End
607611
CommandMap SELECT_PREV_WORKER
608612
Key = KEY_DOWN
609613
Transition = DOWN
610-
Modifiers = NONE
614+
Modifiers = CTRL
611615
UseableIn = GAME
612616
Category = SELECTION
613617
Description = GUI:SelectPrevUnitDescription

Generals/Data/INI/Locomotor.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ End
832832
Locomotor GattlingTankLocomotor
833833
Surfaces = GROUND
834834
Speed = 40 ; in dist/sec
835-
SpeedDamaged = 40 ; in dist/sec
835+
SpeedDamaged = 30 ;40 in dist/sec
836836
TurnRate = 180 ;90 ; in degrees/sec
837837
TurnRateDamaged = 180 ;60 ; in degrees/sec
838838
Acceleration = 1000 ;240 ; in dist/(sec^2)

Generals/Data/INI/Mouse.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Mouse
2727

2828
DragTolerance = 30 ; How many pixels should we allow before it is a drag?
2929
DragTolerance3D = 30 ; How many feet in worldspace should we allow before it is a drag?
30-
DragToleranceMS = 250 ; if the mouse is held down for this long, we consider it a drag, not a click.
30+
DragToleranceMS = 300 ; if the mouse is held down for this long, we consider it a drag, not a click.
3131
End
3232

3333
; "Normal" is not quite correct, as it shouldn't ever be used. Just seems to be a spare entry. :P - MDC

Generals/Data/INI/Object/FactionBuilding.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27711,7 +27711,7 @@ Object ChinaGattlingCannon
2771127711

2771227712
; *** ENGINEERING Parameters ***
2771327713
RadarPriority = STRUCTURE
27714-
KindOf = PRELOAD STRUCTURE SELECTABLE CAN_ATTACK IMMOBILE SCORE FS_BASE_DEFENSE POWERED IMMUNE_TO_CAPTURE MP_COUNT_FOR_VICTORY
27714+
KindOf = PRELOAD STRUCTURE SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT IMMOBILE SCORE FS_BASE_DEFENSE POWERED IMMUNE_TO_CAPTURE MP_COUNT_FOR_VICTORY
2771527715
Body = StructureBody ModuleTag_05
2771627716
MaxHealth = 1000.0
2771727717
InitialHealth = 1000.0

Generals/Data/INI/Object/FactionUnit.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4732,7 +4732,7 @@ Object ChinaJetMIG
47324732
DamageFX = None
47334733
End
47344734

4735-
BuildCost = 1000
4735+
BuildCost = 1200 ;1000
47364736
BuildTime = 10
47374737
ExperienceValue = 50 50 100 150 ;Experience point value at each level
47384738
ExperienceRequired = 0 100 200 400 ;Experience points needed to gain each level
@@ -9335,13 +9335,13 @@ Object GLAInfantryTerrorist
93359335
DeathTypes = NONE +POISONED
93369336
DestructionDelay = 0
93379337
FX = INITIAL FX_GIDie
9338-
OCL = INITIAL OCL_ToxicInfantry
9338+
OCL = INITIAL OCL_GLAToxicInfantry
93399339
End
93409340
Behavior = SlowDeathBehavior ModuleTag_Death06 ; don't forget to give it a new, unique module tag
93419341
DeathTypes = NONE +POISONED_BETA
93429342
DestructionDelay = 0
93439343
FX = INITIAL FX_GIDie
9344-
OCL = INITIAL OCL_ToxicInfantryBeta ;you'll have to create this OCL and make it use the blue guys instead of green ones
9344+
OCL = INITIAL OCL_GLAToxicInfantryBeta ;you'll have to create this OCL and make it use the blue guys instead of green ones
93459345
End
93469346
;POISON_DEATHS POISON_DEATHS POISON_DEATHS POISON_DEATHS
93479347

@@ -20131,7 +20131,7 @@ Object ChinaTankOverlordGattlingCannon
2013120131
End
2013220132

2013320133
; *** ENGINEERING Parameters ***
20134-
KindOf = PRELOAD PORTABLE_STRUCTURE CAN_ATTACK CLICK_THROUGH IGNORED_IN_GUI
20134+
KindOf = PRELOAD PORTABLE_STRUCTURE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CLICK_THROUGH IGNORED_IN_GUI
2013520135
Body = StructureBody ModuleTag_02
2013620136
MaxHealth = 100.0
2013720137
InitialHealth = 100.0
@@ -36648,7 +36648,7 @@ Object CINE_GLAInfantryTerrorist
3664836648
DeathTypes = NONE +POISONED
3664936649
DestructionDelay = 0
3665036650
FX = INITIAL FX_GIDie
36651-
OCL = INITIAL OCL_ToxicInfantry
36651+
OCL = INITIAL OCL_GLAToxicInfantry
3665236652
End
3665336653
; If he is killed by "powerful arms", then "detonate" him.
3665436654
Behavior = SlowDeathBehavior ModuleTag_Death03

Generals/Data/INI/Object/System.ini

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,78 @@ Object ToxicInfantry
11011101
GeometryIsSmall = Yes
11021102
End
11031103

1104+
;------------------------------------------------------------------------------
1105+
Object GLAToxicInfantry
1106+
; *** ART Parameters ***
1107+
Draw = W3DModelDraw ModuleTag_01
1108+
1109+
DefaultConditionState
1110+
Model = UITRST_SKNG
1111+
Animation = UITRST_SKL.UITrst_DGRN
1112+
AnimationSpeedFactorRange = 0.9 1.3
1113+
AnimationMode = ONCE
1114+
End
1115+
End
1116+
1117+
1118+
; ***DESIGN parameters ***
1119+
Side = Civilian
1120+
EditorSorting = SYSTEM
1121+
TransportSlotCount = 1
1122+
ArmorSet
1123+
Conditions = None
1124+
Armor = HumanArmor
1125+
DamageFX = None
1126+
End
1127+
VisionRange = 150
1128+
DisplayName = OBJECT:ToxicInfantry
1129+
1130+
; *** AUDIO Parameters ***
1131+
1132+
; *** ENGINEERING Parameters ***
1133+
RadarPriority = NOT_ON_RADAR
1134+
KindOf = CAN_CAST_REFLECTIONS INFANTRY
1135+
1136+
Body = ActiveBody ModuleTag_02
1137+
MaxHealth = 50.0
1138+
InitialHealth = 50.0
1139+
End
1140+
1141+
Behavior = PhysicsBehavior ModuleTag_04
1142+
Mass = 5.0
1143+
End
1144+
1145+
Behavior = LifetimeUpdate ModuleTag_05
1146+
MinLifetime = 3000 ; randomness for these means going out of sync of the animation and particles
1147+
MaxLifetime = 3000
1148+
End
1149+
1150+
Behavior = SlowDeathBehavior ModuleTag_06
1151+
SinkDelay = 4500
1152+
SinkRate = 0.5 ; in Dist/Sec
1153+
DestructionDelay = 9500
1154+
End
1155+
1156+
Behavior = SquishCollide ModuleTag_07
1157+
;nothing
1158+
End
1159+
1160+
Behavior = FXListDie ModuleTag_08
1161+
DeathTypes = ALL -CRUSHED -SPLATTED
1162+
DeathFX = FX_GIDie
1163+
End
1164+
Behavior = FXListDie ModuleTag_09
1165+
DeathTypes = NONE +CRUSHED +SPLATTED
1166+
DeathFX = FX_GIDieCrushed
1167+
End
1168+
1169+
Geometry = CYLINDER
1170+
GeometryMajorRadius = 3.0
1171+
GeometryMinorRadius = 3.0
1172+
GeometryHeight = 12.0
1173+
GeometryIsSmall = Yes
1174+
End
1175+
11041176
;------------------------------------------------------------------------------
11051177
; This object is used when the water wave hits a bridge ... the bridge is
11061178
; replaced with this art that has super special animations of the bridge
@@ -1204,6 +1276,78 @@ Object ToxicInfantryBeta
12041276
GeometryIsSmall = Yes
12051277
End
12061278

1279+
;------------------------------------------------------------------------------
1280+
Object GLAToxicInfantryBeta
1281+
; *** ART Parameters ***
1282+
Draw = W3DModelDraw ModuleTag_01
1283+
1284+
DefaultConditionState
1285+
Model = UITRST_SKNB
1286+
Animation = UITRST_SKL.UITrst_DBLU
1287+
AnimationSpeedFactorRange = 0.9 1.3
1288+
AnimationMode = ONCE
1289+
End
1290+
End
1291+
1292+
1293+
; ***DESIGN parameters ***
1294+
Side = Civilian
1295+
EditorSorting = SYSTEM
1296+
TransportSlotCount = 1
1297+
ArmorSet
1298+
Conditions = None
1299+
Armor = HumanArmor
1300+
DamageFX = None
1301+
End
1302+
VisionRange = 150
1303+
DisplayName = OBJECT:ToxicInfantry
1304+
1305+
; *** AUDIO Parameters ***
1306+
1307+
; *** ENGINEERING Parameters ***
1308+
RadarPriority = NOT_ON_RADAR
1309+
KindOf = CAN_CAST_REFLECTIONS INFANTRY
1310+
1311+
Body = ActiveBody ModuleTag_02
1312+
MaxHealth = 50.0
1313+
InitialHealth = 50.0
1314+
End
1315+
1316+
Behavior = PhysicsBehavior ModuleTag_04
1317+
Mass = 5.0
1318+
End
1319+
1320+
Behavior = LifetimeUpdate ModuleTag_05
1321+
MinLifetime = 3000 ; randomness for these means going out of sync of the animation and particles
1322+
MaxLifetime = 3000
1323+
End
1324+
1325+
Behavior = SlowDeathBehavior ModuleTag_06
1326+
SinkDelay = 4500
1327+
SinkRate = 0.5 ; in Dist/Sec
1328+
DestructionDelay = 9500
1329+
End
1330+
1331+
Behavior = SquishCollide ModuleTag_07
1332+
;nothing
1333+
End
1334+
1335+
Behavior = FXListDie ModuleTag_08
1336+
DeathTypes = ALL -CRUSHED -SPLATTED
1337+
DeathFX = FX_GIDie
1338+
End
1339+
Behavior = FXListDie ModuleTag_09
1340+
DeathTypes = NONE +CRUSHED +SPLATTED
1341+
DeathFX = FX_GIDieCrushed
1342+
End
1343+
1344+
Geometry = CYLINDER
1345+
GeometryMajorRadius = 3.0
1346+
GeometryMinorRadius = 3.0
1347+
GeometryHeight = 12.0
1348+
GeometryIsSmall = Yes
1349+
End
1350+
12071351
;------------------------------------------------------------------------------
12081352
Object FirestormSmall
12091353

Generals/Data/INI/ObjectCreationList.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4438,6 +4438,28 @@ ObjectCreationList OCL_ToxicInfantryBeta
44384438
End
44394439
End
44404440

4441+
; -----------------------------------------------------------------------------
4442+
; Terrorists who die to toxic damage create this
4443+
; -----------------------------------------------------------------------------
4444+
ObjectCreationList OCL_GLAToxicInfantry
4445+
CreateObject
4446+
ObjectNames = GLAToxicInfantry
4447+
Disposition = LIKE_EXISTING
4448+
SkipIfSignificantlyAirborne = Yes
4449+
End
4450+
End
4451+
4452+
; -----------------------------------------------------------------------------
4453+
; Terrorists who die to toxic anthrax beta damage create this
4454+
; -----------------------------------------------------------------------------
4455+
ObjectCreationList OCL_GLAToxicInfantryBeta
4456+
CreateObject
4457+
ObjectNames = GLAToxicInfantryBeta
4458+
Disposition = LIKE_EXISTING
4459+
SkipIfSignificantlyAirborne = Yes
4460+
End
4461+
End
4462+
44414463

44424464
; -----------------------------------------------------------------------------
44434465
; The windmill blades and the roof of the hut for the GLA power plant

Generals/Data/INI/Upgrade.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Upgrade Upgrade_AmericaAdvancedControlRods
3434
DisplayName = UPGRADE:ControlRods
3535
Type = OBJECT
3636
BuildTime = 30.0
37-
BuildCost = 800
37+
BuildCost = 500 ;800 Need to have reason to build upgrade rather than another power plant - JL 1.6 patch
3838
ButtonImage = SSControlRods
3939
End
4040

@@ -190,7 +190,7 @@ End
190190
Upgrade Upgrade_ChinaAircraftArmor
191191
DisplayName = UPGRADE:AircraftArmor
192192
BuildTime = 40.0
193-
BuildCost = 500
193+
BuildCost = 1000 ;500
194194
ButtonImage = SSMigArmor
195195
ResearchSound = MigVoiceUpgradeMigArmor
196196
End

Generals/Data/INI/Weapon.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,9 +1229,9 @@ End
12291229
;------------------------------------------------------------------------------
12301230
Weapon ScudStormDamageWeaponUpgraded
12311231
PrimaryDamage = 500.0
1232-
PrimaryDamageRadius = 25.0
1233-
SecondaryDamage = 100.0
1234-
SecondaryDamageRadius = 50.0
1232+
PrimaryDamageRadius = 50.0 ;25.0
1233+
SecondaryDamage = 200.0 ;100
1234+
SecondaryDamageRadius = 200.0 ;50
12351235
AttackRange = 200.0
12361236
DamageType = EXPLOSION
12371237
DeathType = EXPLODED

0 commit comments

Comments
 (0)