Skip to content
Snippets Groups Projects

Debugging update: Random Actors and Objects

Merged Hachem_Muche requested to merge Hachem_Muche/t-engine4:DebuggingUpdate into master
  1. Apr 15, 2017
    • Hachem_Muche's avatar
      engine.zone:addEntity will not apply actor_adjust_level more than once · f110d8b3
      Hachem_Muche authored
      Updated resolvers.talented_ai_tactic to work correctly after multiple calls (solves an upvalue issue)
      
      Added a new Dialog: RandomActor accessible from the SummonCreature dialog (" Random Actor"):
      Randomly generates actors based on an input filter or Randombosses based on generation data and the current random actor (if available).
      
      Added a new Dialog: RandomObject accessible from the CreateItem dialog (" Random Object"):
      Randomly generates objects based on an input filter, randomly generates base objects ready for conversion to Randarts, and creates Randarts based on the base object (if available or random) plus generation data.
      
      The new dialogs include context sensitive help and allow generated actors and objects to be previewed via tooltip, character sheet, and lua inspect.  Keybinds ctrl-c and ctrl-v allow Filters and Data (text) to be copied and pasted to/from the appropriate dialog inputs, facilitating development and testing of source code.
      
      Entity generation uses the current zone's npc and object lists and runs in the Lua Console environment.
      
      The destination of objects in the debugging dialogs can be selected:  either Player Inventory (default), Drop at player position, or NPC inventory for a target actor.
      
      The debug dialogs are not cancelled when placing creatures or objects, allowing multiple entities to be created without reopening them.
      f110d8b3
  2. Apr 14, 2017
  3. Apr 12, 2017
    • Hachem_Muche's avatar
      d28b9a5d
    • Hachem_Muche's avatar
      AdvanceActor dialog: · bfffa178
      Hachem_Muche authored
      Stat values are split into base and bonus values, and base (maximum allowed by level) and bonus stat values (estimated, +40 at level 50) are automatically updated when the character level is updated.
      Check boxes enable/disable character level and stat values.
      
      By default, the actor (player) level is set to 50 and all stats are forced to 60 base, 40 bonus (100 Total), matching standard scaling limits.
      bfffa178
Loading