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
MaddMugsy
21bc685f8d
WARNING: I haven't tested these changes yet, since I'm still at work :p I'll be testing them and making updates as needed tonight.
...
- updated breaklight effect to use the radius and duration values from Explosives.xml
- updated tracer bullet lighting effect (will probably require more tweaking)
- updated AI - when trapped in gas in Insane the AI goes nuts instead of getting scared. AI in all levels is more likely to use autofire over burst/single fire when in gas (panicking).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@190 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-08 00:14:23 +00:00
lalien
ea7e68297c
- Bobby Ray's tool tips for GL fixed
...
- bug fix: CTD when shoot at soldier and see items afterwards (happens not always)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@189 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-07 18:44:37 +00:00
lalien
f937772476
- bug fix: CTD when clicking on buttons
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@187 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-07 15:49:36 +00:00
MaddMugsy
21d454688b
-added grenade launchers to the pre-chambering of pre-selected items
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@186 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-07 15:16:09 +00:00
MaddMugsy
b2a7d4e25a
-pre-chambered cartridges for NPCs/enemies pre-placed on maps so we don't need to listen to them all manually load their guns ;)
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@185 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-07 15:14:49 +00:00
MaddMugsy
75d9e1b1c7
-updated AI to use some features from Ja2CW
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@184 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-07 03:48:02 +00:00
MaddMugsy
d9dc88cc3c
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@183 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-07 03:44:13 +00:00
lalien
19b7f398e9
- manual reload ai fixed
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@181 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-06 12:29:04 +00:00
lalien
c4db6f8f13
- manual reload play sound added
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@178 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-05 23:34:43 +00:00
lalien
ce1b1220b7
- new feature: manual reload
...
- update readme
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@177 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-05 22:37:34 +00:00
lalien
979423c07a
- removed ammo from grenade launcher tool tip
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@174 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-05 09:22:34 +00:00
MaddMugsy
07aee0e43f
-added code for enemies to carry money items / wallets w/actual deposit-able cash
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@173 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-05 07:06:19 +00:00
MaddMugsy
26adc690ed
-added a couple extra checks to Inventory Choosing.cpp for attachments. Doubt it will fix the battle/sniper scope conflict though.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@171 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-05 06:17:23 +00:00
lalien
7da7984951
- bug fix: Space selects next squad: next merc was not selected when in interrupt
...
- changed scope ranges to be % of base visible range
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@170 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-05 01:03:17 +00:00
lalien
d0ea612fb3
- added % status for blades in tool tips
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@169 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-04 18:53:35 +00:00
lalien
5259bdeee2
- bug fix 'j' key was not working properly
...
- check for invalid sector in GetCurrentBattleSectorXYZAndReturnTRUEIfThereIsABattle
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@168 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-04 17:52:58 +00:00
Wanne
07afe5f389
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@167 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-04 16:21:31 +00:00
Wanne
311378ef81
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@166 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-04 16:20:41 +00:00
lalien
fc503fc9ab
- new setting in game options: Space selects next squad, when turned on there is no need to press Shift+Space to select next squad
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@165 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-04 15:36:34 +00:00
MaddMugsy
573dbee6c2
-fixed battle scope / sniper scope conflict in Inventory Choosing.cpp
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@164 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 18:08:08 +00:00
MaddMugsy
0f7e3e1a95
- changed tons of guns setting back to "normal" and "tons of guns". This will increase compatibility with other mods based on 1.13.
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@163 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 17:55:37 +00:00
MaddMugsy
110790ee5d
-fixed aim level % restrictions
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@162 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 17:19:54 +00:00
MaddMugsy
37ad617bda
-added option to choose whether extra aim levels apply to rifles only
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@161 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 17:10:10 +00:00
MaddMugsy
b9c5f45721
- updated aiming levels to use a % of sight range, and to allow only rifles & sniper rifles to use aiming levels > 4
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@160 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 15:42:16 +00:00
lalien
23ceb398ff
- quick fix for sight range
...
- works only when 'L' pressed one more time
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@159 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 13:54:21 +00:00
MaddMugsy
2842c92ce1
-continued from last commit
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@158 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 06:55:59 +00:00
MaddMugsy
2d005563a2
-continuation of last update
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@157 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 06:23:46 +00:00
MaddMugsy
c8ea22735d
- removed the +50's from the bonus calculations
...
- added Lalien's 8AP aiming code
- restricted aiming by scope min. range, 4 APs for no scope, 6 APs for min range >= 6 tiles, 8 APs for min range >= 9 tiles
- added option (in preferences + shortcut = 'q') to fire grenade launchers at higher angles, thereby allowing ranges to increase to 45+. It's an option so grenades don't always need to be fired so high. It should also allow grenades to be fired over obstacles.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@156 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-03 06:22:24 +00:00
lalien
432f921564
- bug fix: CTD when enemy throws a grenade
...
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@149 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-06-01 01:35:27 +00:00
lalien
bd5138315b
- fixed strings for Auto Resolve
...
- leadership increase when commanding militia
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@148 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-05-31 21:39:26 +00:00
lalien
561a3c9747
- externalized settings for mobile militia
...
- made default militia settings less aggressive
- added a message for breaking locks/doors
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@147 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-05-31 20:04:47 +00:00
lalien
6b89c64a4d
- moving militia bug fix: militia was not in sector at battle start
...
- changed militia orders to ONGUARD when entering the sector
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@146 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2006-05-31 17:43:34 +00:00