The Sinister Design Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new Sinister Design forums!

Pages: 1 ... 43 44 [45]

Author Topic: A new engine!  (Read 60728 times)

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3272
    • View Profile
    • Sinister Design
Re: A new engine!
« Reply #660 on: July 13, 2019, 11:27:59 AM »

-- new script action: SelectUnit. One parameter: (1) character name. Behaves as though the player had left-clicked the character in question.

-- new script action: RemoveUnitAt. Four parameters: (1) Y coordinate, (2) X coordinate, (3) treat removal as unit death? (boolean), and (4) specify category of unit to remove from space (character, object, bridge). If the category parameter is left blank, the game will simply remove the top unit on the space (characters first, then objects, then bridge tiles).

-- new script action: RemovePortrait. One parameter: (1) portrait name. Looks for the portrait assigned that portrait name and removes it.

-- new condition and script action: Recover. In any case, three parameters: (1) army number; (2) health recovery as a proportion of each unit's max health (decimal between 0 and 1); (3) energy recovery as a proportion of each unit's max energy (decimal between 0 and 1).

-- Recover and Fatigue conditions both now work in cut scenes, but they affect by roster instead of by army.

-- the AddCondition script now works with Recover and Fatigue conditions (including in Cut Scenes).

-- fixed: because the action runner now pauses while waiting for scripted character movement and would only unpause if a character stopped moving and no one else was still moving, it resulted in the action runner never unpausing its action execution if two or more units both underwent scripted movement and reached their destinations simultaneously.

-- fixed: setting a mover's animation state to Rest in the direction they were last facing should have happened immediately upon finishing moving, but instead it happened after running any unpaused actions, effectively overwriting any FaceUnit actions that were queued up to occur after MoveUnit.

-- cleaned up a bunch of scripting in some of the earliest scenes of Telepath Tactics to fit changes made in the new engine. The old campaign is now playable through to the end of the battle with Zash and Red.
Logged

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3272
    • View Profile
    • Sinister Design
Re: A new engine!
« Reply #661 on: July 14, 2019, 06:39:12 PM »

-- when trying to load a scene that doesn't exist, the game now returns to the title screen instead of getting stuck on the current scene.

-- the dialogue editor now checks for duplicate Conv IDs and Script names when exiting the dialogue editor; if it finds any, it now pops up a warning and gives you a chance to go fix the issue.
Logged

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3272
    • View Profile
    • Sinister Design
Re: A new engine!
« Reply #662 on: July 15, 2019, 03:14:25 PM »

-- reduced the default character recovery rate while resting in camp from 25% to 20%.

-- in the main campaign, every non-Wounded character now recovers 5% of their Health and Energy per night whether they rest or not.

-- the Recovery script and condition now ensure that when the recovery value is greater than 0, each character gains a minimum of 1 point in the chosen stat (or, alternatively, when the recovery value is less than 0, that each character loses at least 1 point in the chosen stat). This will keep characters with low maximum health or energy from recovering nothing at all at low recovery percentages.

-- tweaked the AI algorithm to give somewhat greater priority to moves that involve backstabbing targets who could otherwise counterattack.

-- fixed an annoying formatting issue that caused the range text for multi-range attacks to cut off within skill tooltips.

-- fixed a dumb bug in which the game would momentarily overshoot while tallying up the player's score in the Victory screen at the end of battle.

-- fixed a particularly annoying bug in which the game would outright ignore it when you clicked the mouse on a unit if the cursor were positioned within a narrow area situated at the character's feet.
Logged

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3272
    • View Profile
    • Sinister Design
Re: A new engine!
« Reply #663 on: July 16, 2019, 03:21:34 PM »

-- big UI feature added: move-and-attack! If one of your characters is selected and you shift-click a character not belonging to your army (or a destructible object), the game will now check to see if the unit you shift-clicked is within move-and-attack range for your character using their 1-slot skill (the one furthest to the left on the Actions Bar). If it is, then the game will choose a spot your character can attack from with that skill, then move the character there, auto-select the skill, and display the skill's reticles.

-- the game now displays the Sword cursor when you've got Shift held down and are mousing over a unit, indicating that you can click to initiate a move-and-attack command.

