Commit Graph

  • 6e55c159de Changed camo display - now only the highest value is displayed in the camo box instead of a sum of all different types of camo. This also fixes the problem that a laser could drown our camo value because of different types of penalties. Also camo can no longer take a negative value. silversurfer 2015-03-18 16:29:57 +00:00
  • 4b5fc5bc3c Fix: - large MOLLE pockets didn't display their volume in EDB - attaching a filled MOLLE pocket didn't show its contents. Now the contents will be removed and put in the soldiers inventory or on the ground if there is no space. silversurfer 2015-03-17 18:15:58 +00:00
  • 38a931ed7a When using a german exe, cheats are no longer activated by 'Alt' + 'IGUANA' but 'Alt' + 'GABBI' instead, like in all other languages. Flugente 2015-03-16 20:33:33 +00:00
  • f421eb4529 Fix: If the Hicks spot a spy at night, they don't enter combat as often. Flugente 2015-03-16 20:29:27 +00:00
  • 2afa02c913 Requires GameDir >= 2227 because of new icons! silversurfer 2015-03-16 09:56:29 +00:00
  • 76689ab99d Enhancement: It is now possible to display attachments and contents of LBE at the same time when game option "Show LBE Content" is active. http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20659&goto=340063&#msg_340063 silversurfer 2015-03-15 12:50:30 +00:00
  • 877f205b92 Fix: When defusing a gun trap, the attached gun vanished Flugente 2015-03-13 22:55:19 +00:00
  • b92524da77 Deleted unused code Flugente 2015-03-13 18:31:13 +00:00
  • 181f6eba63 Fix (by Sevenfm): - calculation error in sight adjustment for stealth at light level - calculation error in sight adjustment for movement at light level silversurfer 2015-03-11 19:38:47 +00:00
  • b3a362978c Fix: On some maps, fragments from explosives travel at the wrong height, thus dealing no damage. Flugente 2015-03-10 22:14:28 +00:00
  • 8751402f5c Fix: militia cannot be ordered to move in strategic Flugente 2015-03-10 20:13:59 +00:00
  • e0d15266ea Fix: mercs on repair assignment continued repairing after running out of repair points, causing extra repairs on items with repair ease > 0 Flugente 2015-03-09 21:01:24 +00:00
  • 6e824810ab - Fix: profile id was used instead of profile's face id - Fix: squad names were not used correctly Flugente 2015-03-09 18:19:34 +00:00
  • 68869f77b2 If ALLOW_BANDAGING_DURING_TRAVEL is set to TRUE, travelling mercs will bandage themselves if they bleed. This behaviour is off by default. Flugente 2015-03-07 15:53:25 +00:00
  • 62f0461f96 - disease infection chances (percentage) is now read as float, valid numbers between 0.01 an 100.0 - lowered infection chances for swamp/tropical sectors and contact with humans/corpses - infections on gunshot wounds only happen on severe wounds (damage taken > 20) - lifeloss by bloodloss no longer leads to traumatic infections Flugente 2015-03-06 21:42:32 +00:00
  • 66d4bc8a33 Added disease resistance and lowered food and drink consumption to survival trait. Flugente 2015-03-05 22:43:15 +00:00
  • 5b5f24401c If not enough militia can be trained due to a lack of volunteers, excess trainign goes into militia promotions instead. Flugente 2015-03-05 22:04:53 +00:00
  • f3553cf888 Fix: Mercs that have the <druguse> tag in their background spawned a bottle of alcohol anywhere in there inventory at full hour when function HourlyLarryUpdate() was run. The bottle would spawn in invalid slots as well for example the backpack slot. Now the game will only spawn a 25% condition bottle which is consumed right away which solves the inventory problem. This is more or less a hackfix. silversurfer 2015-03-04 10:54:28 +00:00
  • 8ae8c147f9 Fix (by Sevenfm): NCTH aperture was offset by 1 to the bottom right silversurfer 2015-03-02 17:15:29 +00:00
  • 215550e8fc Fix: Machinegunner trait did only count once for LMG attack AP reduction silversurfer 2015-03-01 16:25:58 +00:00
  • 0875a76687 If the player has no prison and thus has to let his prisoners go, some might volunteer. Flugente 2015-03-01 00:42:20 +00:00
  • 9d8e5a4c3a - New prisoner class: Civilians can be interrogated. Does not work for profile-based charcters. - Capturing civilians is possible if their faction has <fCanBeCaptured> set to 1. Flugente 2015-02-28 22:35:30 +00:00
  • 4b70b1e400 Fix: mouse position was not restored after a message box was closed silversurfer 2015-02-28 17:08:37 +00:00
  • f6f19d01cd Fix: captured enemy officers still provided boni Flugente 2015-02-28 15:32:51 +00:00
  • b7612ab64e Fix: Auto weapons (expert) could not be selected during IMP creation Flugente 2015-02-28 14:13:31 +00:00
  • deba6d7ac0 Merged from revision: 7757 Multiplayer Bugfix: Reverted the "endless interrupt bugfix" for the pure client, because it was not working correctly, and the server could not press ALT + E to give the turn back to the client, if stuck. Wanne 2015-02-28 12:54:15 +00:00
  • 8bfb14e90a New Trait: SURVIVAL (new minor trait) gets the non-weapon parts of the ranger trait. Flugente 2015-02-27 23:23:03 +00:00
  • 3f615cc68b Depending on whch direction the helicopter came from, a different aniamtion will play when performing a heli insertion. Flugente 2015-02-26 20:16:13 +00:00
  • 34803db3cd fix: - alternative heli fuel system read the wrong parameters from Helicopter_Settings.INI - when alternative heli fuel system was turned off the heli wouldn't refuel at all despite being at a refuel site silversurfer 2015-02-26 17:14:52 +00:00
  • b2d35f6333 Message boxes can now have the mouse over a default button. First places this is used are the tactical sector menu (CTRL + .) where "Refill Canteens" is the default and the trap disarm menu where "Disarm" is the default. silversurfer 2015-02-23 19:33:15 +00:00
  • c7c085b04f New Feature: Militia Volunteer Pool limits the number of militia we can train. Turned off by default. Flugente 2015-02-22 18:52:41 +00:00
  • caf482614a Pre-placed bombs (action items with an explosive) can now be blown up by explosives. This allows clearing mine fields with grenades for example. silversurfer 2015-02-21 16:33:44 +00:00
  • 045d171bb6 - Fix: counterattack groups did not spawn from sectors that had no enemy troops, even if there were other forces present, thereby unnecessarily prolonging their movement time - Fix: higher difficulty level indizes made tank apearances in counterattacks more likely Flugente 2015-02-21 14:55:28 +00:00
  • d4432d95c3 - If ALLOW_MILITIA_STRATEGIC_COMMAND is TRUE and militia can be commanded, oen can order them to retreat from autoresolve - Final sector in a militia group's path is shown while plotting in the strategic map. Flugente 2015-02-20 23:27:22 +00:00
  • bfe520debf When clicking on a sector to start militia pathing, and the sector does not have static militia but militia groups, select the last militia group instead of creating a new empty one. Flugente 2015-02-18 21:04:47 +00:00
  • 1d1616707d fix: Mercs were always complaining that they can't hit a target with buckshot. Problem was that only one pellet was considered for the fake shot. Now all are calculated and the best result is returned. silversurfer 2015-02-16 19:23:09 +00:00
  • 38cb0f8ffc fix: on map screen number of enemy troops in a sector was displayed incorrectly if there was one player unit besides the sector and another unit was diagonal to it and ALLOW_DETECTION_IN_DIAGONAL_SECTORS was FALSE. silversurfer 2015-02-15 13:36:58 +00:00
  • 33cb09366c enhancement: in NCTH the EDB now shows the effective mag factor for a gun in the final column. This should make it easier to decide who will profit most from a scope on the gun. silversurfer 2015-02-15 09:26:09 +00:00
  • 31cb148d53 fix: after boxing the characters would retain their boxing flags including the AI control of player characters. This caused player characters to do random stuff. silversurfer 2015-02-14 18:33:03 +00:00
  • 7d932ffe75 fix: The first three boxing fights could never be completed if no boxers were available (direct result of a change in r7263) because Darren's quote requires at least one boxer. If the player killed all boxers during these fights the check would fail. A new externalized parameter "KINGPIN_RING_TILE" for Kingpins location at the ring was implemented. This is used to check if Kingpin is watching these first three fights. If so it will override the BoxersAvailable check. silversurfer 2015-02-14 17:27:03 +00:00
  • 89b9a69b9b Fix: Militia does not equip multi-shot launchers if there are less than 3 shots in the sector. Flugente 2015-02-13 20:47:54 +00:00
  • b3b3fe0580 If firing a one-shot rocket launcher creates a discarded RPG, drop it to the ground, as the object is useless anyway. Flugente 2015-02-13 20:25:04 +00:00
  • f5ba30c57f Militia groups can coordinate their arrival with other player and militia groups. Flugente 2015-02-12 21:45:55 +00:00
  • 24dae202f8 If airspace isn't controlled by neither side (due to damage to SAM site, lack of qualiified is currently not checked), airspace is coloured blue. Flugente 2015-02-12 20:57:27 +00:00
  • 39b45c89d8 No nighttime movement penalty for militia groups if they move inside a town. Flugente 2015-02-12 19:23:50 +00:00
  • 5826dd63a6 Female admins and troops can appear in autoresolve. Flugente 2015-02-12 18:53:23 +00:00
  • 6336f2bbb7 Altered tank position in autoresolve. Flugente 2015-02-11 22:38:17 +00:00
  • 07e09f17fe Enemy tanks can now fight in autoresolve. If mercs/militia is attacking a tank and has heavy weapons, they will use these against the tank. Flugente 2015-02-11 21:44:15 +00:00
  • c9bcf90966 Expanded feature: Militia Strategic Movement is turned on with ALLOW_MILITIA_STRATEGIC_COMMAND set to TRUE and allows plotting paths for the militia just like for merc squads. Flugente 2015-02-08 22:11:16 +00:00
  • c94ac421ae Merged from revision: 7725 - Fixed typos in English AIM Bios and source texts (thx to ATigersClaw) Wanne 2015-02-04 19:25:06 +00:00
  • e4ef716d91 Bugfix: When using a vehicle to move to an enemy sector mercs will force exit the vehicle. In this case the team panel sort order was random depending on which merc was last selected. This problem occurred because the sort function for the squad was not called for this scenario. It is now called whenever a merc is added to a squad. Because of this the call for the sort function was removed from function SetAssignmentForList(). We do not need to call it twice. silversurfer 2015-02-01 22:14:33 +00:00
  • 46b34e55d1 - new option for automatic IMP item distribution: uiIndex 52 "Sidearm" in IMPItemChoices.xml is used to give the IMP a standard sidearm based on random selection. It is encouraged to remove marksmanship based gun choices and instead add special weaponry for traits. silversurfer 2015-01-31 14:36:36 +00:00
  • 4ba64556bf Fix: no morale/loyalty penalty if a killed civilian was a member of a group Flugente 2015-01-22 21:13:30 +00:00
  • 4c46054977 If a person kills someone on the same side, they curse instead of laugh. Flugente 2015-01-18 02:50:53 +00:00
  • 33316bcac8 A gun only counts as mounted if it is raised. This does not alter shooting mechanics and removes unnecessary code changes. As a sideeffect, mercs will complain less often about other mercs using them as weapon racks. Flugente 2015-01-17 22:21:34 +00:00
  • 3f7bbdc423 Radio Operators can now use their skills while using Old Inventory. Flugente 2015-01-17 21:02:22 +00:00
  • fd1ecb2edf Merged from revision: 7716 - Improved message prompt when launching game in fullscreen mode on unsupported screen resolutions instead of just those that's set to larger than primary desktop resolution (by Buggler) Wanne 2015-01-07 20:05:23 +00:00
  • bb95be057b Replaced reinforcement functions to allow non-enemy movement groups to reinforce battles Flugente 2015-01-06 21:11:36 +00:00
  • 474df6ffb5 - removed UINT8 NumFreeMilitiaSlots() - militia groups can reinforce battles in neighbouring sectors Flugente 2015-01-06 19:54:29 +00:00
  • 097c33815d Altered group movement draw function Flugente 2015-01-06 19:42:28 +00:00
  • 34a8b22f54 Removed unused code Flugente 2015-01-06 17:09:09 +00:00
  • cc572651c0 Replaced UINT8 CountAllMilitiaInSector(INT16 sMapX, INT16 sMapY); with UINT8 NumNonPlayerTeamMembersInSector( INT16 sSectorX, INT16 sSectorY, UINT8 ubTeam ); Flugente 2015-01-06 01:22:07 +00:00
  • c8eda14e2b Work has begun to enable strategic movement for other teams than just player and enemy. - I've changed the GROUP struct - instead of BOOLEAN fPlayer we now have UINT8 usGroupTeam. - To further simplify the code, I've replaced UINT8 NumEnemiesInSector( INT16 sSectorX, INT16 sSectorY ); with UINT8 NumNonPlayerTeamMembersInSector( INT16 sSectorX, INT16 sSectorY, UINT8 ubTeam ); Flugente 2015-01-06 00:50:25 +00:00
  • 57f6e41d47 Merged revision(s) 7694 from branches/Flugente/BaseTable: IMP gear images can be shown without background if required Flugente 2015-01-05 00:58:28 +00:00
  • 0ecfe1109c Merged revision(s) 7701 from branches/ja2_source_official_2014: Merged revision(s) 7692 from branches/Flugente/BaseTable: Merged AssignMinorTraitHelpText(...) and AssignSkillTraitHelpText(...) into AssignPersonnelSkillTraitHelpText(...) Flugente 2015-01-05 00:53:26 +00:00
  • 209ba22b49 Merged revision(s) 7700 from branches/ja2_source_official_2014: Merged revision(s) 7690 from branches/Flugente/BaseTable: Improved required stats for IMP creation. Flugente 2015-01-05 00:40:39 +00:00
  • 8cfdddddc4 Merged revision(s) 7699 from branches/ja2_source_official_2014: Merged revision(s) 7688 from branches/Flugente/BaseTable: - moved hair & skin enums to header - moved hair colour choosing function to header Flugente 2015-01-05 00:39:35 +00:00
  • 72809ac09f Merged revision(s) 7698 from branches/ja2_source_official_2014: Merged revision(s) 7685 from branches/Flugente/BaseTable: no need for each dropdown to have its own image library Flugente 2015-01-05 00:33:38 +00:00
  • 134b534718 Merged from revision: 7683 Fixed a few errors in Russian translation (by Sevenfm) Wanne 2014-12-28 09:37:06 +00:00
  • 3a61f680da Merged revision(s) 7680 from branches/ja2_source_official_2014: Fix: crash on IMP creation if selected voiceset uses .ogg files instead of .wav Flugente 2014-12-18 16:52:51 +00:00
  • eebb57ed38 Merged from revision: 7678 Editor Fixes (by Buggler): - '~' (tilde) hotkey to toggle level cursor if applicable; CTRL hotkey for placing objects on roof removed - Fixed missing roof cursor for non-vanilla size maps - Updated editor popup text Wanne 2014-12-09 15:57:15 +00:00
  • eaa153b310 Merged from revision: 7676 Features (by anv) - new Ja2_Options.ini setting - HIDE_EXPLORED_ROOM_ROOF_STRUCTURES (e.g. sandbags) at ground level view - Hold CTRL hotkey in mapeditor to place any object on roof Wanne 2014-12-06 13:37:25 +00:00
  • bb264d6815 Merged from revision: 7674 - Fixed merc lighted movement popup text in options screen (by Buggler) Wanne 2014-12-06 12:57:40 +00:00
  • de99bcdb4f Merged from revision: 7672 Increased MAXATTACHMENTS size from 30000 to 40000 which is needed for the amount of attachments in AIMNAS mod (by DepressivesBrot) Wanne 2014-12-05 19:13:54 +00:00
  • 62287f7672 Merged from revision: 7670 Updated _FrenchText.cpp (by hrvg) Wanne 2014-12-04 16:51:53 +00:00
  • 0ef41fffd7 Merged from revision: 7668 - Externalized hardcoded TownInfo text which shows the number of Total # of prisoners/capacity, to language text files Wanne 2014-12-01 20:57:11 +00:00
  • 5064e59785 Merged from revision: 7666 - Updated _FrenchText.cpp (by hrvg) Wanne 2014-11-29 17:20:31 +00:00
  • 6e0823d5d1 Merged from revision: 7662 Fixed typos in Source Code texts (thx to ATigersClaw) Wanne 2014-11-24 17:13:16 +00:00
  • d9badabaf6 EDB now displays morale modifier for food. silversurfer 2014-11-20 12:17:13 +00:00
  • 4f00ce2ffd Merged revision(s) 7659 from branches/ja2_source_official_2014: Fix: memory corruption in CalcChanceToGetThrough() causes game crash Flugente 2014-11-18 20:53:39 +00:00
  • 7b700ac5c2 Merged from revision: 7657 Fixed missing "," for pHelicopterEtaStrings[] for Dutch, Italian, Polish and Russian Version (thx to Woquit) Wanne 2014-11-17 19:51:08 +00:00
  • 71546b5cc8 Fix (by Ocular): departed personnel stats and help text where not shown correctly http://www.ja-galaxy-forum.com/ubbthreads.php/topics/337768/[PATCH]_Fix_departed_personnel#Post337768 silversurfer 2014-11-16 19:53:50 +00:00
  • 3a015ed1e6 Fix: dynamic opinions: mercs will only complain about the killing of civilains if they aren't hostile at the moment of their death Flugente 2014-11-12 21:08:08 +00:00
  • ee27a3864c Fix: removed unnecessary display cover updates (by Ocular) Flugente 2014-11-11 19:33:26 +00:00
  • b5ed7df390 DISEASE_CONTAMINATES_ITEMS controls wether contaminated food/blades/throwing knifes can infect people. Flugente 2014-11-05 22:01:14 +00:00
  • 291985c022 ROOF_COLLAPSE controls whether roofs can be destroyed. Flugente 2014-11-04 20:37:42 +00:00
  • 94ded57962 New Feature: tracking allows rangers to track past movements. Flugente 2014-11-04 20:03:18 +00:00
  • 60bffb1352 Fix: Removed invalid item property "counterforcefrequencymodifier" and all code parts associated with it. It was not used anymore by the game but fragments of it were still displayed in EDB which lead to confusion. silversurfer 2014-11-03 13:23:05 +00:00
  • 001f716d2f Fix: Swap Merc Portaits caused problems when trying to swap position with a dead merc. This is now denied. silversurfer 2014-11-02 15:16:57 +00:00
  • b09e46dd1b Fix: When no sector was selected and a savegame was loaded the game couldn't find a valid loading screen. silversurfer 2014-11-02 14:12:21 +00:00
  • d4b6b6f4a7 Fix: During Autoresolve a group that was in the sector could be assigned again as reinforcement which practically cloned the soldiers. Groups that are in the battle sector already now will not be considered as reinforcement anymore. silversurfer 2014-11-02 13:41:18 +00:00
  • 7a61eec3e0 Merged revision(s) 7634 from branches/ja2_source_official_2014: Fix: NPCs could be handcuffed. This is useless as long as there are no routines that handle their removal and interrogation. Flugente 2014-11-02 03:11:19 +00:00
  • eee078af6d Merged revision(s) 7632 from branches/ja2_source_official_2014: Fix: missing strings lead to confusion in finance log Flugente 2014-11-02 00:19:00 +00:00
  • 7bd14ec3fc Fix: LBE layouts were broken since r7600 and always displayed all slots instead of those defined in LoadBearingEquipment.xml. silversurfer 2014-11-01 18:38:31 +00:00
  • 65056d793c Fix: should any robot still have the covert property from a savegame prior to r7628, simply remove it. Flugente 2014-11-01 17:09:08 +00:00
  • 30ae48c8d7 Fix: robot could get the 'covert' property when added to the team Flugente 2014-11-01 17:01:00 +00:00
  • 62cb6f44fa Fix: Spreadpatterns did never work since their externalization. Now they should work. silversurfer 2014-11-01 13:31:51 +00:00
  • 8857e0772b - if a a roof collapses, any structures built on it (fans, sandbags) are destroyed - if a a roof collapses, any corpses on it are moved to the floor Flugente 2014-10-31 22:13:32 +00:00
  • faf345ac18 Fix (by Sevenfm): Corrected mixed suppression parameters MAX_CTH_PENALTY_FOR_TARGET_SHOCK and MAX_CTH_PENALTY_FROM_SHOCK and also fixed suppression calculation. http://www.ja-galaxy-forum.com/ubbthreads.php/topics/337412/Re:_Code_Snippets#Post337412 silversurfer 2014-10-31 15:36:02 +00:00
  • 08af7cca36 Fix: Inventory popups for LBE slots didn't work properly. LBE slots are supposed to return a pocket type of -1 because they are no pockets. Instead they returned 2 (Knife pocket). silversurfer 2014-10-30 16:11:24 +00:00