- Support for specific cities.xml (eg. Russian.Cities.xml)
- Fixes for new fonts
- Fixed the sector inventory so that you can right click to look at an item's description even if you don't have an On Duty merc in the sector. You still need a merc in sector, but they can be involved in another activity where before they also had to be part of an active unit.
- Fixed Russian texts
- Possible fix for the intermittent sector inventory right-click issue.
- Fixed the display AP cost for shooting (when you also have to change facing and/or ready a weapon) so that it correctly matches the APs that are really charged.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1034 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Adjusted the ChangeDropPackStatus function to account for "range to backpack" when enemies are in sector.
- Corrected a graphic rendering issue with attachment alignment on the strategic screen.
- Corrected a problem with IMP hiring that caused an assertion error when trying to use the last female IMP profile ID.
- Fix CTDs in Multiplayer (and Singleplayer)
- Random number and CTH adjustments.
- OIV Graphic alignment correction.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1030 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Corrected a display problem with the KeyRing popup when playing in OIV mode.
- Dirty fix: Removed "Assertion" that could occur when entering a sector.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1025 4f8fa57e-7814-0410-bad4-adc449f26b7c
- added INI option for new tracer bullets (USE_BULLET_TRACERS)
- updated German.Items.xml
- fixed one spelling mistake in Items.xml
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@999 4f8fa57e-7814-0410-bad4-adc449f26b7c
bugfix: Minor adjustment to the NIV mode 800x600 thigh and combat pack pocket coordinates on the tactical panel so that the stealing menu doesn't inadvertantly "double hatch" our pockets and make them look solid black.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@997 4f8fa57e-7814-0410-bad4-adc449f26b7c
*** ja2.exe ***
Bugfixes:
- Fixed item "beaming" bugs that allowed items to be grabbed from a sector your merc wasn't currently in.
- Resolved a problem where ItemSize=99 items would cause a CTD because of a mission condition.
- Adjusted the ALT+W function so it runs a bit better.
- Merc with no ammo in autocombat leads to CTDs.
- Character names which are too long at IMP activation screen leads to CTDs.
- SHIFT+N allowed both sun goggles and NVGs to be worn at the same time.
*** Map Editor.exe ***
Bugfixes:
- Fixed the map editor so that "Nada" items don't appear in the item lists.
- Made an adjustment to the editor so that map version checking takes place when rebuilding the DevInfo folder.
This will allow maps to update properly if you switch between maps alot, while not forcing a major version update
when it's not needed.
- Minor update so that sector A9 will be the default map when a major version update has completed.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@996 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Fixed a CTD that occurs when closing sector inventory while the item description window is open.
- Added a new ALLOW_SECTOR_DESCRIPTION_WINDOW flag to the ja2_options.ini that allows players to turn off the stack popup and item description functionality for the sector inventory panel.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@989 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Fix for AI seeking climb point in toxic gas
- Fix for civilians trying to climb the roof to seek noise
- Fix for punching and stabbing
- Fix for chance to hit being 1% at distances > 52
- Fix for militia transported to NOWHERE during autoresolve in a different than current sector
- INS-key for overhead map is back!
- Weapon CTH at extreme range now calculated with soldier's real sight max
- Fix for 1% chance to hit target when distance is > 52
- Camo and other effects are taken into account when aiming at a body part
- Max Distance Visible is more consistent in being calculated based on the soldier and direction rather than a fixed number
- removed breath reduction for soldiers that are not in loaded sector
- added bug fix from build 1240 (fixed freeze in tactical - enemy soldier attempted to throw item at himself (save from pyg))
- Bugfix in ChooseFaceGearForSoldierCreateStruct(). Wrong HeadPos was set.
- Fixed bug where wrong chance to hit was displayed by completing AXP's previous bugfix.
- Bug fix for militia movement on strategic screen not setting group ID for battles.
- Added AStar pathfinding.
- Fixed buffer overrun for LUA strings
- Made direction variables more consistent as unsigned chars. Several function prototypes updated for this.
- Many memory leaks plugged: External options, video overlays, laptop file lists, tactical message queue, strategic pathing, autobandage, merc hiring, detailed placements, crate in Drassen, tactical placement
- New functions and attributes for soldiers in LUA (still for debugging at best): Soldier.APs (current APs), Soldier.changestance (changes stance, uses game heights)
- File catalog ignores .SVN directories (game load speedup)
- Fix CTD in mouse regions
- JA2 window now refuses to move to negative coords
- Checks to prevent DirectX-related infinite loops due to minimizing and task switching
- Invading enemies should now appear on the borders even when reinforcements disabled in .ini
- Suppression should no longer work on mercs in medium water
- Infant/Young creatures use restored spit instead of Molotov
- Creatures begin with their 'guns' (spit) 'locked and loaded' (cartridge in chamber)
- Further fix to AXP and AlaarDB's weapon ready check: Now 'firing' is always counted as 'ready'.
- Prevent mercs from falling and flying back through obstacles
- Check whether battle group is even set before testing its location for battle setup
- Burst spread locations now limited to 6, the limit within the soldier struct
- Extra burst spread locations zeroed out so that they aren't used unless necessary
- Spread code now only shoots at locations in the spread, and will shoot at all 6
- Only mercs in the sector where autobandage happens will be made to stand up after it's done
- Throwing a grenade at the tail of the plane in Drassen should not result in a CTD
- Reset attack busy count when loading a new sector
- Fixed a problem with wrong variable name, and modified infant spit index to match the new Vanilla friendly index
- Fixed CTD in editor when changing detailed civ placement from wheelchair to jeep
- Fixed memory corruption in detailed placement due to old-inventory behavior
- Added Editor.slf to files JA2/Editor will load from
- Fixed FindBestPath to not search for a path to NOWHERE
- bugfix: Sam sites with index >=5 lacks ability to train militia
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@877 4f8fa57e-7814-0410-bad4-adc449f26b7c
- Fix for freeze when AI killed by mines or other self-inflicted wounds
- Added Breath APs fix
- Fix for mouse movement when clicking on mercs. In windowed mode would move the cursor to odd places on screen
- Enemy group invasion tactics fixed. Now reinforcements come from all directions, same as from surrounding stationary reinforcements
- Fix for mercs turing lame
- allowed militia to wear camo
- Fix for uninitialized group in reinforcements
- Fix AI deadlock when multiple soldiers occupy the same tile
- Fix to reset Pablo so that future thefts can also be punished
- Fix for missing enemies in mobile group when player invades
- bugfix: Sometimes if you press with the right mouse button on the radarmap, the overhead map view was not displayed
- Fix for enemy invasions and reinforcements
- bugfix: HE Ammo Bug
- Fix for the "CONT" that won't go away
- Fix points calculation in BaseAPsToShootOrStab
- Tweaks to inventory, soldier, and merc profile structs
- Fix for divide by 0 in CalcBestShot
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@854 4f8fa57e-7814-0410-bad4-adc449f26b7c
- new shortcut: Ctrl+Del in sector inventory deletes all items in sector
- Fix squad oversizing based on user prefs
- Fix militia issue in auto-resolve: Militia were not always being promoted even when it said they were. Since first X slots are for militia already in the sector, militia from other sectors are not sorted by rank. This actually affects battle outcome!
- Added fix to editor to skip cached tiles in RaiseWorldLand. Otherwise it can crash when invoked within the game.
- fixed some variables not being initialized
- Efficiency improvements for soldier->soldier sighting
- fixed memory leak in new inventory
- fixed some variables not being initialized
- fixed swapped parameter in LOS.cpp
- added variable range check in lighting.cpp, the cause of wrong index value still not fixed
- Fix for slow bullets and other anims
- Fix problem with items with default attachments not comparing to base items correctly
- Removed an inconsistency between quickload and regular load
- Turned on heap checking for debug builds. *Could cause memory to run low if game runs for extended periods
- Fixed assertion message for case where soldier groups try to cross impassible terrain
- Fixed inventory memory leak
- Fix sticky keys due to loading screens
- Fix infinite loop/hang after an assertion failure
- Fix problems with missing tile effect in places such as Alma and Tixa underground
- Also fixes potential problem with buffer overruns
- Don't have monster spit cause fiery explosions
- More detailed error messages for failed saves
- Yet another phantom militia fix
- Fix for incorrect, sometimes negative, values of items sold to locals
- Editor: Disable light sprites that are not in bounds. Actually happens in some sectors (ie Drassen)
- Editor: Fix for use of uninitialized variable in undo
- Editor: Fix for clipping bounds that are offscreen (causes crash)
- Fix for AP bonus reading from INI
- Fix mine indexes when looking for creature infestation of mines
- Final (?) fix for militia reinforcements. Also a change: If you refuse reinforcements, none will come for the entirety of the battle
- Increase size of cover and LOS grids to fit max radius
- Fix for uninitialized light level in DistanceVisible
- Move CheckForEndOfBattle to end of ReduceAttackBusy, to remove a possible militia invalidate upon promotion
- Change the way Alt-L handles reloading
- added range check for light sprites
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@848 4f8fa57e-7814-0410-bad4-adc449f26b7c
Replaced buggy exe build (933) with the new one (911)
Yes, it is exe build 911, but it has the same features like exe build 933 ;-)
lua51.dll is not used anymore for this exe build.
Features:
- New attack busy system
- 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
- Added missing #includes
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@827 4f8fa57e-7814-0410-bad4-adc449f26b7c
exe changes:
- New attack busy system
- 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
- Added missing #includes
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@823 4f8fa57e-7814-0410-bad4-adc449f26b7c
- new: Throwing item animation (grenades, items, ...) in crouched stance for the player, AI was not changed yet
- new: allowed helicopter to land in enemy controlled sector
- new: SHIFT+N now can use goggles attached to the helmet
- bugfix: If merc is in crouched stance and passes an item to another merc, merces did not turn to face each other
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@816 4f8fa57e-7814-0410-bad4-adc449f26b7c
- new: Externalized sector loadscreens to TableData\Map\SectorLoadscreens.xml (INI-Switch: USE_EXTERNALIZED_LOADSCREENS)
- bugfix: Automated scrolling if you talk to someone in small maps (e.g: Rebel Basement) in high resolution (1024x768)
- bugfix: Scrolling problem in radar map in small maps (e.g: Rebel Basement) in high resolution (1024x768)
- bugfix: Russian version
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@811 4f8fa57e-7814-0410-bad4-adc449f26b7c
- new: New .ini setting to disable stealing
- new: Added translation table for Russian characters
- new: Code for "new way to progress" (visiting sectors)
- new: Remove attachments and unload all weapons in sector (Shift+F)
- new: Added INI options for RESTRICT_ROAMING and REVEAL_ITEMS_AFTER_COMBAT
- changed: Removed Omerta from the list of "unimportant" sectors (Estoni and San Mona still "unimportant")
- changed: Allowed queen to attack Omerta before day 2 at 7:45AM and Drassen before day 3 at 6:30AM
- changed: The reinforcements are not reassigned anymore when the sector where they were going to is captured by player
- changed: Omerta garrison is not reassigned anymore when queen fortifies cities
- changed: Enabled investigation of lost city sector by the enemy
- changed: Limit for the investigation of the sector depends on difficulty level (4, 8, 12 and unlimited on INSANE)
- changed: Better handle missing .ini entries for IMP slots
- bugfix: Assertion failure when Skyrider leaves a sector where a merc cannot be woken up
- bugfix: Opponent no longer "seeks cover", ie jumps back out of the ring; no longer will pick up a gun from the ground while boxing
- bugfix: Disappearing corpses (and possibly items) when cursor hovers over a square on the rooftop; also fixes a "write to freed memory" heap check
- bugfix: roof inaccessible tiles problem
- bugfix: AI hang while deciding on an action (fire 0 rounds on auto)
- bugfix: Disappearing corpses (and possibly items) when cursor hovers over a square on the rooftop; also fixes a "write to freed memory" heap check
- bugfix: Fixed improper printf field in a debug message
- bugfix: CTD when someone fell off the west side of a building
- bugfix: Fixed misspelling of function names
- bugfix: Minor fix to allow different types of GL grenades to be attached to the grenade panel and the ALICE pack
- bugfix: Wrong placement of the terrorists pictures on the files section in the laptop
- bugfix: Text placement in insurance laptop pages in higher resolutions
- bugfix: Fix for grenade launchers (allow reloading with valid ammunition only)
- bugfix: Fix for stacking items in sector
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@791 4f8fa57e-7814-0410-bad4-adc449f26b7c
- moved ja2.set (game settings file) to a custom data directory defined in ja2.ini
- externalized game progress weights
- added VS2005 compability fix from Space Viking
- changed UINT16 to wchar_t for VS 2005 compliance
- Code changes to allow more slots for IMPs.
- Allow dead IMPs to be replaced.
- Add another way to progress in the game (sectors visited).
- Separated the ammo types from the interface from the file infobox.sti.
- Fix for VS 2005 in German and Russian versions
- bugfix: Fixed again more bugs which occurred when loading a 1.13 savegame which was saved under an older 1.13 build or under different XML-files. The bug is now better fixed than before.
- bugfix: Fixed "end move & LOS bug" ('END' button has two different actions)
- bugfix: Added CtH fix from AndroidXP
- bugfix: Rooftop CtH fix from AndroidXP
- bugfix: Roof CtH bug also affected the numerical CtH display on pressing "F" (fixed by AndroidXP)
- bugfix: Added AndroidXP fixes for Sniper Deadlock and Grenade AP loss
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@756 4f8fa57e-7814-0410-bad4-adc449f26b7c
- fixed some crashes when loading 4xx built savegames.
- Added new, optional JA2.INI parameter to select windowed mode instead of Fullscreen (SCREEN_MODE_WINDOWED)
- tactical militia command: stopped merc from moving to militia in combat if he doesn't have a headset (radio)
- updated credits screen to the 1.13 Credits
- translated "low cpu usage" option text for german version
- improved existing "escorting kulbas" bugfix
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@712 4f8fa57e-7814-0410-bad4-adc449f26b7c
- menu descriptions fixed
- new menu option: Low CPU Usage (patch from MTX/defrog)
-increased inventory capacity for IMP items doled out in ImpItemChoices.xml
-changed ammo given to IMPs so they have at least two clips for their main gun
-skip the CompatibleFaceItem check if either item is Nothing. This will let us trim some lines from compatiblefaceitems.xml that are screwing up the xml-editor.
- bugfix: CTD when Skyrider is escorted to his heli in drassen (before Skyrider talks to the mercs)
- changed: Location of the Heli information box in Strategy Screen in High Resolution
- bugfix: CTD in German Version if you press 'q' in tactical (-> Missing strings in _GermanText.cpp)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@710 4f8fa57e-7814-0410-bad4-adc449f26b7c
SAVEGAME BREAKING STUFF -> YOU HAVE TO START A NEW GAME!
- changed: Translated "Silent Skyrider" option text for German version
- changed: Set max number of towns, town sectors and sam sites on strategic map to 50, 260 and 50 accordingly
- changed: AP costs for reloading a GL or RL by attaching an item are taken now from weapons.xml (still buggy, allows cheating)
- bugfix: Invalid APs deduction when shooting - player could win 1 AP, if he raises weapon first and then shoots
- bugfix: CTD when tooltip should be displayed on militia and no merc is in that sector
- bugfix: If queen retakes mine sector, player still gets income (money) from the mine although the "Daily Income" string on Strategic Screen is shown correctly.
- bugfix: no explosion if the rocket launcher was reloaded manually (with attaching a rocket/grenade)
- bugfix: German "Umlaute" were not displayed correctly for short item names
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@669 4f8fa57e-7814-0410-bad4-adc449f26b7c
- memory leaking fix
- slow progress for enemy items choice added
- enemies and militia can have ambidexterous skill and a second gun (elites and regular troops/milita only)
- new menu option: silent Skyrider
- bugfix: militia, came as reinforcements, tend to stop at a halfway, if main battle is at the opposite side of map, they are coming from
- bugfix: when merging an item to a stack of items all of them were converted to a new item
- bugfix: Turning APs were not deducted (wrong bugfix in version 653)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@637 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: Ira invisible bug in rebel basement
- bugfix: Wrong AP deduction if a merc punches the enemy
- changed: The queen should try to get the cities back after they were liberated, just like the SAM's
- feature: Added armor filter buttons (helm, vest, legging, plate) to Bobby Rays
- feature: Added misc filter buttons (blades, grenades, ...) to Bobby Rays
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@620 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: Gabby did not show up in Sci-Fi mode. Now Gabby is randomly located in sector H11 or I4 (new game is required)
- bugfix: Tracer bullets animation starts some tiles away of where the shooter is (you also have to update GameDir because of updated \Tilecache\bullet_tracer.sti
- fixed some memory leaks
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@619 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: Mary & John cannot be escorted if you have 16 mercs in your team
- bugfix: Wrong text placement in the florist gallery website
- bugfix: Sam site externalization code
- bugfix: Reinforcement CTDs
- bugfix: Secrets on strategic map and other externalized stuff were not properly initialized, if user loads a saved game before he creates a new game
- added possibility to dismiss a vehicle without passengers
- added ability to use ogg-files in speech sound files
- army externalization
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@609 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: Endless clock after stealing
- bugfix: CTD after talking to Darren in San Mona (in the boxing club)
- bugfix: Wrong APs deduction from stealing
- bugfix: Prevent Nada objects from stealing
- bugfix: CTD when trying to add 13th town
- changed: APs for stealing from 10 to 14 (because stealing is more than simple picking enemies gun)
- changed: You cannot steal items from head, body, leg or face until the enemy is collapsed (lying on the ground)
- changed: Tooltips on the enemy are only displayed if the enemy can be seen by the selected merc
- preparations to increase number of town sectors
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@576 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: CTDs after you have placed your mercs before the attacking occurs
- bugfix: CTD when trying to recruit John & Mary and there is only one free place left in the whole team
- bugfix: fixed issue with visibility of enemies after raising scoped gun (no need to look twice anymore) and versa
- reseted IMP activation text box after creating an IMP
- added notification when you try to create a new IMP and you already have the maximum number of mercs (18) in your team
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@563 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: Landmines
- bugfix: Got a "misplaced" I.M.P email on day 3
- bugfix: Laptop -> Personnel -> Inventory scroll buttons
- changed max number of slots for towns (hardcoded value)
- highest town index defines the number of towns on map (user defined value via xml)
- updated cities.xml handling code so now it is possible to control can player train militia in town or not
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@554 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: Average column in laptop->profiles was not correct calculated
- feature: Moved Auto save to option screen
- feature: German.Items.xml can now use "Umlaute". It is now correct displayed in the game
- added sector variation (see "TableData\Map\AltSectors.xml")
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@530 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: CTD on maps with tanks
- feature: Added INI Setting and ability to manually train mobile militia at a cost (MILITIA_COST_MODIFIER, MUST_TRAIN_MOBILE_MILITIA)
- feature: Added INI setting and ability to train veteran militia (TRAIN_VETERAN_MILITIA)
- feature: Moved auto save from ja2_options.ini to option screen
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@526 4f8fa57e-7814-0410-bad4-adc449f26b7c
- bugfix: Removed the serious bug that was added in exe build 568
- feature: Re-enabled auto save (USE_AUTO_SAVE in ja2_options.ini)
- feature: Lightning can be disabled (ALLOW_LIGHTNING in ja2_options.ini)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@516 4f8fa57e-7814-0410-bad4-adc449f26b7c
- added Captain J's coverage armor mod (see ENABLE_ARMOR_COVERAGE in Ja2_Options.INI)
- updated some German strings
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@512 4f8fa57e-7814-0410-bad4-adc449f26b7c