Commit Graph
134 Commits
Author SHA1 Message Date
MaddMugsy 13a8319fbb -ammo weights affected by # bullets remaining
-added code to support urban, desert and snow camo

2 issues:

1. Need to test this to make sure it works, since I'm at work.  I'll test it all out tonight.

2. There is no Snow terrain type.  Anyone have any great ideas on how to test for it?

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@399 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-03 23:55:44 +00:00
MaddMugsy 99fc73ae55 -added localization code for German and Russian ammo strings and item names and descriptions
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@395 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-03 17:33:50 +00:00
MaddMugsy c3f12c6f25 -upsized loop variable in FindReplacementMagazine in Items.xml from a UINT8 to a UINT16
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@389 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-01 21:27:02 +00:00
MaddMugsy 7a50c7acda -spreadsheet update
-fixed lock buster damage rolling over
-doubled chance for lockbuster ammo to hit locks

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@386 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-08-01 06:02:06 +00:00
MaddMugsy 87691b311c -re-added equipment bonus application code removed earlier. Turned out the new code isn't called in the strategic map.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@384 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-31 23:40:36 +00:00
lalien 7a9ea3dbe4 - bug fix: invisible enemies
- bug fix: manual reload for two weapons
- bug fix: barrel extender falls off while none is attached


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@382 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-31 19:53:58 +00:00
MaddMugsy 9dc17723fc -fixed steath.col -> stealth.col typo in Animation Control.cpp
-changed when equipment bonuses are applied to better handle dropping / throwing items

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@377 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-28 19:38:57 +00:00
MaddMugsy 3c88da4e03 -stealth colouring added to code - shows up when stealthbonus is >= 50 - stealth colour has priority over camo colour
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@375 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-28 15:11:07 +00:00
MaddMugsy bc412304e5 -un-nerfed semi-auto sniper rifles
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@370 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-25 19:50:22 +00:00
MaddMugsy 1bb241f084 -spreadsheet update
-nerfed semi-auto sniper rifles:
From Starwalker:

