Commit Graph
34 Commits
Author SHA1 Message Date
Sevenfm f806797b10 Fix invalid minievent coordinate, encountered here: https://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=363663 (by rftr)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2616 4f8fa57e-7814-0410-bad4-adc449f26b7c
2021-09-05 05:43:55 +00:00
Flugente 6f59d24a5f Minor improvement for mini events (by rftr): town names are provided by the game for lua
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2603 4f8fa57e-7814-0410-bad4-adc449f26b7c
2021-07-13 20:28:48 +00:00
Flugente 44656e353e New feature (by rftr): Mini events are a feature where the player can receive short text blurbs, and pick one of two outcomes.
Based on game implementations like Gloomhaven (road/city events) or Battletech (travel events).

For more info, see https://thepit.ja-galaxy-forum.com/index.php?t=msg&th=24865&goto=363481&#msg_363481

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2599 4f8fa57e-7814-0410-bad4-adc449f26b7c
2021-07-09 19:37:59 +00:00
Flugente 276ab530d5 We can play external dialogue lines for NPC merchants via the lua function HandleNPCMerchantQuote(...)
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20611&goto=360388&#msg_360388

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2550 4f8fa57e-7814-0410-bad4-adc449f26b7c
2020-06-17 20:21:10 +00:00
Flugente 7f0750feb3 Updated JA2_options inis
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2540 4f8fa57e-7814-0410-bad4-adc449f26b7c
2020-06-02 15:06:55 +00:00
Flugente 6806480ff5 New feature: factories allows facilities to create items
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360075&#msg_360075

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2534 4f8fa57e-7814-0410-bad4-adc449f26b7c
2020-05-17 20:50:47 +00:00
Flugente 1e20365cb3 - Added dialogue events for using a lockbomb (ADE_LOCKBOMB) and sniper warning (ADE_SNIPERWARNING)
- Character lines can be replaced before playing via HandleReplaceQuote(...) in Overhead.lua.

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2497 4f8fa57e-7814-0410-bad4-adc449f26b7c
2019-12-02 22:14:26 +00:00
Flugente 8da0a99690 Additional dialogue event ADE_ZOMBIESRISE is called when new zombies are created from corpses
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2464 4f8fa57e-7814-0410-bad4-adc449f26b7c
2019-02-04 20:07:27 +00:00
Flugente 6f2e8b8724 - Added new additional dialogue events for commenting upon other merc's skill/kills, comment during bandaging
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23604&goto=356522&#msg_356522

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2458 4f8fa57e-7814-0410-bad4-adc449f26b7c
2019-01-21 19:38:53 +00:00
Flugente 9a2d03d507 Fix: game does not start in 'Data'-configuration due to missing xmls, scripts
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2433 4f8fa57e-7814-0410-bad4-adc449f26b7c
2018-08-09 19:07:44 +00:00
Flugente 085514b206 Updated scripts
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2388 4f8fa57e-7814-0410-bad4-adc449f26b7c
2017-09-21 18:47:53 +00:00
Flugente ac287d0f8d Updated /Data folder
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2364 4f8fa57e-7814-0410-bad4-adc449f26b7c
2017-06-08 19:23:33 +00:00
Wanne 504544ced3 New Feature: Added up to 15 game difficulty settings (by Jazz)
- Externalized the difficulty setings to "TableData\DifficultySettings.xml" file
- Some INI Settings (ja2_options.ini, CTHConstants.ini and Creature_Settings.ini) moved from INI file to this xml file

These parameters were moved to the file DifficultySettings.xml.
** Ja2_Options.INI **
ENEMY_AP_BONUS_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
NUM_KILLS_PER_PROGRESS_POINT_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
INITIAL_GARRISON_PERCENTAGES_NOVICE  , _EXPERIENCED, _EXPERT, _INSANE
MIN_ENEMY_GROUP_SIZE_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
UNLIMITED_POOL_OF_TROOPS_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
QUEENS_INITIAL_POOL_OF_TROOPS_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
ENEMY_STARTING_ALERT_LEVEL_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
ENEMY_ALERT_DECAY_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
NUM_AWARE_BATTLES_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
BASE_DELAY_IN_MINUTES_BETWEEN_EVALUATIONS_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
EVALUATION_DELAY_VARIANCE_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
GRACE_PERIOD_IN_HOURS_AFTER_SECTOR_LIBERATION_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
GRACE_PERIOD_IN_DAYS_AFTER_PATROL_DESTROYED_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
AGGRESSIVE_QUEEN_AI_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
QUEEN_POOL_INCREMENT_PER_DIFFICULTY_LEVEL
PERCENT_EXTRA_ELITES_EXPERIENCED , _EXPERT, _INSANE
MAX_MERC_DEATHS_EASY , _EXPERIENCED, _EXPERT, _INSANE
		
