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
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
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
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
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
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
Flugente
670227a38b
Fix: savegames could be corrupted due to storing implausible map changes
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9124 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-03 00:23:33 +00:00
Flugente
6cd7701b0e
Accelerated roof destruction calculation.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9123 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-07-01 21:18:33 +00:00
Flugente
6f24fb89fd
Fix: dragging a structure repaired it and removed all decals
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9120 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-28 14:52:12 +00:00
Flugente
587b7e2874
Fix: reverted revert of 9115 and fixed the issue of guns always deteriorating in NCTH
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9119 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-28 14:39:45 +00:00
Flugente
3740d8b7c4
Anti-materiel bullets are no longer stopped when they apply damage to a structure, thus restoring piercing ability for them.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9114 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-27 15:32:02 +00:00
Flugente
89e2bd077a
New feature: additional decals adds blood spatters and structural wear on walls
...
Requires GameDir >= r2595 to work
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9113 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-27 12:20:46 +00:00
Flugente
a7d7f4b93b
Fix: crash due to overflow as a result of very low reliability values
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9088 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-19 10:27:13 +00:00
Flugente
7a866c5f29
If a container is destroyed by gunfire or vehicle collision, don't destroy the contents, reveal them instead.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9087 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-18 18:43:24 +00:00
Flugente
a288b2e60c
Fix: load map modifications before loading items, as altered structures can change items visibility
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9086 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-18 18:40:31 +00:00
Flugente
9bdb2adfac
Fix: movement costs are not recompiled if a structure is destroyed by gunfire or vehicular collision
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9085 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-15 21:56:37 +00:00
Flugente
fc6973d022
Only destroy the content of a container when it is destroyed, not when it is damaged
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9084 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-14 21:15:31 +00:00
Flugente
433a41f03b
Fix: use of uninitialized variables
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9083 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-14 21:05:59 +00:00
Flugente
ff3076203f
Fix: antimateriel bullet damage to structures often isn't properly applied
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9080 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-13 17:23:55 +00:00
Flugente
680a8cb43a
Fix: improved display of ballistic shields over/under a merc. In particular they are no longer drawn over buildings.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9079 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-13 13:14:34 +00:00
Flugente
8e4961f021
Fix: various compile warnings
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8872 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-24 19:27:34 +00:00
Flugente
5036772e1b
- Fix: outdated text
...
- Fix: animation loops until new order given
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-24 19:25:47 +00:00
Flugente
0c4997f6ec
Improved feature: structures can be dragged. Which ones is defined in a new xml.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360672&#msg_360672
Requires GameDir >= r2558
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8870 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-23 22:11:23 +00:00
Flugente
c8737017ff
Fix: nullpointer access
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8869 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-22 21:30:39 +00:00
Flugente
ce61a0b85b
Fix: if no squad name is provided in xml, fall back on hardcoded name
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8867 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-15 21:23:53 +00:00
Flugente
93db0bb728
- Fix: assignment not displayed consistently in personnel page
...
- Fix: bizarre function
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8863 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-12 16:48:32 +00:00
Flugente
0165ba5bed
Print out details of savegame loading process to easier identify bottlenecks
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8856 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-10 16:51:08 +00:00
Flugente
39d79a0bb4
Fix: dragging soldiers is frequently cancelled
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8855 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-09 20:46:41 +00:00
Flugente
3e41299596
Accept sounds for dragging a body in other formats than .ogg
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8851 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-08 22:02:55 +00:00
Flugente
1e101b2065
Use macro where appropriate for easier maintenance
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8847 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-07 19:47:52 +00:00
Flugente
6de9deae63
Fix: mercs staffing a facility for global propaganda cause mine income to drop to 0%
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8846 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-06 22:36:56 +00:00
Flugente
04fda674e5
Fix: radio operator in a city can give movement commands to any militia in a non-city sector
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8845 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-06 21:25:45 +00:00
Flugente
3864aca117
Display item names in merchant inventory (by bfant)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8844 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-05 12:48:12 +00:00
Flugente
c8627c7234
- Fix: wrong face displayed on insurance website
...
- Chg: no insurance payout on suspicious deaths (no enemy presence during merc death, or merc died from friendly fire)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8843 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-05 12:03:44 +00:00
Flugente
7215d004fc
Fix: unnecessary call for intel-based arms dealer inventory is called very often if the lua function is empty
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8842 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-04 20:07:53 +00:00
Flugente
974526cba0
Fix: when failing to apply a gasmask to another soldier, the message still states success
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8841 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-04 20:05:39 +00:00
Flugente
ce06c37827
Added safety check
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8840 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-04 18:52:34 +00:00
Flugente
76302328c2
Don't check whether an explosion damaging a room pisses of civilians if there is no room to begin with
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8839 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-04 18:51:58 +00:00
Flugente
8c2c0dd71d
Only display IMP gear cost if costs exceed the free amount (IMP_PROFILE_COST), mention the free amount
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8838 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-04 17:30:46 +00:00
Flugente
ad59900b3d
Fix: individual militia in impassable sectors cannot be dismissed via website
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8837 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-04 14:47:40 +00:00
Flugente
0544227958
Fix: militia can retreat to impassable sectors in autoresolve
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8836 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-04 14:46:19 +00:00
Flugente
af04fe4b53
Fix: killing Doreen after having already convinced her to leave peacefully does not fully remove the loyalty gain for the peaceful solution, despite that being intended
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8835 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-03 23:18:15 +00:00
Flugente
000de06890
Fix: incorrect travel time calculation outside of pathing
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8834 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-03 20:40:22 +00:00
Flugente
00313a526b
Minor code improvements
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8833 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-02 22:11:11 +00:00
Flugente
de24b4df88
Fix: noticable lag on slow machines or while debugging when plotting a path in strategic view
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8832 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-07-02 21:58:45 +00:00
Flugente
9f167f16c6
Fix: if DYNAMIC_IMP_PROFILE_COST is TRUE, the IMP cost is too high(by sun_alf)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8831 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-30 20:23:25 +00:00
Flugente
8119662904
New feature: the refilling of the queen's army resevere now requires her to train recruits, which the player can disrupt to some degree (by sun_alf)
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20659&goto=360475&#msg_360475 and http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=24433&goto=359872&#msg_359872
Requires GameDir >= r2555
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8830 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-29 20:12:53 +00:00
Flugente
308631ee25
- There can now be effectively unlimited battle sounds for NPCs.
...
- Activated some NPC voices that never played.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20659&goto=360457&#msg_360457
GameDir >= r2554 is recommended.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8829 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-26 20:44:59 +00:00
Flugente
098dc8e280
Disease update:
...
- <InfectionChance_WOUND_FIRE> can cause infections when taking fire damage
- <InfectionChance_WOUND_GAS> can cause infections when taking non-fire gas damage
- <fSpecialFlagLimitedUseArms> causes the infected to be unable to use one arm
- <fSpecialFlagLimitedUseLegs> causes the infected to be unable to run, and walk and travel slowly
- JA2_options.ini option DISEASE_SEVERE_LIMITATIONS controls whether <fSpecialFlagContractDisability>, <fSpecialFlagLimitedUseArms> and <fSpecialFlagLimitedUseLegs> are used
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=22099&goto=360451&#msg_360451
- Gas damage split up in fire and non-fire damage.
- Flamethrower projectile damaged is affected by fire resistance.
Requires GameDir >= r2553.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8828 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-25 22:42:44 +00:00
Flugente
4e86046d0c
Store 32 instead of 31 disabilities
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8827 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-20 16:14:46 +00:00
Flugente
d33bc9123c
Mercs can now have multiple disabilities at the same time.
...
The new fSpecialFlagContractDisability tag for diseases adds a disability every time we are infected with the disease, it is used for PTSD.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8826 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-20 15:47:43 +00:00
Flugente
7899cc1f1e
Fix: disabling cover display left coloured remnants outside the screen (by Asdow)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8825 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-18 18:49:37 +00:00
Flugente
dd9f2c28e8
Minor code cleanup
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8824 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-17 22:27:20 +00:00
Flugente
f1bd0f8e8e
Fix: crash if player offer area exceeds 255 fields (possible on high resolutions)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8823 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-17 22:24:52 +00:00
Flugente
01d8bbf408
Fix: illegal array access if resolution exceeds monitor resolution
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8822 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-17 22:22:26 +00:00
Flugente
3b3abc2bc6
We can play external dialogue lines for NPC merchants via the lua function HandleNPCMerchantQuote(...)
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20611&goto=360388&#msg_360388
Requires GameDir >= r2550.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8821 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-17 20:21:39 +00:00
Flugente
f0c6511ca4
Added general modifier to grenade throw AP cost
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8820 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-15 23:12:48 +00:00
Flugente
97fa0c8e90
Added interface functions fo lua
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8819 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-11 18:33:20 +00:00
Flugente
a48bd9a8a0
Fix: previous fix excluded non-RPCs from dialogue replacement
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8818 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-02 18:37:18 +00:00
Flugente
d5d4db6066
Fix: do not call lua dialogue replacement function for RPCs
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8817 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-02 17:27:20 +00:00
Flugente
948ad8caf1
Fix: crash after heli landing in UB (by Asdow)
...
Fix: unnecessary town initialization in UB (by Asdow)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8816 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-01 20:53:22 +00:00
Flugente
f0c8db784a
New feature: exploration assignment indicates items on the map
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360244&#msg_360244
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8815 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-06-01 20:46:45 +00:00
Flugente
b25a4be4e7
Fix: compiler warnings
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8814 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-30 14:26:16 +00:00
Flugente
e932393eae
minor code cleanup (by sun_alf)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8813 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-30 13:34:57 +00:00
Flugente
51e2c6b293
Minor code cleanup (by Asdow and sun_alf)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8812 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-30 13:24:33 +00:00
Flugente
c5022fa1e5
New feature: turncoats can be created from enemies and ordered to switch sides
...
Requires GameDir >= r2535
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360191&#msg_360191
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8811 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-30 00:13:42 +00:00
Flugente
0f13599775
Fix: jeeps were not accounted for
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8810 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-29 17:41:29 +00:00
Flugente
b1cfc516af
Fix: unnecessary transaction
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8809 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-29 17:40:43 +00:00
Flugente
0f3dd1035a
Fix: AllowReinforcementsOmerta was not used
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8808 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-25 20:31:10 +00:00
Flugente
0f44c83b71
Fix: bad colours in Militia Overview
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8806 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-19 22:35:32 +00:00
Flugente
ea1892c788
New feature: factories allows facilities to create items
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360075&#msg_360075
Requires GameDir >= r2534
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8804 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-17 20:52:27 +00:00
Flugente
4dc40912e4
Fix: Requirements opinionevents OPINIONEVENT_CIVKILLER and OPINIONEVENT_CIV_ATTACKER were different, leading to situations were mercs complained about harming civilians, but not about killling them
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8803 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-17 14:20:17 +00:00
Flugente
952408b961
Improvements for BaseTable:
...
- Separator colour can be set
- Fixed column length calculation
- checkboxes are now possible
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8802 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-05-17 14:13:57 +00:00
Flugente
22cb49668f
Added dialogue event for planting bombs/mines (ADE_BOMB_HAS_BEEN_PLANTED)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8793 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-04-26 20:02:10 +00:00
Flugente
c92290155f
Character lines can be replaced before playing via HandleReplaceQuote(...) in Overhead.lua.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8712 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-12-02 22:02:04 +00:00
Flugente
8ace6a2954
Added dialogue events for using a lockbomb (ADE_LOCKBOMB) and sniper warning (ADE_SNIPERWARNING)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8711 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-12-01 20:34:46 +00:00
Flugente
61c6972efa
Complaints about sexual harassment now use separate voice lines
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8710 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-11-28 22:24:49 +00:00
Flugente
c9025796aa
improved comments
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8709 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-11-27 23:31:16 +00:00
Flugente
c8207018e3
Added Battlesounds for melee attacks.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=358569&#msg_358569
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8708 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-11-27 21:46:49 +00:00
Flugente
32cdfc18cd
Change: Backpacks no longer automatically break civilian disguise.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=358568&#msg_358568
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8707 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-11-27 21:33:55 +00:00
Flugente
d0bfe95c78
If the new JA2_Options.ini option GEARKITS_ALWAYS_AVAILABLE is TRUE (default: FALSE), a merc's gear kits are always available during the hiring process, even if they've been bought before.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=358411&#msg_358411
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8704 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-10-31 23:43:43 +00:00
Flugente
130272bbe5
FIX: no GUI for random items
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8702 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-10-27 19:49:48 +00:00
Flugente
8b698f0633
Fix: inventory button to change firemodes was greyed out for guns with one base fire mode, even if it had several barrel configurations
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8701 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-10-23 22:07:58 +00:00
Flugente
cd87c4f9cc
Fix: inventory button to change firemodes was greyed out for guns with one base fire mode, even if a bayonet granted them a second fire mode
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8700 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-10-23 21:28:05 +00:00
Flugente
14619a22cc
Revamped <scrounging>-tag of Backgrounds.xml: instead of hoarding items, mercs steal small amounts of money from the locals, which can lower loyalty.
...
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=21308&goto=358321&#msg_358321
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8699 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-10-22 21:46:53 +00:00
Flugente
dfc69812b4
Updated quote descriptions
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8674 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-04-08 22:30:24 +00:00
Flugente
ef23819dc8
Fix: ALLOW_EXTRA_CIVILIANS did not affect CreateArmedCivilain
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8672 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-03-12 20:55:39 +00:00