7604 Commits
Author SHA1 Message Date
silversurfer cedb77bffb Fixes (by Sevenfm):
- put back AIM_VISIBILITY calculation in function "CalcNewChanceToHitGun"
- fixed possible NULL pointer condition

Added an indicator to the NCTH cursor to show aiming penalty for moving target.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8294 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-09-03 11:56:00 +00:00
Flugente ded46fea5a Changed Miguel from non-smoker to smoker for UB lore (by Boojum)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2340 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-09-01 18:00:04 +00:00
Wanne a011ae4a61 - German Subtitles for additional merc "Spooky" (by firebat)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8293 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-29 19:23:19 +00:00
Wanne 392135753c Update - 2016-08-29: Deadly Games German Translated Mercs for 1.13 - FINAL VERSION (by firebat)
- updates for certain mercs
- added known problems and solutions to the ReadMe file
- moved "Snitch" folder from "Data" to the correct location "Data\Speech\Snitch"


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8292 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-29 19:21:54 +00:00
Wanne 835e948735 Fixed compilation errors in VS 2005: std::sqrt() -> sqrt()
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8291 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-22 19:24:14 +00:00
Wanne 1826c57efd Added missing items to the *.Items.xml files
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8290 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-22 18:26:52 +00:00
silversurfer 0ac39925d5 Fix: Syringes didn't fit into syringe pockets. Changed pocket definition to fit new size of syringes that was modified in GameDir 2242.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2339 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-08-21 22:24:56 +00:00
Flugente cbf284ce4d Fix: tileset index 0 always present in construct/deconstruct arrays
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8289 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-14 18:55:09 +00:00
Flugente a332b1943c Fix: one could remove Nails' jacekt via [Ctrl] + [W] in strategic inventory
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8288 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-12 22:34:30 +00:00
Flugente c32bf09bbb New feature: bear traps are mechanical traps that function like bombs, cause no explosion, can be reused, deal significant damage to legs and pin down the target.
GameDir >= r2338 is recommended.

For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=346624&#msg_346624

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8287 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-12 20:48:34 +00:00
Flugente e5ec768af2 New feature: bear traps are mechanical traps that function like bombs, cause no explosion, can be reused, deal significant damage to legs and pin down the target.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=346624&#msg_346624

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2338 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-08-12 20:47:13 +00:00
Flugente d000e8c1a3 Fix: invalid access to inventory
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8286 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-12 17:51:21 +00:00
Flugente b36f24334c Fix: VS2010 compilation issue
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8285 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-11 20:15:52 +00:00
Flugente b712008493 Added pictures for Strela-2 and Strela-2 Missile (by Wil473)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2337 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-08-11 19:46:46 +00:00
silversurfer 2c5e85f828 Fix: VS2010 debug builds crashed while reading InteractiveActions.xml
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8284 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-11 13:48:38 +00:00
Flugente f71e00ed78 Fix: VS2010 compilation issue
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8283 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-10 22:30:07 +00:00
Flugente a0ef5edbba Fix: VS2010 compilation issue, see also http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23144&goto=346505&#msg_346505
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8282 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-10 18:14:58 +00:00
Flugente 8803d85392 - added Katana to possible IMP item choices
- added description to AmmoTypes.xml

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2336 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-08-09 21:54:26 +00:00
silversurfer d3df075665 - removed parameter USE_NEW_CTH_CALCULATION from Ja2_Options.INI as it is not used anymore since r8281
- added missing rain chance to some sectors and fixed typo for sand storm chance

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2335 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-08-06 10:47:38 +00:00
silversurfer 73e3e1172c Fix: gGameCTHConstants.BASE_CROUCHING_STANCE was missing from handling calculations in NCTH
- removed gGameExternalOptions.fUseNewCTHCalculation as it is not needed anymore
- cleaned up function CalcNewChanceToHitGun

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8281 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-06 10:44:42 +00:00
Flugente a58f8a6622 Snake number formula has been slightly tweaked.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8280 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-03 17:45:37 +00:00
Flugente 33df523b57 Helpful option: if PRINTOUTTILESET is TRUE (default FALSE), pressing [f] over a structure will also print out what tileset the structure's subtileset belongs too, its name, and the specific tile index. This is rather helpful if you set up fortifiction or interactive action xmls, or if you just want to know a sector's tileset.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2334 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-08-03 17:37:26 +00:00
Flugente 9eb2008147 Helpful option: if PRINTOUTTILESET is TRUE (default FALSE), pressing [f] over a structure will also print out what tileset the structure's subtileset belongs too, its name, and the specific tile index. This is rather helpful if you set up fortifiction or interactive action xmls, or if you just want to know a sector's tileset.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8279 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-03 17:36:37 +00:00
Flugente 99f5be0ed7 New feature: interactive actions allow various actions (hacking/reading/drinking/...) from user-defined xml acttions. The exact results can be set in a lua function.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23144&goto=346447&#msg_346447

