Flugente
45dd9465f4
New feature: spawn extra civilains via Lua, see also http://thepit.ja-galaxy-forum.com/index.php?t=tree&th=22998&goto=344843&#msg_344843
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2311 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-04-03 14:38:13 +00:00
silversurfer
fcad428a12
Fix: When MIN_DELAY_ENEMY_REINFORCEMENTS was set in Ja2_Options.ini incoming enemy troops were not placed on the map because their reinforcement timer was not met yet. Also the game was paused so the timer could never run at all.
...
The game is now unpaused whenever we enter the tactical screen. Also if there are no enemies on the map yet the minimum reinforcement delay is ignored.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8131 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-29 14:08:26 +00:00
Flugente
186093923c
Fix: reinforcements do not arrive when no other enemies are present and reinforcements are ordered to be delayed.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8130 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-28 21:31:21 +00:00
Flugente
328d484b20
Fix: missing buildfile entries
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8129 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-27 16:30:38 +00:00
Flugente
a4cfe642ef
Fix: missing files
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8128 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-27 16:23:29 +00:00
Flugente
7bf2943849
If a tank just took a heavy hit, but cannot see an enemy to fire upon, it can detonate a smoke grenade on itself to hide.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8127 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-26 23:16:41 +00:00
Flugente
33ab9c5e82
There are now separate functions for armed vehicles.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8126 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-26 21:52:49 +00:00
Flugente
dba9e3eb88
AI update (by sevenfm):
...
- removed AI_EXTRA_FLANKING option
- LocationToLocationLineOfSightTest allows to check sight with specified height
- IsActionAffordable allows to specify action to check without faking it
- ClosestReachableDisturbance: correctly calculate path to each disturbance, added safety checks, update for noise checks
- CalcMoraleNew: update
- CalcBestShot: allow shooting at empty vehicles, but they have low priority
- allow AI to fire at dying opponents to avoid AI decision problems
- CheckIfShotPossible: allow any soldier with long range weapon to shoot in RED state (if he can hit)
- Flanking update
- WATCH decision update
- removed distance check for HELP decision to allow vanilla behavior, don't help if seen enemy recently or under fire
- suppression fire update
- pick up item decision: check that location is safe
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8125 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-26 13:41:54 +00:00
Flugente
b6cc0b1d74
As the xml editor crashes when no sound file exists in ExplosionData, an empty soundfile is used as a workaround.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2310 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-25 23:00:12 +00:00
Flugente
285a7841c2
The flak jacket bonus now also applies to fragments.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8124 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-25 22:58:37 +00:00
Flugente
3a0d52e882
Built in safety check so that global offensives cannot be called more than once.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8123 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-25 14:30:04 +00:00
Flugente
ad95d97bf7
If the number of prisoners in a prison exceeds that prison's <usPrisonBaseLimit> (from Map\FacilityTypes.xml), interrogation performance is lowered by up to 33%.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8122 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-25 12:10:38 +00:00
Flugente
0ddb33576a
- When a roof collapses, 'debris smoke' can briefly cloud the debris. Requires GameDir >= r2309.
...
- Improved roof collapsing for small roofs.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8121 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-25 11:30:18 +00:00
Flugente
1e3aeb216f
When a roof collapses, 'debris smoke' can briefly cloud the debris.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2309 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-25 11:27:42 +00:00
Flugente
7e3d9e368c
externalised maximum number of mortars per AI team to DifficultySettings.xml
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8120 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-24 23:16:52 +00:00
Flugente
9d629b1ae7
externalised maximum number of mortars per AI team to DifficultySettings.xml
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2308 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-24 23:15:39 +00:00
Wanne
ae5318e9af
Added German speech files for Stogie, Gaston and UB-Imp (169) (by firebat)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8119 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-24 20:09:38 +00:00
Wanne
78d139deb3
Update - 2016-03-24: Deadly Games German Translated Mercs for 1.13 - alpha (by firebat)
...
- added Tex
- added Ears
- updates to Jimmy
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8118 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-24 20:04:49 +00:00
Wanne
2b437f3c53
Fixed missing lastname for Kermit 'Frog' (by 3iff)
...
-> Kermit 'Frog' Fraser
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2307 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-24 08:46:15 +00:00
Flugente
321203c3f1
Fix: test function was mistakenly committed
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8117 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-22 18:41:26 +00:00
Flugente
def585ef80
The merc profile #71 (RPC71) is now used for all combat jeeps.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8116 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-21 21:30:10 +00:00
Flugente
5302b4aa5b
The merc profile #71 (RPC71) is now used for all combat jeeps.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2306 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-21 21:29:40 +00:00
Flugente
be346d07ef
- Fix: negative values for ExplosionSoundID or AltExplosionSoundID in ExplosionData.xml cause a game crash, even though negative values are intended
...
- armed vehicles always get the 'mounted' bonus for their guns
- removed unused code
- increased ASD starting resources
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8115 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-21 20:07:56 +00:00
Flugente
9e97538d89
New feature: enemy combat jeeps fill the role between infantry and tanks. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=344628&#msg_344628
...
This is savegame compatible. GameDir >= r2305 required.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8114 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-20 18:45:51 +00:00
Flugente
438b613663
New feature: enemy combat jeeps fill the role between infantry and tanks. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=344628&#msg_344628
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2305 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-20 18:44:16 +00:00
Wanne
9825852926
Added more enemy profiles to xml file for Elite and Regular (by 3iff)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2304 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-19 20:16:09 +00:00
Wanne
ec5a1b5f35
Added missing German speech files for Biggins, Waldo and Skyrider (by firebat)
...
Deleted wrong Miguel 229.npc (by firebat)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8113 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-19 20:08:41 +00:00
Flugente
b8c0036396
- Fix: When targetting a tank, mercs always aim for the 'head'. This results in misses if one changes the tank's JSD to a lower silhouette.
...
- Fix: crash during loading of a game, as a tanks animation required sounds which were missing due to vehicle list not yet bein initialised
- Fix: soldier's damaged by a blast always receive at least 1 damage, even if damage calculation results in 0
- If vehicles destroy a wall, this can now bring down a building's roof
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8112 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-17 21:45:10 +00:00
Wanne
23d4051473
Fixed problems with enemy rooftop climbing (by sevenfm)
...
- Also updated "Water", "DeepWater" and "WaterTooDeepForAttacks" methods: Added bLevel parameter (by sevenfm)
- see: http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=22966&start=0&
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8110 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-15 12:40:54 +00:00
inshy
5bc2bae07e
A fixes and translation for Russian language
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8109 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-14 11:33:12 +00:00
Wanne
63e8d00fd2
Update - 2016-03-13: Deadly Games German Translated Mercs for 1.13 - alpha (by firebat)
...
- reworked Manuel Speech (reduced speed and tone pitch by 16 percent. Now his speech sounds really good) (by firebat)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8108 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-14 07:32:26 +00:00
Wanne
c9bbf0ba0a
Update - 2016-03-13: Deadly Games German Translated Mercs for 1.13 - alpha (by firebat)
...
- added Hitman (Relationship-files)
- added Len (Relationship-files)
- added Magic (Relationship-files)
- added Scully (Relationship-files)
- added Larry (Relationship-files)
- added Vicki (Relationship-files)
- added Fidel (Relationship-files)
- added Fox (Relationship-files)
- added Cliff (Relationship-files)
- added Wolf (Relationship-files)
- added Biff (Relationship-files)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8107 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-14 07:25:14 +00:00
silversurfer
03c1ff2aea
Moved INITIAL_MERC_ARRIVAL_LOCATION from Ja2_Options.ini to Mod_Settings.ini. If Mod_Settings.ini has a value defined it will overwrite the value from Ja2_Options.ini. Otherwise it will leave it alone.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2303 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-12 09:35:42 +00:00
silversurfer
3fb99cfb87
Moved INITIAL_MERC_ARRIVAL_LOCATION from Ja2_Options.ini to Mod_Settings.ini. If Mod_Settings.ini has a value defined it will overwrite the value from Ja2_Options.ini. Otherwise it will leave it alone.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8105 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-12 09:30:18 +00:00
Flugente
73462c3610
- Fix: external iInitialMercArrivalLocation was overwritten by value from savegame
...
- Fix: gridno outside of map is used as valid map gridno
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8104 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-12 00:23:09 +00:00
Wanne
8cd7a0bb26
Deleted wrong unused speech files (by firebat)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8103 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-11 13:03:31 +00:00
Wanne
fe6f234001
Fixed wrong snitch speech from Carp (by firebat)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2302 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-11 13:02:43 +00:00
Wanne
6bd4431e5a
Bugfix: Briefing Room: Fixed wrong entries in Briefing Room xml (by Jazz)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2301 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-10 21:04:26 +00:00
Wanne
80bfe613e8
Bugfix: Briefing Room: Deleted unused/wrong text box from briefing room (by Jazz)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8102 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-10 21:01:35 +00:00
Wanne
4553db6bbf
Fixed wrong locations of certain speech file (Data\Speech <-> Data-1.13\Speech) (thx to firebat)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2300 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-10 20:48:02 +00:00
silversurfer
6a3585c1c3
Fix: Description in DifficultySettings.xml implied that we could use/create more than 4 difficulty levels. We can not! This will crash the game!
...
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2299 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-10 11:32:08 +00:00
Flugente
e206c21daa
Unified strategic map display code for airspace, militia restrictions and disease
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8101 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-09 22:48:16 +00:00
Flugente
1689f1b571
Fix: sometimes items moved by the MOVEITEM assignment are left unreachable
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8100 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-09 20:18:35 +00:00
Flugente
908923e813
New display mode: "CTH mode" displays a very rough cth indication in the current merc's firing cone. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20659&goto=344441&#msg_344441
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8099 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-08 22:36:39 +00:00
Wanne
23a6efb03a
UB 1.13 Fixes (by Jazz)
...
- Externalized more hardcoded grid numbers
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2298 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-08 21:07:09 +00:00
Wanne
446484f6ca
UB 1.13 Fixes (by Jazz)
...
- Externalized more hardcoded grid numbers
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8097 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-08 21:06:31 +00:00
Wanne
c5b3d24220
UB 1.13 Fixes (by Jazz)
...
- The problem was fixed with the mark of underground sectors on the strategic map (J14-1,K14-1,L15-2,L15-3).
- Fixed the problem with moving from the sector K14-1 to K15-1.
- Added a few new parameters to the file UB_Options.ini
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2297 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-03-07 18:42:33 +00:00
Wanne
ea6e30d8c8
UB 1.13 Fixes (by Jazz)
...
- The problem was fixed with the mark of underground sectors on the strategic map (J14-1,K14-1,L15-2,L15-3).
- Fixed the problem with moving from the sector K14-1 to K15-1.
- Procedure HandleMovingTheEnemiesToBeNearPlayerWhenEnteringComplexMap was blocked in the file strategicamp.cpp.
- Added a few new parameters to the file UB_Options.ini
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8096 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-07 18:41:45 +00:00
Wanne
4c665bf593
Update - 2016-03-06: Deadly Games German Translated Mercs for 1.13 - alpha (by firebat)
...
- added Reuban
- updates to Gary
- updates to Bob
- updates to Snake
- updates to Bud
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8095 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-06 16:48:01 +00:00
Flugente
12ae810316
- New feature: sector fortification allows to construct structures in sectors in a much easier way than by using amerc to build 'by hand'. Fortification nodes are in a subfolder in Profiles and can easily be altered and exchanged, even in an ongoing game.
...
Fully savegame compatible.
GameDir >= r2296 is recommended, but not required.
- Cleaned up cover display functions.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8094 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-03-06 12:44:57 +00:00