Commit Graph

552 Commits

Author SHA1 Message Date
922730d89d Add new booms by ADoS
- Single-frame boom for "weird" damage
- Animated booms for "weird" and ice damage
- Magic now uses blue swirl instead of yellow swirl; yellow swirl is currently unused
2015-07-28 02:29:36 -04:00
a216693610 Remove Protection from Melee Damage item ability, because it's redundant 2015-07-28 02:22:56 -04:00
40358a7b8b Remove embedded ColorSync profiles from all graphics
- The game ignored them, but they were causing problems when editing graphics in GIMP
2015-07-27 16:23:28 -04:00
b2626d8755 Some sound changes (thanks to ADoS)
- Hiss in female scream sound removed (ADoS)
- Startup music dehissed by extracting it from the Mac resource file (CM) and doing further processing to reduce the hiss (ADoS)
- Sound 99 (formerly a null sound) replaced by sound 60 from the Mac resource file (CM)
- Includes the Python script used to convert extracted 'snd ' resources to WAV
2015-07-27 11:14:29 -04:00
5332270cd8 Scrub Exile/Avernum/Nethergate graphics
- New space-filling forcecage (possibly not finalized)
- New appearance for pushable stone block
- New red slime monster graphic by ADoS
- Six new item graphics by ADoS
- New bookshelf terrain by ADoS
2015-07-23 21:36:22 -04:00
9972c3d27d Various damage-related changes
- Rename unblockable damage to "weird" and special damage to "unblockable"
- Monsters now support immunity to any damage type
- Fix using wrong damage type for bonus damage in PC-on-PC attacks
- Forbid use of unblockable (formerly special) damage by the scenario designer, except in special nodes; if hacked in, it's replaced with weird (formerly unblockable) damage.
- Fix damage amount text in animations (both single-frame booms and fully animated booms)