This is fully savegame compatible.

GameDir >= r2333 is required.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8278 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-02 19:03:28 +00:00
Flugente 0969339db9 New feature: interactive actions allow various actions (hacking/reading/drinking/...) from user-defined xml acttions. The exact results can be set in a lua function.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23144&goto=346447&#msg_346447

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2333 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-08-02 18:51:14 +00:00
Flugente 41dcb598dd - New background property: <snake_defense> alters snake defense chance
- New sector property: <numsnakes> sets maximum number of snakes per snake attack

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8277 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-26 22:39:28 +00:00
Flugente 8858d75309 - New background property: <snake_defense> alters snake defense chance
- New sector property: <numsnakes> sets maximum number of snakes per snake attack

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2332 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-07-26 22:35:58 +00:00
Flugente 83020d3702 New LUA functions: via GetModderLUAFact and SetModderLUAFact, a modder can set up to 1000 INT32 values exclusively in LUA scripts. This can be used to store mod-specific data in save games without additional code required
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2331 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-07-26 20:45:47 +00:00
Flugente 7b6f3d8441 New LUA functions: via GetModderLUAFact and SetModderLUAFact, a modder can set up to 1000 INT32 values exclusively in LUA scripts. This can be used to store mod-specific data in save games without additional code required
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8276 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-26 20:44:42 +00:00
silversurfer ab554b937c Fix:
- price and militia resource points display in sector inventory was incorrect and didn't take Shift key into account
- display of militia resource below the map didn't work if MILITIA_VOLUNTEER_POOL was FALSE

