Commit Graph
3587 Commits
Author SHA1 Message Date
Sevenfm 9f787dd73d QOL change: show additional ammo stats at bobby ray's website (by rftr).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9176 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-10-14 06:40:28 +00:00
Sevenfm b689b51962 NEW_SUPPRESSION_CODE: calc base suppression tolerance for AI from health/shock instead of AI morale.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9175 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-10-05 12:10:07 +00:00
Sevenfm d3d06bced6 Mercs with the <druguse> tag in their background don't automatically consume drugs/alcohol if they are asleep (by rftr).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9174 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-10-05 07:29:05 +00:00
Shadooow 712d6664be removed one of my comments that got into slive ource by accident
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9173 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-10-05 02:31:58 +00:00
Sevenfm d1911e421e Added NEW_SUPPRESSION_CODE option, which makes suppression tolerance calculation more balanced.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9172 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-10-04 17:55:04 +00:00
Sevenfm 93f8484d56 Added array readers to the ini reader (by rftr).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9171 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-10-04 07:08:32 +00:00
Sevenfm 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).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9170 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-10-04 06:59:37 +00:00
Shadooow 20335041f7 fixed autobandaging showing up during conversation which caused numerous issues
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9169 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-24 02:10:48 +00:00
Shadooow 566f8ab5d4 fixed exploit allowing to steal attachments from vendor items
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9168 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-24 01:45:04 +00:00
Sevenfm 95a810e382 AI flanking:
- avoid moving too far from noise spot, except for CUNNINGSOLO
- avoid moving too close to enemy vision range

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9167 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-23 18:20:49 +00:00
Shadooow 999fc8ac96 improved the graphic of the prebattle table
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9166 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-17 08:50:52 +00:00
Shadooow 79bd483fe4 allowed mouse wheel to work in map screen message log area
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9165 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-10 20:53:57 +00:00
Shadooow ac3d9a9ec8 fixed loading games via main menu->preferences->load game not loading them correctly
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9164 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-06 07:43:04 +00:00
Sevenfm 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

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9163 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-03 05:15:54 +00:00
Wanne 7a14a167fb Updated Chinese Text files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9162 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-02 19:14:51 +00:00
Sevenfm 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

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9161 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-01 16:48:13 +00:00
Sevenfm 67c04dd44b Fixes: issue with combining filters for LOBOT (by Asdow).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9160 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-29 16:47:25 +00:00
Sevenfm 7f5a06bb93 Fix the 'between' operator as well as 'greater than' and 'less than' comparisons for LOBOT filters (by Asdow).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9159 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-28 21:09:51 +00:00
Flugente a93e9b4a9c Added helper functions to easier determine gun stats
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9158 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-27 20:48:19 +00:00
Sevenfm 99142603cb Added timer fix suggested by Terapevt to avoid incorrect signed/unsigned comparison later.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9157 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-27 18:35:15 +00:00
Sevenfm 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

Also added new functions:
- ItemIsHandGrenade to check if item is hand grenade
- GetFirstHandGrenadeOfType to find first item which is hand grenade of selected type
- GetHandGrenadeOfType same as GetFirstHandGrenadeOfType, but first check if provided default item is hand grenade of needed type

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9156 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-27 17:30:27 +00:00
Sevenfm 1828cf252b Fix vs2013 compilation errors (by rftr).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9155 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-25 14:17:08 +00:00
Flugente eca080f0f9 New feature (by rftr): Arulco Rebel Command (ARC)
Improve you cities and overall campaign by choosing out of several upgrades

Requires GameDir >= r2613

For more info, see https://thepit.ja-galaxy-forum.com/index.php?t=msg&th=24884&start=0&

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9153 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-22 19:00:09 +00:00
Flugente d1ec359600 Fix: missing pointer check
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9152 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-22 18:55:43 +00:00
Flugente 6f5e2471e0 Fix: display for other properties in EDB advanced page uses wrong line
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9151 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-14 15:56:14 +00:00
Wanne 9b189b84f7 Updated Chinese Text files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9149 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-03 16:26:50 +00:00
Flugente af12b8210c Fix: opening options during Meanwhile leaves the game inoperable
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9148 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-31 14:21:27 +00:00
Flugente 58379b84cd Minor code improvements
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9147 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-24 19:16:12 +00:00
Flugente 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
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9146 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-24 19:15:18 +00:00
Flugente 102ee32232 Fix: when firing from several barrels with two guns, AP cost is deducted twice
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9145 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-24 11:00:59 +00:00
Flugente e6ea95eb8b Whether a gun shoots fire or fire retardant is now set on the ammo with the <ammoflag>-tag, not the gun.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9144 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-15 18:22:53 +00:00
Flugente 320328a441 Fixes for Mini events (by rftr)
AdjustStat fixes:
- fix negative values not being recoverable
- gains and losses made through this now properly appear in the laptop personnel tab (physical stats only)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9143 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-14 18:48:51 +00:00
Flugente 44858020d5 Minor improvement for mini events (by rftr): town names are provided by the game for lua
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9142 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-13 20:28:51 +00:00
Flugente 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.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=363513&#msg_363513

Requires GameDir >= r2601

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9141 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-13 19:50:49 +00:00
Flugente 174b870afe Fix: crash when gas spreads on certain structures
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9140 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-12 19:48:57 +00:00
Flugente 07d7ced888 Reworked vanilla code: Explosions on the ground leave a permanent burnmark (by Sevenfm)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9139 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-12 19:47:17 +00:00
Shadooow 0dcabcf90e fix from 9136 to work for UB as well
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9138 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-11 03:06:25 +00:00
Flugente 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).

For more info, see https://thepit.ja-galaxy-forum.com/index.php?t=msg&th=24865&goto=363481&#msg_363481

Requires GameDir >= r2599

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9137 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-09 19:38:55 +00:00
Shadooow e7251981c0 Fix: reloading sector with merc inside will no longer reset their animation and direction.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9136 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-09 14:23:34 +00:00
Shadooow 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
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9135 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-09 02:10:11 +00:00
Shadooow 67a3a5e488 allowed to throw grenades from behind corners without need to move into open field
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9134 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-09 01:13:27 +00:00
Flugente 78087707d1 Fix: if a cow dies from gas, no corpse is created
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9133 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-08 19:53:44 +00:00
Flugente 8d112e5191 Added lua function for finding/creating/destroying items in a soldier's inventory
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9132 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-08 19:23:26 +00:00
Flugente 3f4da5fad5 Interactive actions now allows displaying images.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23144&goto=363478&#msg_363478

GameDir >= r2597 recommended.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9131 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-07 20:05:42 +00:00
Shadooow 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

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9130 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-06 23:04:06 +00:00
Shadooow 814bce8b56 small fix for code that is actually unused, but no harm fixing it if ever added
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9129 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-06 20:33:08 +00:00
Shadooow 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
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9128 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-06 19:06:23 +00:00
Shadooow 385210ba09 vehicles will no longer lose stats from critical hits
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9127 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-06 15:59:00 +00:00
Shadooow 9f2f164bde fixed vehicles turning towards player merc who shot them
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9126 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-06 15:54:14 +00:00
Flugente 461f16eacb Added several interactive actions that play a sound when clicking on a structure
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9125 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-04 15:59:58 +00:00