Changed the following things from weird (formerly unblockable) damage to unblockable (formerly special) damage:
- Starvation
- Debug 'K' command
- Damage from items forcibly ending flight
- Damage from bashing doors
2015-07-19 10:59:22 -04:00
ed0810df66 Finish documentation of scenario format 2015-07-10 15:29:00 -04:00
4104e08481 Factor out some common definitions from the XML schemas 2015-07-10 15:02:50 -04:00
353ed28795 More documentation of scenario format 2015-07-10 14:46:58 -04:00
1863554154 Make the scenario validating script validate embedded dialogs, if present 2015-07-10 14:46:21 -04:00
21c5c98c24 Some tweaks to scenario format 2015-07-10 14:43:15 -04:00
72effbd05b More documentation for scenario format 2015-07-10 01:50:20 -04:00
ce24fc8d25 Tweaks and updates to scenario format docs 2015-07-09 20:37:53 -04:00
5458bc0d7b Scenario format tweaks
- Fix monster attitude enumerator not being reflected in schemas
- Store the sound ID for sound names, instead of the index into the sound name array
2015-07-09 20:32:45 -04:00
c0ab32453b Add some documentation on the new scenario format 2015-07-09 16:53:55 -04:00
ea17fe364b More scenario reading test cases 2015-07-07 20:41:53 -04:00
9ad0681205 Fix scenario editor build 2015-07-07 19:07:02 -04:00
137a3aa5d4 A few more scenario read tests
- Introduce enum for scenario content rating
2015-07-07 18:58:35 -04:00
7b76d37237 Store talk node type in scenario file as enumerator instead of numer
- Also, don't write empty CDATA sections when dialogue name/look/job sections are completely empty.
2015-07-05 23:30:43 -04:00
6cc9e81a7b Widen spellcasting dialog so that Weak Summoning fits 2015-07-05 08:32:06 -04:00
aa72575270 Fix Show PC Spells dialog and the Alchemy button in PC Info 2015-07-05 08:31:30 -04:00
26cb146d4f Fix magic/identified mixup in item info dialog 2015-07-05 08:03:27 -04:00
d682a2b856 Some updates/reformatting of graphics credits 2015-07-04 17:20:35 -04:00
973e765efd Fix Set SDF dialog (debug mode / PC editor)
- No longer crashes when pressing enter
- Enter now sets the SDF, escape exits the dialog
2015-07-04 17:02:29 -04:00
2d73bb01ae Nuke oopsError and out-dated "can't load game" error dialogs 2015-07-03 18:11:03 -04:00
9a2881ef66 Fix title message opcode 2015-07-01 16:12:15 -04:00
ee9c089829 Add a Display Message With Title special node
- Remove Wandering Will Fight, which has been made redundant
2015-06-30 22:19:52 -04:00
c045c315aa Add a missing referenced dialog 2015-06-30 22:12:12 -04:00
74273783b9 Misc little things
- Some item abilities didn't appear in the editor ability selection dialog
- If have (+take) nodes took by default (ie when left at -1)
- Rename button in edit terrain dialog, as the old name barely fit
2015-06-30 12:53:42 -04:00
5a3637c370 Now you can hold Alt while starting a scenario to skip party creation
(Only if party not loaded)
2015-06-30 12:49:01 -04:00
c1fa65a01d Much better error-checking when loading scenarios
- First of all, the program no longer crashes after an error.
- A lot more constraints are now checked for, such as required elements; even some constraints not expressed in the schema
- Special node parsing now has actually useful error messages
- Map data parsing now has error messages for the few invalid cases
- Fix the XML utility exception classes originally used only by the dialog engine; they're now correctly caught and properly report the error
- Fix loading of special shop entries
- Fix accepting any character as the separator in dice constants
- Verify that the monster ability type is on the right ability tag, that the extra element is present only if needed for general abilities, and that the missile and range elements are present for non-touch general abilities
- Use "infinite" for quantity in special shop items, instead of 0
- Tweak ticpp to fill out file/line/col information for _all_ exceptions, not just parse errors
- Raise error (ie, set stream failbit) when failing to convert an enumerator, instead of silently returning a default value (they do still return a default value though, if you don't bother to check stream state)
- Fix status effect enumerator not being correctly saved/loaded
2015-06-29 19:55:59 -04:00
f6d9ac7633 Make the background-removing script more generic 2015-06-28 15:49:15 -04:00
56d878a4db Add a big scenario icon for eventual use with Bandit Busywork
(Credit to The Almighty Doer of Stuff for creating this icon)
2015-06-28 12:16:12 -04:00
7fd6c85e37 Update status icon help to include new icons 2015-06-28 12:15:40 -04:00
4c4b0a131b Fix last two item graphics including black guide lines 2015-06-28 12:15:17 -04:00
d11e34b41b Adjust If Party Size node to match documentation 2015-06-27 20:49:02 -04:00
21435082c9 Add optional space insertion to string buffer append nodes 2015-06-27 20:48:14 -04:00
dafe6c2790 Some character editor changes:
- Move Own Boats/Horses to Scenario menu
- Disable Scenario menu if not in a scenario
- Don't bother converting notes from legacy saves if not in a scenario (affects game too)
2015-06-27 02:08:15 -04:00
a0ec2490c7 Fix text overflow in edit outdoor encounter dialog 2015-06-26 22:03:28 -04:00
9bdc4f00d7 more tiny icons 2015-06-26 17:33:17 -04:00
ef0cdebec4 New editor commands: Resize Outdoors and Import Sector
This includes the following changes (mostly related to the above):
- Move loc_compare functor to location.hpp
- Add reattach() function to rebind a town or outdoor section to a different scenario object. (I don't think this is strictly necessary, as the scenario reference is only used in limited situations in the game itself, not in the editor, but it's better not to keep a reference to freed memory around when importing a town or sector from another scenario, even if the reference is never accessed.)
- Fix imported towns not being officially "loaded" until you explicitly use Load a New Town to reload them
- Fix Choose button in Load New Sector dialog
- More functions in the vector2d implementation
2015-06-25 23:55:55 -04:00
8a4e7a7a72 Mass fix use of curly quotes in dialogs 2015-06-24 16:00:15 -04:00
2951e0228c Tweak New Scenario dialog and add Save As option
- You now specify your name instead of the scenario filename in the first dialog
- A file dialog pops up after the second dialog, to let you choose the filename and location
- Fixed using Warrior's Grove even if you chose not to
- Fixed not recognizing .EXS as a valid legacy-scenario extension and appending .boes, resulting in .EXS.boes
- Adjust Difficulty scenario flag set on by default
2015-06-24 14:43:41 -04:00
269daedcd1 Add visual indication when there's more than one special node assigned to a space 2015-06-24 01:54:42 -04:00
0fbb872b73 Add Give Equipment node for giving a specific PC an item,
possibly with modifiers (like equipping it)
2015-06-24 01:54:41 -04:00
c30c9fca5f Fix some erroneous node information due to misordering 2015-06-24 01:54:40 -04:00
cb14a9c5d7 Add a Swap Buffer node, giving you an infinite number of string variables
- Also fix the string buffer so that it actually works.
- Also add a node to change the text of a sign
2015-06-23 20:17:28 -04:00
9d74f78df3 Implement all the missing parts of the Edit Sheets and Edit Sounds dialogs
- On load, the game now detects graphic sheets and sounds whose IDs are "discontinuous", as well as graphics intended to directly replace preset graphic sheets.
- Edit sheets dialog can now handle "discontinuous" graphics. (The edit sounds dialog already could.)
- Edit sheets dialog prompts user to create a new sheet if there are none already, and also if there are some but not ID 0 (in the latter case they can cancel and still edit the sheets).
- Edit sheets dialog prompts user to convert sheets if the scenario is legacy, rather than doing it silently
- Edit sheets dialog now has "new" and "delete" buttons
- Edit sounds dialog now has functioning "delete" button
2015-06-17 04:29:10 -04:00
580f70f49a Add a dialog in scenario editor to import/export custom sounds in WAV format 2015-06-17 01:03:17 -04:00
e055b97c9f Add dialog allowing you to alter the scenario's graphics sheets from within the scenario editor
- You can copy/paste images into the sheet, or import/export to/from png files

Also:
- Picture controls in the dialog engine have a new "scaled" flag; if set, the picture will be scaled into the provided bounds rather than overflowing. Currently, only full sheets honour the setting.
2015-06-15 16:20:03 -04:00