** Creatures_Settings.INI **
CREATURE_SPREAD_TIME_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
QUEEN_REPRODUCTION_BASE_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
QUEEN_REPRODUCTION_BONUS_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
QUEEN_INIT_BONUS_SPREAD_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
CREATURE_POPULATION_MODIFIER_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
CREATURE_TOWN_AGGRESSIVENESS_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
QUEEN_POOL_INCREMENT_PER_DIFFICULTY_LEVEL
		
** CTHConstants.ini **
BASE_DIFFICULTY_NOVICE , _EXPERIENCED, _EXPERT, _INSANE
AIM_DIFFICULTY_NOVICE , _EXPERIENCED, _EXPERT, _INSANE

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2123 4f8fa57e-7814-0410-bad4-adc449f26b7c
2014-08-28 10:51:26 +00:00
Wanne df7b928e6a Merged from revision: 2051
- Fixed resetting boxes fought (by anv)

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2052 4f8fa57e-7814-0410-bad4-adc449f26b7c
2014-06-03 18:42:57 +00:00
Wanne f648713a0b Externalizations (by Buggler)
- Externalized BR shipping destination
- Externalized Drassen item dropoff grid no

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1828 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-10-15 19:53:05 +00:00
Wanne 66b1309246 Externalized (by Buggler)
- AWOL scientist location
- Brothel sector
- Call Kingpin over for boxing match
- fact Tony in building
- meet Carmen for reward
- moved John & Mary unescort sector from Mod_Settings.ini to LUA

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1822 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-10-14 11:57:51 +00:00
silversurfer 1f2dd0a359 Fixed LUA script for sex in brothel
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1792 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-09-26 18:20:24 +00:00
Wanne 1b0a4456a9 - Externalized Kingpin money sector and Hospital sector (by Buggler)
[San Mona]
;Kingpin's private stash. He will come looking for you if stolen
KINGPIN_MONEY_SECTOR_X = 5
KINGPIN_MONEY_SECTOR_Y = 4
KINGPIN_MONEY_SECTOR_Z = 1

[Cambria]
;The Hospital sector
HOSPITAL_SECTOR_X = 8
HOSPITAL_SECTOR_Y = 6
HOSPITAL_SECTOR_Z = 0



git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1780 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-09-20 08:20:39 +00:00
Wanne 1a7474ce74 - Fixed (Improved) create cutscene not playing after liberating 3 mine sectors (by Jazz)
o Reworked / optimized LUA script

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1764 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-09-11 07:30:18 +00:00
Wanne 70013ecee1 - Bugfix: Creature Quest Cutscene was not triggered
o There was a wrong condition in LUA script (In the ja2 source code this condition works, but not in LUA!!!)
-> WRONG:   if ( giLairID )           -> this is always triggered as TRUE and therefore never starts the cutscene
-> CORRECT: if ( giLairID ~= 0 )      -> if the quest has not started ( value != 0), start the cutscene

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1763 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-09-10 11:24:11 +00:00
Wanne 4e322cea5a - Fixed X-Y coordinate mixed up for CheckConditionsForTriggeringCreatureQuest (by Buggler)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1762 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-09-10 07:25:38 +00:00
Wanne dab64f4e9f - LUA Script Bugfix (by silversurfer)
o Added missing ProfileID parameter when calling the LUA method: CheckFact( fact, profileID )

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1746 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-08-30 20:40:20 +00:00
Wanne 8c400305c6 - Bugfix: Overhead.lua (by Jazz)
o Entering Kinpgin room through the window. Demon (bodyguard) has to let in the player and Kingpin has to expect the player

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1720 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-08-02 11:18:54 +00:00
Wanne 0251a6f2c7 - Bugfix: Dialog is not triggered after escorting John & Mary to the Drassen airfield (by anv)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1712 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-07-21 21:17:01 +00:00
Wanne 2870da3b92 New Lua Externalization (Quests.lua) (by Jazz)
- New File "Quests.lua"
- Modders can now define new events relating to tasks (from 0 to 254)
- Fixed missing laptop history quest text when escorted S. to Estoni

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1679 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-06-19 11:22:57 +00:00
Wanne 7e5a28fc0c - Fixed and reworked LUA scripts (by Jazz)
o Updated LUA documentation (moved to new server): http://legion.itzg.pl/mzgb/pmwiki/pmwiki.php?n=JaggedAlliance2UBV1.Jav113lua 

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1645 4f8fa57e-7814-0410-bad4-adc449f26b7c
2013-04-11 19:18:19 +00:00
Wanne 942a5cf16e - Added new example and usage of a new LUA Method called "HireMerc()" where we can hire a specific merc by the LUA method call
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1427 4f8fa57e-7814-0410-bad4-adc449f26b7c
2012-05-18 10:05:05 +00:00
Wanne 59a9a89edf - Bugfix ActionItems.xml (by Jazz)
o Fixed wrong item indexes for <BombItem>
o Removed UB specific LUA code from the ExplosionControl.lua (Data and Data-1.13)

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1406 4f8fa57e-7814-0410-bad4-adc449f26b7c
2012-04-14 13:05:10 +00:00
Wanne 84d990e7fb MERGED GameDir files from the development GameDir folder from revision 4545 up to 4882
Development GameDir folder: https://ja2svn.dyndns.org/source/ja2/branches/Wanne/JA2%201.13%20MP/GameDir




