Replaced Windows console with freeware console implementation. Activate in windowed mode with \
Added error and quit if JA2 started in window mode in >16bpp color depth
Fix to enemy sector investigation: Was deducting from redshirts when elites investigated
Fix AWOL militia (need additional fix to prevent them from being redistributed during after reinforcements)
Fix to tanks to add them in their original spot when a new one cannot be found. Should modify to remove old wreckage in this case.
AI no longer tries to fire mortar when no room for it
Tanks no longer try to throw knives
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1030 3b4a5df2-a311-0410-b5c6-a8a6f20db521
replaced Pistol Suppressor pic with a new one made by Tbird
replaced Rifle Suppressor pic with a new one (you guessed it: Tbird) and renamed it AR Suppressor, as it will no longer be available for sniper rifles
added a Sniper Suppressor (a sound suppressor for sniperrifles, not something that suppresses Snipers themselves), pic by Tbird.
change several sniper rifles to attach Sniper Suppressor instead of Rifle Suppressor
changed all sound suppressor to sink, they are made of metal, after all
added Ares M4 Shrike and HK 417 12", pics by Tbird
added OTs 39, pic by Coolberg
added missing built-in folding stock on Type 85
changed HK MG36E from assault rifle to LMG
changed 5.45x18mm standard ammo to AP/FMJ, because the round has a reputation for piercing soft body armor at shorter ranges (not enough to warrant XAP, though).
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@837 4f8fa57e-7814-0410-bad4-adc449f26b7c
changed damage of about 65% of the guns, to have a more realistic relation between all the different calibers.
MG43 has now a default bipod instead of a built-in one
M60E3 has now a default foregrip instead of a built-in one
Ultimax has both bipod and foregrip built-in now
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@833 4f8fa57e-7814-0410-bad4-adc449f26b7c
Larger XM-8 guns got the ISM-V-IR as a defaut attachment
replaced pics of folding/retractable stock with new ones by Tbird
added last missing LBE item for inventory project (pics by Marlboro Man)
replaced a few LBE tileset pics (also by Marlboro Man)
corrected a few grammar/spelling mistakes in gun descriptions
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@830 4f8fa57e-7814-0410-bad4-adc449f26b7c
changed HEZI from assault rifle to rifle
replaced Metalstorm Surf Zone pic with a new one made by Tbird
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@829 4f8fa57e-7814-0410-bad4-adc449f26b7c
added 5 deactivated LBE-thingies for the inventory guys (pics by Marlboro Man)
replaced Makarov PM pic (Tbird again)
corrected NVG and Sungoggles boni and penalties (somehow they had become multiples of 8 instead multiples of 10)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@828 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Added "lua" project folder to the "Additional Include Directories" for each project
- Added "lua51_vs2003.lib" to the "Additional Dependencies" for project "ja2"
Project should now compile in VS 2003 without any errors.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@935 3b4a5df2-a311-0410-b5c6-a8a6f20db521
Added missing #includes
Added LUA scripting and console
Changed the way tracers are visualized, so they work more like real tracers instead of a light fountain
Fixed signedness of many grid variables used in GetMouseMapPos calls
Fixed enemy weapon choosing: Sometimes a mortar is chosen but later rejected, but the grenade class was not reset. Caused assertion failure
Added checks so enemies don't try to chuck RPG grenades with their hands
Now possible to shoot a someone in the head if he's in water
Fixed InitSightArrays to also clear soldier interrupt duel points. This was causing an assertion failure elsewhere in the code because the interrupt list still had soldiers on it sometimes when this function was called.
Soldiers are much less willing to forfeit their turn over an attempt to use more APs than they have
Removed early setting of muzzle flash. This would allow enemies to get an interrupt before you even fired.
Fixed item dropping by AI. If AI tried to drop something while standing it would cause deadlock
Change to greatly speed up closing the sector inventory window in an unloaded sector
Added conditional compile flag to always give robot weapon ready advantage, even for 360 degree sighting
Check builddefines.h for the conditional flags. Of greatest interest might be LUA_CONSOLE. This will cause the game to bring up a command console when run. However this console is severely lacking in many areas. If anybody knows of an open-source terminal/console that could be used instead, it would be appreciated. The existing console does bad things when you try to close it, and since it counts as a separate app, it pauses the game while it has focus.
LUA scripting is very limited, basically just proof of concept. There is one global variable, the Soldiers array. An array index gives you the soldier in that slot in the currently loaded sector. The soldier has a few things that can be accessed: name (short name); fullname (long name); grid (current grid #, can be changed); walkto(grid) (function to walk to another grid); runto(grid) (function to run to another grid)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@924 3b4a5df2-a311-0410-b5c6-a8a6f20db521
added HK 416 20", HK UCP, HEZI SM-1, and Rheinmetall MG3 (pics by Coolberg and Tbird)
added ammo for UCP and HEZI (pics by Coolberg)
added HK 417 pic for later use (Tbird)
changed Coolness on some ammo
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@821 4f8fa57e-7814-0410-bad4-adc449f26b7c
replaced pics of INSAS and Minimi with new ones made by Tbird!
replaced SMP1ITEMS.STI with one that ChrisL repaired, because there was one armor pic too much
allowed Rifle Suppressor on Galil Sniper
uploaded new GermanItems.xml from a new translator, had to correct and add a few things, though
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@818 4f8fa57e-7814-0410-bad4-adc449f26b7c
added Beretta M12, HK 416 10" (more to follow), and Steyr AUG-A3
added a lot of other gun pics for later use
replaced pics of Grach, M60E3, HK 416 14", Pecheneg, and Sterling L2A3
added a 40mm Grenade Panel
deleted wrong German descriptions of Thor's martial arts items
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@815 4f8fa57e-7814-0410-bad4-adc449f26b7c