Commit Graph

  • a4cfe642ef Fix: missing files Flugente 2016-03-27 16:23:29 +00:00
  • 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. Flugente 2016-03-26 23:16:41 +00:00
  • 33ab9c5e82 There are now separate functions for armed vehicles. Flugente 2016-03-26 21:52:49 +00:00
  • 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 Flugente 2016-03-26 13:41:54 +00:00
  • 285a7841c2 The flak jacket bonus now also applies to fragments. Flugente 2016-03-25 22:58:37 +00:00
  • 3a0d52e882 Built in safety check so that global offensives cannot be called more than once. Flugente 2016-03-25 14:30:04 +00:00
  • 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%. Flugente 2016-03-25 12:10:38 +00:00
  • 0ddb33576a - When a roof collapses, 'debris smoke' can briefly cloud the debris. Requires GameDir >= r2309. - Improved roof collapsing for small roofs. Flugente 2016-03-25 11:30:18 +00:00
  • 7e3d9e368c externalised maximum number of mortars per AI team to DifficultySettings.xml Flugente 2016-03-24 23:16:52 +00:00
  • 321203c3f1 Fix: test function was mistakenly committed Flugente 2016-03-22 18:41:26 +00:00
  • def585ef80 The merc profile #71 (RPC71) is now used for all combat jeeps. Flugente 2016-03-21 21:30:10 +00:00
  • 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 Flugente 2016-03-21 20:07:56 +00:00
  • 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 Flugente 2016-03-20 18:45:51 +00:00
  • 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 Flugente 2016-03-17 21:45:10 +00:00
  • 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& Wanne 2016-03-15 12:40:54 +00:00
  • 5bc2bae07e A fixes and translation for Russian language inshy 2016-03-14 11:33:12 +00:00
  • 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. silversurfer 2016-03-12 09:30:18 +00:00
  • 73462c3610 - Fix: external iInitialMercArrivalLocation was overwritten by value from savegame - Fix: gridno outside of map is used as valid map gridno Flugente 2016-03-12 00:23:09 +00:00
  • 80bfe613e8 Bugfix: Briefing Room: Deleted unused/wrong text box from briefing room (by Jazz) Wanne 2016-03-10 21:01:35 +00:00
  • e206c21daa Unified strategic map display code for airspace, militia restrictions and disease Flugente 2016-03-09 22:48:16 +00:00
  • 1689f1b571 Fix: sometimes items moved by the MOVEITEM assignment are left unreachable Flugente 2016-03-09 20:18:35 +00:00
  • 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 Flugente 2016-03-08 22:36:39 +00:00
  • 446484f6ca UB 1.13 Fixes (by Jazz) - Externalized more hardcoded grid numbers Wanne 2016-03-08 21:06:31 +00:00
  • 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 Wanne 2016-03-07 18:41:45 +00:00
  • 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. Flugente 2016-03-06 12:44:57 +00:00
  • 7e7476a4ea - Fix: machines have opinions - Fix: machines get diseases - Fix: disease assignment menu box accessible if feature is off Flugente 2016-03-05 19:51:39 +00:00
  • d23f9313bd Fix (by Sevenfm): AI attitude was mixed with orders in function NewDest silversurfer 2016-03-05 14:43:40 +00:00
  • b905632044 Moved WHO logo on the laptop page a view pixels to the right (to make more space for the headline text) Wanne 2016-03-03 18:50:45 +00:00
  • fa2d284034 - Moved hardcoded disease text "(undiagnosed)" to the language specific files text files Wanne 2016-03-02 16:14:11 +00:00
  • b5fd88b50f Bugfix: Doubled the string buffer size for all the Disease text fields for Disease.xml file, because in Russian language long text fields are cut (in Russian language one character needs 2 bytes) Wanne 2016-03-02 16:05:02 +00:00
  • ee7b935456 Disease: Added support for language specific Disease files (German.Disease.xml, French.Disease.xml, ...) Wanne 2016-03-01 23:00:27 +00:00
  • a71bf7d78f A fixes and translation for Russian language inshy 2016-02-29 14:32:08 +00:00
  • 757e094a89 Bugfix: Doubled the string buffer size the bio text field for OldAIMArchive.xml file, because in Russian language, character Bio was cut (in Russian language one character needs 2 bytes) Wanne 2016-02-27 17:49:04 +00:00
  • db3908a22e -Translated web page of "WHO" for Russian language inshy 2016-02-25 11:26:46 +00:00
  • 8a84940b4d -Fixed grammar in English. Yeah... Gamedev has gone to the dogs. inshy 2016-02-24 09:22:31 +00:00
  • 9388e38956 New parameter in DifficultySettings.xml: silversurfer 2016-02-13 15:20:45 +00:00
  • c3fd7373ae Added a function that quickly identifies whether a tileset contains a specific tileset Flugente 2016-02-07 14:25:15 +00:00
  • f20b638214 Fix: the game had inconsistent handling of maximum XP level. At some points it was 9, at others it was 10. Now it is 10 throughout the code. silversurfer 2016-02-06 23:31:57 +00:00
  • fe545b9eb3 Difficulty setting AlwaysUpGradeAdminsToTroopsProgress forces admin upgrade to troops once enough player progress is reached. Flugente 2016-02-06 00:05:51 +00:00
  • 330925b0ef When displaying a merc's maximum assignment points, factor in backgrounds values. Flugente 2016-02-05 22:18:05 +00:00
  • d1e1759aa2 Removed ENABLE_ZOMBIES-define Flugente 2016-01-31 17:54:51 +00:00
  • c0bf35543f Fix: AI interest in a covert spies' noise in yellow AI state is not lowered as intended (by sevenfm) Flugente 2016-01-31 15:39:27 +00:00
  • a0051c3b8d RADIO_OPERATOR_REINFORCEMENT_SETTING in Skills_Settings.ini controls under what conditions radio operators can call militia reinforcements. Flugente 2016-01-28 22:55:56 +00:00
  • d2be96384f Improved frame selection for frozen soldiers. Flugente 2016-01-28 21:46:11 +00:00
  • 2f84d10f07 If cheats or debug mode are active, the exact amount of disease points is described for each active disease. Flugente 2016-01-25 19:25:48 +00:00
  • 811f18009f New ammotype: cryo ammo deals no damage, but freezes a soldier for two turns (stackable effect). A frozen soldier cannot perform actions, and has drastically lowered damage resistance. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=22926&start=0& Flugente 2016-01-24 22:54:13 +00:00
  • a9778435dd Fix: GROUP pointer can be NULL after MoveSAIGroupToSector is called Flugente 2016-01-24 20:40:46 +00:00
  • bd6ba9b773 - Multiplayer Bugfix: After synchronizing client data, the cached item names did not get reinitialized Wanne 2016-01-24 20:02:39 +00:00
  • db51179b2d Fix: changed variable type to prevent possible underflow Flugente 2016-01-24 19:12:14 +00:00
  • a08076617a New translation inshy 2016-01-24 11:41:05 +00:00
  • b0207aadcb Reenabled the "AI Viewer" in Strategy screen when pressing F12 in a DEBUG 1.13 version - The AI Viewer was disabled in Revision 7727 (I don't know why ...) Wanne 2016-01-23 16:15:38 +00:00
  • b4179aeeeb Fix: It is possible to leave a sector while an explosion has been activated but not yet occured. In this case the game waits for the explosion to occur before hadnling AI, resulting in a deadlock. For more info on this bug, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=22909&start=0& Flugente 2016-01-17 16:00:42 +00:00
  • 4cf9f557f8 1) Do not use a "Tab" instead "Space" in the text messages. We don't have symbol for symbol "Tab" in the fonts, so when we use it in the text the game show "A" 2) Fixed mistakes in English 3) New translation for Russian text inshy 2016-01-17 09:54:44 +00:00
  • b430965027 Fixed compilation error in VS 2005 - Missing "include <math.h>" in ASD.cpp - Missing cast argument to FLOAT inside sqrt() function Wanne 2016-01-15 08:09:52 +00:00
  • 3ce0e04a79 Fix: possible overflow when creating building (by asm-debacle) Flugente 2016-01-11 18:06:21 +00:00
  • f6a3b481e5 Fix: scout trait description Flugente 2016-01-10 18:33:14 +00:00
  • 3af6748b03 - Fix: compiler warning - If possible, use the intended macrso to determine sector coordinates Flugente 2016-01-10 18:06:55 +00:00
  • f09d7818f0 - Moved ASD & Enemy Heli-related settings from JA2_Options.ini to Mod_Settings.ini. - Enemy Helis can also be unlocked if a certain game progress is reached. Flugente 2016-01-10 14:46:55 +00:00
  • f3acdb5963 If a downed enemy helicopter had soldiers on it, there is a chance that they survived the crash. Flugente 2016-01-09 22:28:26 +00:00
  • 7664342746 - New Feature: Arulco special division controls other features to fight the player. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=tree&goto=343706&#msg_343706 - New Feature: Enemy helicopters allow the AI to rapidly deploy troops aross the map. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=tree&goto=343707&#msg_343707. GameDir <= r2279 is required. - Fix: income of mine 0 was not correctly calculated Flugente 2016-01-09 19:45:30 +00:00
  • 70b832d0b4 Militia equipment feature improvement: - Attachments are rated depending on their class. The following attachments are used: Scopes, foregrip, bipod, lasers, sights, muzzle, stock, sling. - Attachments are rated just like any other item during the militia equipment process is. For now this is simply status * coolness. - After evaluation, attachments are added in the above order. This means that militia will now take bipod attachments, but always prefer foregrips for their shared slot. Flugente 2016-01-09 16:55:12 +00:00
  • 50c764ee04 Fix: - additional defenses around Meduna and additional elites where used incorrectly from DifficultySettings.xml - corrected some typos for parameters from DifficultySettings.xml silversurfer 2016-01-09 16:27:56 +00:00
  • 48413a9242 Fix: Fixed crash, when clicking on "Done" button after "Auto Resolve" has been finished (pGroup NULL pointer) Wanne 2016-01-03 11:43:38 +00:00
  • ec66894c75 -Fixed wrong translation... inshy 2016-01-01 20:33:42 +00:00
  • dcf8b3abaf AI improvements (by Sevenfm): silversurfer 2015-12-19 14:22:47 +00:00
  • 2c889635ac Fix: New drug system didn't work and led to crashes of the debug build at start. Data will now be assigned to NewDrug directly instead of going through a placeholder which breaks the vectors. silversurfer 2015-12-14 10:15:09 +00:00
  • 1e54f492ff AI flanking improvement by Sevenfm: silversurfer 2015-11-17 19:19:22 +00:00
  • 38e77c7295 Fix: Fixed compilation errors when trying to compile UB version Wanne 2015-11-04 08:12:47 +00:00
  • 0ff8256c40 Fix: When talking to a shopkeeper the game could crash with an assertion in Shopkeeper Interface.cpp line 990 because the temp vector wasn't initialized properly. silversurfer 2015-11-03 12:34:31 +00:00
  • a3806919ad Bugfix: Allow shooting on "water tiles" instead of showing the "?", if our soldier is on ground level > 0 Wanne 2015-10-23 14:47:15 +00:00
  • 91eef3098c - Equip Milita Improvements: I've written code, which adds attachments to free positions on the gun militia chose to pick up (by navaroe) - Bugfix: Reinforcements: Parts of roadblocks were resurrected after reinforcements death (by navaroe) Wanne 2015-10-15 10:40:58 +00:00
  • fbd5cc001f - Updated Chinese translations (by zwwooooo) Wanne 2015-10-05 19:31:35 +00:00
  • 6d08593bd0 MeLoDy Updates - Increased horizontal table column width to fit longer merc names Wanne 2015-09-13 15:21:55 +00:00
  • b9a07dd36a MeLoDy Updates - Increased horizontal table column width to fit longer merc names - Externalized header texts Wanne 2015-09-13 13:49:41 +00:00
  • ffdcb827df Externalized Quest strings (Encyclopedia) (FactDescText, QuestDescText) to the language Text files - See comment // TODO.Translate Wanne 2015-09-13 12:00:23 +00:00
  • a2589f7034 Bugfixes / Improvements (macros) of Assignments (by Franimus) - Fixed warning for INT8 overflow on scroll region priority, seemingly had no effect though - Use new assignment macros - Bugfix - POWs' activity level being overwritten - Feature - automatically bandage bleeding mercs on a PATIENT assignment - Bugfix - mercs treated at facilities should not use mercs' medkits - Added 3 new enums for facility doctor, patient, and repair - Bugfix for facility patients not detected as being in a facility - Bugfix - iBurstAPCost was ignoring half of its calculation due to extraneous semicolon Wanne 2015-09-12 11:27:28 +00:00
  • 3ab623e452 Externalised ini values: CORPSE_DELAY_UNTIL_ROTTING and CORPSE_DELAY_UNTIL_DONE_ROTTING control when a corpse rots and vanishes. Flugente 2015-08-19 20:02:00 +00:00
  • 8a84db40d4 Fix: enemy tanks spawned by cheats are not added to the sector count Flugente 2015-08-18 19:26:41 +00:00
  • a87200619a Fix: singleshot launchers are always displayed as out of range Flugente 2015-08-18 18:50:10 +00:00
  • 96d1177e31 Fix: sectors can't be selected in GETITEM menu Flugente 2015-08-17 21:09:44 +00:00
  • 5385ae1295 - Fix: cleaning weapons prompt read parameters wrong - when a merc regains HP via surgery, display the gain - if an EPC leaves the team, add them to the list of departed characters Flugente 2015-08-17 20:00:19 +00:00
  • 873929c410 Fix (by sevenfm): Queen position was not read correctly from Mod_Settings.ini silversurfer 2015-08-17 17:09:51 +00:00
  • e251139d99 Do not use a "Tab" instead "Space" in the text messages. We don't have symbol for button "Tab" in the fonts, so when we use it in the text the game show "A" inshy 2015-08-15 18:31:58 +00:00
  • 8fa2d4402c Rdio sets no longer need a battery. Flugente 2015-08-14 20:50:27 +00:00
  • dfe2dae684 -Translated "MeLoDY" web for Russian language inshy 2015-08-14 11:49:37 +00:00
  • 2655b37ddf Fix: ap cost for AI_ACTION_CLIMB_ROOF was wrong and calculated too often Flugente 2015-08-13 18:14:57 +00:00
  • 2d267a9d9b -Fixed grammar in English (It is Ok to use the word "insertion" in Kerberus web???) -Translated main page of Kerberus web for Russian language inshy 2015-08-13 13:21:21 +00:00
  • 7fed5fd5dd - Sandbags no longer need to be filled. - Item flags 1 and 4 (EMPTY_SANDAG and SHOVEL) are no longer used. Flugente 2015-08-12 21:14:48 +00:00
  • 80bdeff0e4 drinking aclcohol causes less dynamic opinion events, as there were way too many if drinking in a large group Flugente 2015-08-12 20:14:14 +00:00
  • 6fdde45807 - The 'Improve gear' function in the [Ctrl] + [.] menu improves the gear of all present mercs by replacing their items with sector items with higher status - Fix: AP costs for item consumption were not substracted Flugente 2015-08-11 22:51:00 +00:00
  • 80cf6af0ce - Fix: opinion events on drinking alcohol did not happen - Fix: mercs in transit complain about mercs present in Arulco Flugente 2015-08-09 22:21:37 +00:00
  • 13875810a4 minor code cleanup Flugente 2015-08-08 09:33:28 +00:00
  • 5e8ab2af31 Fix: possible access to invalid memory if waypoint is list was corrupted Flugente 2015-08-07 20:16:15 +00:00
  • 929d15ec8a changed several variable names for body types to 'ubBodyType', as this is more consistent and allows wider use of macros Flugente 2015-08-07 20:09:10 +00:00
  • 67fa865543 - Fix: Mike and Iggy could spawn as tanks - Tanks always get 100 HP - replaced a few hardcoded values with enums Flugente 2015-08-07 18:54:58 +00:00
  • 7dbff83e24 - Fix: VS2010 debug build issue with reading in StructureConstruct.xml - replaced a few hardcoded values with enums - use TANK(...) macro instead of checking for bodytype by hand Flugente 2015-08-05 19:01:11 +00:00
  • 90486b015b Oly start PMC hiring if > 0 militia have been selected Flugente 2015-08-04 19:11:13 +00:00
  • abe7117231 Fix (by navaroe): The game could try to place more soldiers on the map than the map had slots which would cause the game to crash. silversurfer 2015-08-02 13:59:07 +00:00
  • 0c27f5f2c4 Russian language files updated: -Fixed grammar in Russian inshy 2015-07-30 18:39:42 +00:00
  • 5474f16334 Russian language files updated: -Fixed some mistranslation inshy 2015-07-29 20:19:37 +00:00