Commit Graph
147 Commits
Author SHA1 Message Date
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
MaddMugsy 2a98cc4994 -reduced MAX_THREAT_RANGE to reduce stutter during AI turns
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@258 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-18 00:40:57 +00:00
MaddMugsy 1075047acc -build error fix
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@257 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 23:48:12 +00:00
MaddMugsy 80aca50c9b -reverted a couple minor ai changes from ja2cw mod
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@256 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 23:38:06 +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 d0a4c8f7fd -version update
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@253 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 20:28:52 +00:00
MaddMugsy e1224183c7 -made snipers more like ONGUARD guys than STATIONARY guys
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@252 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 20:15:40 +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
lalien 4e4b659720 - increased enemy group size sent according to specific events (first battle, lost town, lost sam site) to be minGroupSize + old value
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@249 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 11:46:16 +00:00
lalien 1bab809f13 - always show game progress in version info (was only when using cheats)
- returned AI movement orders in MovementMode to old values (enemies were moving too slow, needs correction)


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@248 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-17 11:14:21 +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 fa415e1c21 -even smaller sniper fix
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@241 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-16 23:06:00 +00:00
MaddMugsy 0b85322585 -small sniper fix
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@240 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-16 23:03:26 +00:00
lalien a34c95e23c - changed selling price calculation for selling to locals to handle ammo
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@239 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-16 19:57:16 +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
lalien 3af76f2c3a - returned limited vision for enemies (Should be equal for all sides. If somebody wants, he can disable it in ini)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@237 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-16 17:31:26 +00:00
MaddMugsy 927a57961b -commented out more air raid code
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@235 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-15 17:38:06 +00:00
lalien d390d4a266 - Added menu option to show weapon ranges in tiles/meters
- Allowed to enter tactical view for any visited sector


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@234 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-15 14:22:18 +00:00
lalien 68510dd26d - Added menu option to show/remove item shadow
- fixed menu descriptions

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@233 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-15 11:48:10 +00:00
MaddMugsy 72ad53d95e -removed disk space check because it was pissing me off and coming up with a warning despite the fact that I have 12 GB space free
-changed weapon ranges in tooltips to tiles to match the ranges in the item description screen

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@231 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-14 02:24:57 +00:00
MaddMugsy 441b674001 -AI fixes for snipers
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@230 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-14 00:17:53 +00:00
MaddMugsy 52052eb0ca -scaled down tunnel vision for AI to help out the snipers
-removed limited vision from AI so they're not as easy to sneak up on

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@227 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-13 05:38:52 +00:00
MaddMugsy 978bc69943 -adjusted sniper AI preferences
-spreadsheet update

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@226 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-13 04:46:27 +00:00
lalien c37a4890a6 - activated 'skip' button for all meanwhile screens
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@225 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-12 22:08:02 +00:00
lalien c284e87780 - The weapons were deprecating too fast due to wrong item in reliability calculation (2x gun reliability, now gun + ammo reliability)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@223 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-12 18:06:29 +00:00
MaddMugsy 20a39b0087 -enabled snipers to turn in place in random directions in green status
-spreadsheet update

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@222 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-12 06:57:16 +00:00
lalien 73e9e42dce - increased max size of visible range and cover display
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@221 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-11 12:42:54 +00:00
lalien 294bfa7ef2 - bug fix: display cover showed wrong direction
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@220 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-10 22:05:28 +00:00
MaddMugsy c5275d229c -got rid of the slow allteamslookforall and reoptimized tracer looking to use ManLooksForOtherTeams instead
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@219 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-10 20:25:40 +00:00
MaddMugsy ac420d7f24 -optimized the sight handling code for tracers so that it doesn't run for every tile crossed
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@218 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-10 20:21:14 +00:00
MaddMugsy 1b5f35410e -fixed LOS CTD after readying weapon
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@217 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-10 15:45:51 +00:00
MaddMugsy 008e216b17 -added underslung/attached GLs to AI inventory and enabled AI to use them :)
-rewrote the AI sniper code to take advantage of readying weapons.  Added new SNIPER order for soldiers that's assigned when a soldier has a sniper rifle (80% chance) or a scope (40% chance).
-spreadsheet update

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@216 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-10 07:22:16 +00:00
lalien 005a424314 - bug fix: CTD in endgame when killing Deidrana
- disabled code for CD-ROM check (game was killed every time when USB-Stick was removed)







git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@215 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-09 20:35:59 +00:00
MaddMugsy df685592e0 -put back the INT8 bType
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@214 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-09 15:36:42 +00:00
MaddMugsy 6c9771eef0 -minor lighting fix
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@212 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-09 06:06:16 +00:00
MaddMugsy 0e649e7239 -changed bAge from INT8 to UINT8 in LightEffects.h and SmokeEffects.h so that the effects can have a longer duration.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@210 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-09 00:24:14 +00:00
lalien 7abe11ebc1 - light effect changes added
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@209 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-09 00:07:40 +00:00
MaddMugsy 1cacedb6f0 -one more UINT16 -> UINT8
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@208 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 23:55:52 +00:00
MaddMugsy cb4ba2fab9 -changed light and smoke effect durations back to UINT8s
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@207 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 23:48:25 +00:00
lalien fa99f2ff83 - bug fix: CTD when new merc arrives
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@206 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 23:42:00 +00:00
MaddMugsy 7cf7d7db3c - In the vain hopes of finally killing that stupid "Battle Scope" bug, I have changed the inventory creation to do an extra check for attachment validity before creating the attachments w/out displaying any messages.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@205 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 22:25:54 +00:00
lalien 7d0eabb361 - added some required functions for new AI
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@202 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 20:26:48 +00:00
MaddMugsy 8546984b6f -reverted most AI changes
-spreadsheet update

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@200 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 17:47:52 +00:00
lalien 230982db59 - charge less AP's when throwing grenade from prone stance
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@199 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 11:48:38 +00:00
MaddMugsy b0271bfc7d - updated breaklight duration checks to allow us to have shorter duration breaklights
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@194 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 05:23:07 +00:00
MaddMugsy a38002f606 - updated bullet tracer effect again to resolve a savegame compatibility issue and to fix the lighting effects
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@193 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 04:40:55 +00:00
MaddMugsy 454a0575d8 - added SmokeEffects.h and LightEffects.h to TileEngine.vcproj
- increased the INT8 & UINT8 bAge/ubDuration variables in SmokeEffects.cpp and LightEffects.cpp to a good old "int".

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@192 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 00:54:14 +00:00