Commit Graph

  • 61f56fe0e6 fixed regression that caused mercs to keep their direction&animation when moving into another sector Shadooow 2021-10-28 18:29:35 +00:00
  • 14e963e338 re-enabled the scrolling functionality via mouse wheel on the message scroll bar which got lost due to previous change to message region boundaries Shadooow 2021-10-28 14:34:44 +00:00
  • c9b9652940 reworked the camouflage and weight map regions to be created only on demand Shadooow 2021-10-28 13:26:02 +00:00
  • 30b3528956 improved the boundaries of the message area in map screen Shadooow 2021-10-28 12:56:56 +00:00
  • f0f558f872 fixed collapsed soldiers sometimes not being able to get up when they should have until next player round Shadooow 2021-10-28 09:36:58 +00:00
  • d238927dd0 detaching attachment will no longer check for 12AP more than it should, this was kind of safety check, but it is confusing and not needed anymore Shadooow 2021-10-28 08:48:54 +00:00
  • 6d8e11931a fixed negative value passed into PreRandom that could cause game to crash Shadooow 2021-10-27 00:21:47 +00:00
  • c7139a2569 using an item will now close EDB if opened, this fixed bug where attaching a 40mm grenade into laucher via EDB box and firing from it without closing it didn't substract AP for attaching the grenade Shadooow 2021-10-26 22:44:19 +00:00
  • d02547c7c8 When attaching launchable to attached launcher, use launcher's reload AP cost. Don't apply ambidextrous attach speed bonus when attaching launchable to launcher. When playing reload sounds, set volume and pan based on soldier's location. Sevenfm 2021-10-26 13:49:55 +00:00
  • 8413c5ee8f GetReliability: attached weapons should not add reliability. Sevenfm 2021-10-26 07:06:43 +00:00
  • 4b646aad96 GetSightAdjustmentCamouflageOnTerrain: fix signed/unsigned calculation, limit effectiveness to +-100. GetDetailedSightAdjustmentCamouflageOnTerrain: fix signed/unsigned calculation. Sevenfm 2021-10-24 15:02:27 +00:00
  • 36d67602fd Added camouflage bonus to the survival trait (by rftr). Sevenfm 2021-10-24 09:02:48 +00:00
  • a8bace71fc Rebel command balancing (by rftr): - most admin actions' effectiveness now scale with town loyalty - added the ability to spend supplies to raise town loyalty - fixed arc website dropdown issues - minor code cleaning in Rebel Command.cpp Sevenfm 2021-10-22 09:31:38 +00:00
  • c577894d3f Allow scuba bottle to work from backpack slot for mod compatibility. Sevenfm 2021-10-19 08:25:27 +00:00
  • 8d8f912e1a Fix: ASD deploys tanks if there are any in reserve, instead of prioritizing jeeps (by rftr). Sevenfm 2021-10-19 07:22:32 +00:00
  • 68664bed77 fixed bleeding value not being substracted when losing max hp which resulted into the graphic HP bar having wrong color Shadooow 2021-10-18 08:26:32 +00:00
  • ff172cc92f fix: follow-up minievents properly wait for the specified time (by rftr) fix: money income from rebel command displays properly in finances (by rftr) Sevenfm 2021-10-18 06:15:40 +00:00
  • a3bcfef40a maximum heath of merc on mapscreen will now show in red color if the merc suffered a health loss from critical hit Shadooow 2021-10-17 23:16:52 +00:00
  • 7f57376f93 pressing ESC while map movement popup box opened will now cancel the box instead of leaving map into tactical mode Shadooow 2021-10-17 22:37:20 +00:00
  • 9f18ebb382 fix: mercs in a helicopter can initiate movement by clicking in their destination column, like regular on-foot/in-car movement (by rfrt) Shadooow 2021-10-17 21:58:13 +00:00
  • b11957691c Fix for critical bug introduced in r9182: replace CoweringShockLevel check which calculates suppression tolerance every time, with IsCowering, which uses cowering animation check. DrawBarsInUIBox: fix possible divide by zero. Sevenfm 2021-10-16 16:07:31 +00:00
  • 9fd9e82397 NEW_SUPPRESSION_CODE: - increased min base value for suppression tolerance, so merc with low morale/level have higher base tolerance which can be reduced by other factors - NEARBY_FRIENDLIES_AFFECT_TOLERANCE: penalty -0.5 if friend is cowering or unconscious, increased limits to +-5 Sevenfm 2021-10-15 09:05:32 +00:00
  • 6d14282538 NEW_SUPPRESSION_CODE: - use effective experience level when calculating base suppression tolerance, so nearby squad leaders may raise effective level and help fight suppression - if NEARBY_FRIENDLIES_AFFECT_TOLERANCE option is active, nearby friends can help increase suppression tolerance, up to +-3 points added depending on distance, only for merc bodytypes Sevenfm 2021-10-15 08:44:57 +00:00
  • 7978ad77f3 Morale changes for AI soldiers: - GetMoraleModifier: use bMorale for both player and AI. - CalcSuppressionTolerance: use morale as a base for tolerance for AI soldiers. - HandleSuppressionFire: morale loss for AI soldiers. - EVENT_BeginMercTurn: increase morale for AI soldiers. - TacticalCreateSoldier: Set morale = 60 + 2 * bExpLevel + Random(20) when creating AI soldier. Sevenfm 2021-10-15 05:52:09 +00:00
  • 7a7f554908 Fix/change: the hospital now checks for mercs with damaged stats in addition to damaged health. in addition, the hospital now charges money to heal damaged stats (by rftr). Minor fixes for quest debug log. Sevenfm 2021-10-15 04:49:17 +00:00
  • 144842b1f6 Fixed crash when Carmen attempts to give the diskette to the Barry. Note, this is rather a workaround than anything. The reason for this crash is that the Merchants.xml contains only 68 entries, but the total number of arms dealers is 80. Thus the remaining 12 slots are zero-fill and therefore the function to check if soldier is armsdealer will return true for Barry as his profile id is 0. A large rewrite of this additional arms dealers system is required. Shadooow 2021-10-14 18:47:06 +00:00
  • aa767c4355 Minor code improvements for quest logging. Sevenfm 2021-10-14 08:43:15 +00:00
  • 0a717c2697 Removed option AI_DECISION_INFO. Added quest debug logging to Logs\QuestInfo.txt Sevenfm 2021-10-14 08:35:32 +00:00
  • 9f787dd73d QOL change: show additional ammo stats at bobby ray's website (by rftr). Sevenfm 2021-10-14 06:40:28 +00:00
  • b689b51962 NEW_SUPPRESSION_CODE: calc base suppression tolerance for AI from health/shock instead of AI morale. Sevenfm 2021-10-05 12:10:07 +00:00
  • d3d06bced6 Mercs with the <druguse> tag in their background don't automatically consume drugs/alcohol if they are asleep (by rftr). Sevenfm 2021-10-05 07:29:05 +00:00
  • 712d6664be removed one of my comments that got into slive ource by accident Shadooow 2021-10-05 02:31:58 +00:00
  • d1911e421e Added NEW_SUPPRESSION_CODE option, which makes suppression tolerance calculation more balanced. Sevenfm 2021-10-04 17:55:04 +00:00
  • 93f8484d56 Added array readers to the ini reader (by rftr). Sevenfm 2021-10-04 07:08:32 +00:00
  • 9ebd4a5137 Bugfix: dissolve all militia groups involved in a battle when it is completed. this fixes bad/immobile militia groups created by safehouses (ARC feature) (by rftr). Sevenfm 2021-10-04 06:59:37 +00:00
  • 20335041f7 fixed autobandaging showing up during conversation which caused numerous issues Shadooow 2021-09-24 02:10:48 +00:00
  • 566f8ab5d4 fixed exploit allowing to steal attachments from vendor items Shadooow 2021-09-24 01:45:04 +00:00
  • 95a810e382 AI flanking: - avoid moving too far from noise spot, except for CUNNINGSOLO - avoid moving too close to enemy vision range Sevenfm 2021-09-23 18:20:49 +00:00
  • 999fc8ac96 improved the graphic of the prebattle table Shadooow 2021-09-17 08:50:52 +00:00
  • 79bd483fe4 allowed mouse wheel to work in map screen message log area Shadooow 2021-09-10 20:53:57 +00:00
  • ac3d9a9ec8 fixed loading games via main menu->preferences->load game not loading them correctly Shadooow 2021-09-06 07:43:04 +00:00
  • 418cf24039 misc fixes (by rftr): - cleaned up warnings in Rebel Command.cpp - ARC: Draft directive is hidden if volunteer pool option is disabled - fixed dropdown menu behaviour at the RIS website Sevenfm 2021-09-03 05:15:54 +00:00
  • 7a14a167fb Updated Chinese Text files (by kmoi) Wanne 2021-09-02 19:14:51 +00:00
  • b7adaf802a Small arc update (by rftr): - 2 new directives - 3 new admin actions - arc website dropdown fix - one admin action per region can now be changed Sevenfm 2021-09-01 16:48:13 +00:00
  • 67c04dd44b Fixes: issue with combining filters for LOBOT (by Asdow). Sevenfm 2021-08-29 16:47:25 +00:00
  • 7f5a06bb93 Fix the 'between' operator as well as 'greater than' and 'less than' comparisons for LOBOT filters (by Asdow). Sevenfm 2021-08-28 21:09:51 +00:00
  • a93e9b4a9c Added helper functions to easier determine gun stats Flugente 2021-08-27 20:48:19 +00:00
  • 99142603cb Added timer fix suggested by Terapevt to avoid incorrect signed/unsigned comparison later. Sevenfm 2021-08-27 18:35:15 +00:00
  • a8c2fa6788 ADD_SMOKE_AFTER_EXPLOSION option: - use default item SMOKE_GRENADE (151) if it's available - search for first smoke grenade if default item is not grenade - check that correct smoke grenade was found Sevenfm 2021-08-27 17:30:27 +00:00
  • 1828cf252b Fix vs2013 compilation errors (by rftr). Sevenfm 2021-08-25 14:17:08 +00:00
  • eca080f0f9 New feature (by rftr): Arulco Rebel Command (ARC) Flugente 2021-08-22 19:00:09 +00:00
  • d1ec359600 Fix: missing pointer check Flugente 2021-08-22 18:55:43 +00:00
  • 6f5e2471e0 Fix: display for other properties in EDB advanced page uses wrong line Flugente 2021-08-14 15:56:14 +00:00
  • 9b189b84f7 Updated Chinese Text files (by kmoi) Wanne 2021-08-03 16:26:50 +00:00
  • af12b8210c Fix: opening options during Meanwhile leaves the game inoperable Flugente 2021-07-31 14:21:27 +00:00
  • 58379b84cd Minor code improvements Flugente 2021-07-24 19:16:12 +00:00
  • ed82841e3c Fix: when using two guns, both are reloaded on the reload cursor prompt, even if one of them still has ammo. This has been changed so that now only empty guns get reloaded Flugente 2021-07-24 19:15:18 +00:00
  • 102ee32232 Fix: when firing from several barrels with two guns, AP cost is deducted twice Flugente 2021-07-24 11:00:59 +00:00
  • e6ea95eb8b Whether a gun shoots fire or fire retardant is now set on the ammo with the <ammoflag>-tag, not the gun. Flugente 2021-07-15 18:22:53 +00:00
  • 320328a441 Fixes for Mini events (by rftr) Flugente 2021-07-14 18:48:51 +00:00
  • 44858020d5 Minor improvement for mini events (by rftr): town names are provided by the game for lua Flugente 2021-07-13 20:28:51 +00:00
  • 6cad680b02 We can now use interactive actions to alter decals on walls, so it is possible to simulate taking off an object from the scenery and add it as an item. Flugente 2021-07-13 19:50:49 +00:00
  • 174b870afe Fix: crash when gas spreads on certain structures Flugente 2021-07-12 19:48:57 +00:00
  • 07d7ced888 Reworked vanilla code: Explosions on the ground leave a permanent burnmark (by Sevenfm) Flugente 2021-07-12 19:47:17 +00:00
  • 0dcabcf90e fix from 9136 to work for UB as well Shadooow 2021-07-11 03:06:25 +00:00
  • 960bb2d4ba New feature (by rftr): Mini events are a feature where the player can receive short text blurbs, and pick one of two outcomes. Based on game implementations like Gloomhaven (road/city events) or Battletech (travel events). Flugente 2021-07-09 19:38:55 +00:00
  • e7251981c0 Fix: reloading sector with merc inside will no longer reset their animation and direction. Shadooow 2021-07-09 14:23:34 +00:00
  • 0766cbb602 new feature: left click on the second hand position on a team panel in tactical swaps the current weapon with secondary weapon in sling pocket if any Shadooow 2021-07-09 02:10:11 +00:00
  • 67a3a5e488 allowed to throw grenades from behind corners without need to move into open field Shadooow 2021-07-09 01:13:27 +00:00
  • 78087707d1 Fix: if a cow dies from gas, no corpse is created Flugente 2021-07-08 19:53:44 +00:00
  • 8d112e5191 Added lua function for finding/creating/destroying items in a soldier's inventory Flugente 2021-07-08 19:23:26 +00:00
  • 3f4da5fad5 Interactive actions now allows displaying images. Flugente 2021-07-07 20:05:42 +00:00
  • 9756cf33f4 - fixed manual autofire bullet selection in realtime (hold left mouse button in autofire mode) to work properly instead of always fire 6 bullets - additionally made mouse wheel to adjust number of autofire bullets in realtime mode Shadooow 2021-07-06 23:04:06 +00:00
  • 814bce8b56 small fix for code that is actually unused, but no harm fixing it if ever added Shadooow 2021-07-06 20:33:08 +00:00
  • d6f07a7ef5 godmode reworked: reused existing mechanism in code = same functionality, less code changes, also when enabled GOD MODE text will now show up in left corner in red color, this was already there I just uncommented it Shadooow 2021-07-06 19:06:23 +00:00
  • 385210ba09 vehicles will no longer lose stats from critical hits Shadooow 2021-07-06 15:59:00 +00:00
  • 9f2f164bde fixed vehicles turning towards player merc who shot them Shadooow 2021-07-06 15:54:14 +00:00
  • 461f16eacb Added several interactive actions that play a sound when clicking on a structure Flugente 2021-07-04 15:59:58 +00:00
  • 670227a38b Fix: savegames could be corrupted due to storing implausible map changes Flugente 2021-07-03 00:23:33 +00:00
  • 6cd7701b0e Accelerated roof destruction calculation. Flugente 2021-07-01 21:18:33 +00:00
  • 16057eaae5 fixed endless clock issue persisting after using quickload Shadooow 2021-07-01 13:41:13 +00:00
  • 4725ce55f1 fixed cheat command CTRL+U not refilling vehicle fuel correctly Shadooow 2021-06-30 07:16:09 +00:00
  • 6f24fb89fd Fix: dragging a structure repaired it and removed all decals Flugente 2021-06-28 14:52:12 +00:00
  • 587b7e2874 Fix: reverted revert of 9115 and fixed the issue of guns always deteriorating in NCTH Flugente 2021-06-28 14:39:45 +00:00
  • 94f164eaa8 reverting commit 9088 as it causes regression of super high weapon deterioration Shadooow 2021-06-28 11:18:08 +00:00
  • 3740d8b7c4 Anti-materiel bullets are no longer stopped when they apply damage to a structure, thus restoring piercing ability for them. Flugente 2021-06-27 15:32:02 +00:00
  • 89e2bd077a New feature: additional decals adds blood spatters and structural wear on walls Flugente 2021-06-27 12:20:46 +00:00
  • 4ca4ea279a why the hell do we have bVehicleID and iVehicleId where the former is some old leftover with wrong value? Shadooow 2021-06-27 05:15:52 +00:00
  • 2e7071d1c7 highlighting fix: hovering over item will now highlight valid attachment that doesn't have attachment tag Shadooow 2021-06-27 02:52:51 +00:00
  • 5e4d587baf fixed: KAC masterkey and other items without attachment flag to work Shadooow 2021-06-27 02:36:46 +00:00
  • 143711f1ac fix: no more moving around with vehicle that has no fuel Shadooow 2021-06-27 02:22:30 +00:00
  • 6fec4e8511 fix: flares will no longer explode when delayed but make light Shadooow 2021-06-26 06:30:53 +00:00
  • db6727b2d7 crash fix: changed maximum number of enemies in raid to be dependant on maximum enemies of that type defined beforehand Shadooow 2021-06-26 00:59:14 +00:00
  • 0dc07614a4 more god mod tweaks: - prevented morale drop from getting damaged - fixed sometimes taking damage in autoresolve Shadooow 2021-06-25 21:21:28 +00:00
  • 99cb5f4e31 fixed corpses on the roof not being added correctly Shadooow 2021-06-25 15:46:46 +00:00
  • f47c7e8f3f fixed snake attacks not initiating damage/death animations and not decreasing number of enemies in sector properly Shadooow 2021-06-24 20:30:51 +00:00
  • 0a91067d24 formatting and efficiency changes to previous commit Shadooow 2021-06-24 18:36:22 +00:00
  • 3acb96f8e6 fixed memory leak inside corpse placement code causing various issues when entering a town sector Shadooow 2021-06-24 18:07:46 +00:00
  • dce924540f fixed POW code throwing errors when trying to compile UB build Shadooow 2021-06-23 23:04:49 +00:00
  • 749854b24f fixed new tag in SectorLoadscreens not being loaded Shadooow 2021-06-23 20:06:00 +00:00