git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1353 4f8fa57e-7814-0410-bad4-adc449f26b7c
2012-01-18 11:58:16 +00:00
Wanne ac60e06bf6 - Fixed wrong possible location for Micky from D14 to D13
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1345 4f8fa57e-7814-0410-bad4-adc449f26b7c
2011-11-28 11:00:42 +00:00
Wanne 6f60807394 BUGZILLA #510: Crepitus were still present in Tixa underground even in Realistic GameMode
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1300 4f8fa57e-7814-0410-bad4-adc449f26b7c
2011-06-05 22:09:48 +00:00
Wanne 7e5ba8bd71 ****************************************************************************************
** Merged (English) GameDir files from Development trunk, for the Spring 2011 Release **
****************************************************************************************
o Development Trunk (Revision: 4444):  https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1288 4f8fa57e-7814-0410-bad4-adc449f26b7c
2011-05-26 10:54:58 +00:00
Wanne 71cb695318 ************************************************************
* Merged GameDir from Development Trunk: Revision 4063 *
************************************************************
- Merged from SVN: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1257 4f8fa57e-7814-0410-bad4-adc449f26b7c
2011-01-18 10:24:49 +00:00
Wanne 2e815521f5 New EXE Release (Build: 3358)
New Map Editor Release (Build: 3358)

New Features
-------

- Map Editor can now load/save big sector maps.
- Control hardcoded list of unclickable ("bad") sectors via XML file.
o On the strategic map, the player cannot click or highlight specific
  sectors (e.g. A4, A5). Introduce a <BadSector> tag in MovementCosts.xml
  that flags a sector as "bad". (<BadSector>1</BadSector>)
- Move hardcoded underground sectors initialization to Lua script file. (by Realist)
o Locate "initunderground.lua" at data-xyz\scripts ("xyz" subject to change).
  Lua script allows easily adding underground sectors at arbitrary locations and defining enemy garrisons and creature population.
  Also enables underground bloodcat population.
- Changed order of properties in GameSettings.cpp
- Sorted Data-1.13\ja2_options.ini
- Translated missing HAM 3.6 German Texts


Bugfixes
------

- In Method CreateDestroyMouseRegionsForFacilityAssignmentMenu()
- HAM 3.6 fixes
- Turns out that the program is saving the number of used Placement Slots to the temp file fine, 
  but if that number is equal to the limit of how many enemies/civvies are allowed in a sector by the INI settings, 
  it leads to an assertion error instead when trying to re-load that sector. (by Headrock)
- The DEBUG only setting "fEnableInventoryPoolQ" is now only enabled in a DEBUG version. 
  In all other builds it is set to FALSE.


Info Map Editor
-------
Q: How can I create Big Maps with the Editor?
A: 1.) Start the new Map Editor.exe file
   2.) The Map Editor should load a map automatically
   3.) You see now 2 new text boxes (Rows, Cols) in the taskbar
   4.) Enter the size of the new map in the Rows text box. It should not be greater than 2000
       Cols always have the same size than Rows. That's why you can't enter a number for Cols.
       Normal maps have a size of 160 rows X 160 cols
   5.) Now click on New map" or load an existing map
   6.) The map should have now the new size you entered for Rows
       If you loaded a map, the original map is placed in the center of the new big map
   7.) Make any changes you like to the map
   8.) Save the map. Depending on the mapsize it could take some minutes
   9.) The map will be saved in the Profiles folder

Q: How can I easy navigate in the editor in big maps?
A: 1.) Use the arrow keys to scroll. For fast scrolling press SHIFT + Arrow keys.
   2.) Press "i" and you get an overview of the map.
       Use the Arrow keys to scroll. By pressing also SHIFT you scroll much faster

Q: What is the version 1.12 checkbox?
A: If this checkbox is checked, the map will be saved in version 1.13 (vanilla JA2) format

Q: What limitions for big maps has the current Map Editor?
A: 1.) Radar maps are not created correctly for big maps. Only the upper left corner of the map is shown in the radar map
   2.) NPC-Scripts are bound to grid numbers. They are not yet converted to the new grid numbers when altering a normal map
   3.) There are a lot of hardcoded grid numbers in the source code, so they only work with normal maps
   4.) For now you should only create big maps, that do not have any NPCs on it, that trigger special actions
       For outdoor maps or town maps (that do not have any NPCs special actions) big maps work fine

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1213 4f8fa57e-7814-0410-bad4-adc449f26b7c
2010-03-07 18:46:35 +00:00