>Bolt-action sniper rifles are still not used by players, so I would
>propose (again) that the number of aiming actions be tied to rifle
>type, not scope type (but still only if a scope [of any type] is
>mounted):
>Autoloaders: max 6 Aim-AP
>Bolt-action: max 8 Aim-AP
>
>It is the only way I can think of to make the bolt-action rifles
>worthwhile compared to the autoloaders (the added accuracy of the
>bolt-action rifles seems to be of no interest to the players...).


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@369 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-25 16:21:04 +00:00
lalien 4d73230b89 - bug fix: visual range was very big (should be 0) when VISUAL_DISTANCE_DECREASE_PER_RAIN_INTENSITY was set to > 50%
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@368 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-25 00:27:31 +00:00
lalien 404b1ff4da - fixed the bug fix from build 365: Smoke grenade has the same effect as mustard gas grenade (need to run in gas cloud to reproduce)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@367 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-22 20:10:55 +00:00
lalien 822f29ad76 - bug fix: Smoke grenade has the same effect as mustard gas grenade (need to run in gas cloud to reproduce)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@365 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-21 23:33:57 +00:00
MaddMugsy 37162fc413 -added StealthBonus tag to Items
-stealth works like extra camouflage, but is not terrain dependent and also conceals noise
-fixed armour attachments getting destroyed when armour is destroyed

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@361 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-20 23:27:23 +00:00
Wanne e96c84cf55 Fix: Correct offsets in laptop zoom in/out animation in all 3 resolutions
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@359 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-20 17:54:52 +00:00
MaddMugsy da13c44578 -quick fix for throwing knives degrading due to difficulty modifier when enemies die after being hit by them
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@351 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-17 18:57:46 +00:00
lalien 1c5b7f7a4b - fix for HE ammo
- fix for militia reinforcements not working in cities


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@349 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-17 16:39:48 +00:00
lalien 43b6e98496 - added menu option to enable tracer effect for single shots
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@340 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-10 18:53:19 +00:00
MaddMugsy 185f154aa8 -tweaked ai turning in green a little bit to make them look for noises in green (mostly for snipers)
-enabled tunnel vision attribute on readied weapons (previously only worked on attachments, and non-weapon items)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@338 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-09 19:43:24 +00:00
MaddMugsy f673236935 -fixed guns never jamming
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@336 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-08 16:31:01 +00:00
Lesh 92b7bd8417 -CTD fix in Tixa in function FindBestPath in PathaAi.cpp
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@334 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-07 20:37:08 +00:00
MaddMugsy a5a0dfd11a -fixed guns being chosen from too high a level in "Normal Guns" mode
-fixed AI not firing guns when able - this should reduce the amount of running back and forth and also the running up to your guys and crouching

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@332 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-07 05:40:20 +00:00
Wanne 36db236079 - Enabled some useful Assert-Messages, so we get notifications about errors in DEBUG Mode.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@330 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-06 05:47:28 +00:00
MaddMugsy d10daf6da3 -minor testhit crash fix from Callahan, when pressing ctrl-h
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@326 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-04 00:28:47 +00:00
Lesh 76bd81f434 Lesh:
1. patch for "Bug: Enemy turns around in turn based mode!"
2. action strings is added for new actions (e.g. flank left). needed for debug

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@319 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-07-01 15:15:25 +00:00
MaddMugsy 1b14c7391c -removed ap cost and bullet from interface screens when gun has no semi auto fire
-made a new weapon con: "No Semi Auto"

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@311 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-29 16:50:01 +00:00
MaddMugsy 2a36de6cd1 -added STRATEGIC_EVENT_SEND_TROOPS_TO_DRASSEN to allow players to disable the initial strike on drassen (Now stop whining you lot!)
-added some debug msgs that I was using for AI debugging

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@309 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-28 18:54:02 +00:00
lalien e076139715 - fixed: single shot AP's in weapon tool tip on auto fire only weapons not shown anymore
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@307 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-28 18:03:34 +00:00
MaddMugsy 3b38f5dac5 -removed some hard coded item indexes from ArmsDealerInvInit.cpp & items.cpp
-fixed canteen merging w/ctrl+click


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@306 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-26 17:55:11 +00:00
MaddMugsy 8579bc4a24 -fixed possible negative shopkeeper prices for ammo w/bullets > 100
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@304 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-26 16:36:59 +00:00
MaddMugsy df50c0e606 -added explosive ammo code from Callahan
-disabled tracer light effects on rooftops, since lights don't work on roofs yet

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@303 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-26 16:12:05 +00:00
lalien ce2d3635cb - added more stats to soldier tool tip
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@298 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-24 23:08:14 +00:00
MaddMugsy 40ab1020dc -fixed sniper firing (finally?)
-added Ready Weapon AP bonuses to two handed weapons (even though none use it yet)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@296 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-24 17:57:35 +00:00
lalien 7a4740e248 - added current AP's to soldier tool tip
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@295 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-24 17:42:10 +00:00
lalien 1a689e3cbd - soldier tool tips added
- game options changed


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@294 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-24 00:21:08 +00:00
MaddMugsy f084927d07 -made sure rocket launcher / tank warning doesn't come up for militia
-made a better fix for snipers not firing

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@292 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-23 21:09:51 +00:00
MaddMugsy bfca64d35f -slightly reduced number of enemies climbing on roofs during green status (10+ guys on one little roof seemed a bit much ;) )
-Fixed sniper firing when spotting a new enemy

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@291 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-23 17:33:17 +00:00
Wanne 4e89b8c333 Commented out the Assertion in "Tactical\ArmsDealerInvInit.cpp -> GetDealerItemCategoryNumber()", so the game can be run in Debug mode.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@290 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-23 13:10:04 +00:00
MaddMugsy 1f93b93425 -fix CTH on burst cursor showing up even when it's turned off
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@286 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-22 23:37:05 +00:00
MaddMugsy a353c2cea8 -fixed GL Bursts so they work w/guns w/out burst mode
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@285 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-22 07:01:35 +00:00
MaddMugsy 634537e5ce -disabled sniper orders for soldiers w/sniper rifles w/out scopes
-added sight checking for snipers when they turn
-removed sniper attitude changes

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@284 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-22 03:16:16 +00:00
MaddMugsy 3d3c6afd32 -CTH fix for rocket launchers
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@270 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-19 21:27:46 +00:00
MaddMugsy 8f53acf606 -reduced # of guys getting sniper orders - restricted to just the onguard and stationary guys. Hopefully, this will keep them out of the city assault teams & patrols.
-added some more raise weapon code for snipers who have nothing to do.  This shouldn't really be required since less snipers will be present in assaults.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@259 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-18 02:29:45 +00:00
lalien 840f73eb1c - re enabled strategic event NPC_ACTION_SEND_SOLDIERS_TO_DRASSEN and increased amount of troops
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@255 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 20:34:23 +00:00
MaddMugsy 367f70176d -fixed new ammo types not coming out of enemy guns properly
-minor AI fixes
-reduced minimum default status for bonus depreciation from 100 to 85

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@251 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 18:42:57 +00:00
lalien 924b12c825 - fixed air raid turn hanging
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@250 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 16:13:25 +00:00
MaddMugsy dae7f064d0 -pre-load enemy weapons with the ammo type that was selected for them instead of the default type
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@247 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 06:01:44 +00:00
MaddMugsy 0e3276e406 -minor fix to min. bullet calc
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@246 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 04:50:22 +00:00
MaddMugsy 245ea74d2f -ensured enemies have a minimum number of bullets, rather than a random # of clips (at least 20 bullets) This should stop those guys with the sawed-off shotguns (2rd capacity) from running away after 5-10 shots.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@244 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 02:47:30 +00:00
MaddMugsy 7ec609c19f Changes to make things harder:
- added item status values (1-100%) to selling price calculation for selling to locals
- increased probing attacks from queen after player conquers a sector
- unlimited reinforcements for queen on Insane mode (possibly externalize this later...)
- increased queen attacks on sectors after losing towns (ie: reduced her turtling up into meduna after losing some towns) -- requires unlimited reinforcements
- increased admin-type troops being promoted to redshirt troops on hard/expert and insane (just garrisons on expert)
- decreased quality of items dropped by enemy soldiers, based on difficulty level, as per the following formula: (dif_level - 1) * Random (20), so 0% for novice, up to 60% for insane

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@238 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-16 19:47:03 +00:00