-- fixed a pretty nasty bug with mid-battle saves. The game was saving all units present on the battlefield as well as all the units who were not present; but upon reloading a mid-battle save, the game would only reload those characters who were present on the battlefield! If the game was then saved again, this would result in all non-deployed characters vanishing from the game going forward.
Logged

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3272
    • View Profile
    • Sinister Design
Re: A new engine!
« Reply #664 on: July 17, 2019, 02:21:25 PM »

Officially hired an artist to create box art for the game! (Not that it's likely to end up physically printed with any sort of box to speak of...)

-- improved the recruitment interface! Character stats are now represented by their symbols instead of by rows and rows of just text. Instead of instantly hiring them, clicking a recruit now causes their stats to remain onscreen even after you mouse off the portrait; you can then mouse over stat icons for explanations of what each stat does. Moreover, clicking a recruit causes a "Recruit Character" button to appear; clicking the button is what now hires the character, eliminating accidental recruitment via mis-clicks.
Logged

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3272
    • View Profile
    • Sinister Design
Re: A new engine!
« Reply #665 on: July 18, 2019, 03:19:15 PM »

-- cut scenes in the game now support custom backgrounds!

-- when the game creates a new campaign, it now creates a Backgrounds folder for custom backgrounds.

-- the Sound, Music, and Backgrounds folders are now each created with their own CustomAssetInfo.xml file containing instructions on how to format each type of custom asset.

-- the Cut Scene Editor now loads custom backgrounds within the background selection window and allows you to use them in cut scenes.

-- new attribute type supported in UnitsToList: Bio Detail.

-- if you leave the Roster or Army parameter in UnitsToList blank and the game is in a cut scene, the game will now automatically sub in the number of the current roster instead of simply defaulting to 0.

-- new script action: AddBioDetail. Allows you to add a biographical detail to a character. Three parameters: (1) character name, (2) detail type, and (3) detail value. (Characters can have an unlimited number of detail values associated with a detail type, and you can enter any arbitrary value for the detail type.)

-- new script actions: IfBioDetailGoTo and IfBioDetailRun. These let you move through a dialogue tree and run scripts, respectively, based on whether the named character possesses the bio detail value(s) you enter. The first parameter is the character name; second parameter is the bio detail type; then an arbitrary number of parameters (one or more) are bio detail values that will return a match; and the final parameter is the branch number to go to/script name to run.

-- LASTINLIST[] can now return -1, indicating a list with no entries in it.

-- the Worried mood now imposes Distracted status.

-- wrote a new random event in the main campaign that changes slightly based on the character's biographical details.
Logged

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3272
    • View Profile
    • Sinister Design
Re: A new engine!
« Reply #666 on: July 19, 2019, 02:03:41 PM »

-- new special character: -GOD-. Picks from the list of deities that the character worships and substitutes its name (or, if the character is atheist, subs in "no one").

-- the Hire button on the recruitment screen now appears grayed out if you don't have enough money to hire a character.

-- wrote a follow-up event to the new event from yesterday.

-- fixed a few relatively minor scripting errors in the new camp event, added some alternative phrasings into the narration.

-- fixed: individual character Mood prefaces could sometimes show up inappropriately prior to generalized messages occurring during camp activities (like the announcement that no one cleaned).

-- fixed: the game was inappropriately decrementing the length of status effects tied to mood under certain circumstances, causing them to time out before the character's associated mood ended.

-- fixed: you could mess up the game by hammering the escape key during scene fade-outs.

-- fixed: cut scenes were only loading characters in the current roster, meaning that any character who'd temporarily left the team (or was in another roster) wouldn't be saved upon exiting the scene.
« Last Edit: July 19, 2019, 02:14:45 PM by CraigStern »
Logged

CraigStern

  • The Creator
  • Administrator
  • General
  • *****
  • Offline Offline
  • Posts: 3272
    • View Profile
    • Sinister Design
Re: A new engine!
« Reply #667 on: Yesterday at 09:13:21 PM »

Had a playtest!

-- when all of your characters have used turn-ending skills, the game now gives you a prompt asking you if you want to end your turn.

-- fixed a branch name typo that made one of the tutorials lock the game.

-- fixed: unique generated enemies that die would try to generate a memory of falling in battle, which produced a null error because they don't have memories.

-- fixed: poison, shadow, and light resistances were being displayed in the wrong spots in the character screen in battle.
Logged
Pages: 1 ... 43 44 [45]