Enhancements:
- militia resource points display below map now better organized
- militia resource points display below map now available when in sector inventory and pressing ALT key
- conversion of items to militia resource points now available with ALT + RMB, ALT + Shift + RMB and ALT + Shift + Y + RMB just like quick sell feature works


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8275 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-17 13:44:58 +00:00
Flugente 6acbd72c89 Slightly altered militia resource display
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8274 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-16 22:13:53 +00:00
Flugente 57ec4e7fa1 Due to erroneous code, the encyclopedia feature has been deactivated. for more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23090&goto=345928&#msg_345928
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8273 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-16 12:21:22 +00:00
Flugente 7a34e9a154 New feature: militia resources requires the player to convert items to resources to be able to train and promote militia
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8271 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-15 19:33:44 +00:00
Flugente 8f682bd6ee New feature: militia resources requires the player to convert items to resources to be able to train and promote militia
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2330 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-07-15 19:28:14 +00:00
Wanne 7a9c90cd60 Update - 2016-07-07: Deadly Games German Translated Mercs for 1.13 - BETA (by firebat)
- all: added Water-fx (drowning mercs)
- updates to Boss
- updates to Samuel
- updates to Gary
- updates to Moses
- updates to Needle
- updates to Juan
- updates to Wahan
- updates to Weasel
- updates to Speck
- updates to Skitz
- updates to Wally
- updates to Carp
- updates to Dyno
- updates to Leon

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8270 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-11 09:52:38 +00:00
Flugente 1b8b47206e Replaced wrong bad russian names (by Elvis_A)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2329 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-07-07 17:27:43 +00:00
Flugente 5dcfe09a77 Enemy helicopter refuel time per unit of fuel (ENEMYHELI_FUEL_REFUELTIME) can now be raised up to 9999. This can be used to limit the AI's ability to send out helis.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8269 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-06 16:43:09 +00:00
Flugente 06be86a471 If enemy conquers a sector, remove workers.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8268 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-05 17:03:30 +00:00
Flugente 951da7812d New feature: mines require workers for maximum income, these can be trained like militia.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8267 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-04 22:31:37 +00:00
Flugente f53df5fed0 New feature: mines require workers for maximum income, these can be trained like militia.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2328 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-07-04 22:22:16 +00:00
Flugente ce6e63831d New feature: environment hazards pose danger to soldiers in certain sectors - first use are snakes that attack anybody in water sources in swamps.
Requires GameDir >= r2327.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8266 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-03 21:26:45 +00:00
Flugente 6e1f633ca7 New feature: environment hazards pose danger to soldiers in certain sectors - first use are snakes that attack anybody in water sources in swamps.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2327 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-07-03 21:10:48 +00:00
Sevenfm 762fb79c09 CalcEffVolume fix: sleeping state check
Attacks fix: 100 AP system for HitRate calculation
EstimatePath fix: ignore person at destination if we are estimating path cost
FindFlankingSpot: use full search range

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8265 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-03 09:53:56 +00:00
Flugente 2a7abe5b0d If ALLOW_TARGET_HEADANDLEG_IFPRONE is TRUE, head/torso/legs can be targetted on prone soldiers (until now, hits were always considered on torso).
Additionally soldiers are no longer protected from stray bullets in crouched and prone stance.

This option will be removed once this code change has been accepted (or deemed unacceptable).

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8264 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-07-02 18:04:49 +00:00
Flugente 0b27cb1856 If ALLOW_TARGET_HEADANDLEG_IFPRONE is TRUE, head/torso/legs can be targetted on prone soldiers (until now, hits were always considered on torso).
Additionally soldiers are no longer protected from stray bullets in crouched and prone stance.

This option will be removed once this code change has been accepted (or deemed unacceptable).

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2326 4f8fa57e-7814-0410-bad4-adc449f26b7c
2016-07-02 18:02:44 +00:00
Sevenfm 9b2e65cade Punching: don't use kick animation when attacking with weapon in hand
Stealing: don't turn to attacker when lying prone (to prevent possible endless clock)
Bayonet:
- fix: disable wirecutters cursor in bayonet mode
- always use STAB attack for bayonet
- always give MELEE bonus when using bayonet

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8263 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-06-25 10:52:47 +00:00
Sevenfm f8d9a538cd Taunts update:
- TAUNT_INFORM_ABOUT (check that this opponent is really new)
- TAUNT_ALERT (say taunt only when red alert raised, if it's no initial alert, use TAUNT_INFORM_ABOUT instead)
- TAUNT_SUSPICIOUS (only when yellow alert is raised)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8262 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-06-25 10:41:13 +00:00
Sevenfm 90594fb43f ShowEnemyWeapon: bVisible fix
MinAPsToPunch fix: allow correct calculation when no target gridno supplied
World Items: don't allow max repair threshold less than current object status

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8261 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-06-25 10:31:55 +00:00
Sevenfm eaca08b7e9 Drop/pick up backpacks using Shift+B, Ctrl+Shift+F:
- added check for DropPackFlag
- added message for soldiers changing backpack status

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8260 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-06-25 10:24:07 +00:00
Sevenfm b1eb11941a FindSoldierByProfileID fix: check last soldier in player team
RenderOverheadOverlays fix: last soldier in player team
StartInterrupt fix: all interrupts in original interrupt system start as hidden and revealed later if soldier decides something
StartInterrupt fix: don't show hidden interrupt
DeductPoints, ResolvePendingInterrupt, StartInterrupt: MAX_NUM_SOLDIERS fix
SoldierCollapse: replace chosen one if soldier is collapsed

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8259 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-06-25 09:44:25 +00:00