kliontechs.blogg.se

Prison architect script debugger
Prison architect script debugger












prison architect script debugger
  1. #PRISON ARCHITECT SCRIPT DEBUGGER INSTALL#
  2. #PRISON ARCHITECT SCRIPT DEBUGGER MOD#

Seen in developer videos, advances time one hour.

prison architect script debugger

Used in the previously mentioned performance test. Probably similar to "Save Prison" but for developers. Probably similar to "Load Prison" but for developers. Main Menu entry for a performance test of some sort. Leftover from a developer tool for editing sprites. Probably a debug menu for inspecting object properties. It can be accessed by changing the CheatsEnabled boolean from false to true in a prison save file or through mods.Ī debug menu for spawning objects and entities. The text there should be relatively straightforward to understand if there is an error with your script.Data registry editor seen in many alpha release videos.Ī debug menu is often seen in developer videos.Search for the name you assigned to your script in Resource Editor. This file has a lot of text, so you’ll have to use the search feature of your text browser.C:\Users\\Documents\Paradox Interactive\Age of Wonders Planetfall\Log\GameTriggers#_#.txt.Check your Logs folder for a new file ‘GameTriggers#_#.txt’.To do so: Scroll down in the Launcher and select the Launch button for ‘Open game in debug mode’ Now try out the script again, but this time start the game Debug Mode.Edit this file with notepad, and add paste the following in there:.C:\Users\\Documents\Paradox Interactive\Age of Wonders Planetfall\Config\Game.cfg.However, it is very understandable that something can go wrong. If you follow all steps, then the script should work.Now start the game, start any scenario, end your turn and you should have a Penguin! Yay~!

#PRISON ARCHITECT SCRIPT DEBUGGER MOD#

  • Time for a test run! Make sure your mod is ‘Published’ (In Package Manager: ‘File’ > ‘Publish’, then enable the mod in the launcher.
  • Don’t forget to save the pack! ‘File’ > ‘Save’.
  • Back to the script, click the field and select Penguin.
  • C:\Program Files (x86)\Steam\steamapps\common\Age of Wonders Planetfall\Content\Title\Packs\Species_Penguins\Units_SpeciesPenguins.rpk)

    prison architect script debugger

    #PRISON ARCHITECT SCRIPT DEBUGGER INSTALL#

    Click the top menu ‘Content’ > ‘Resource Packs’ > ‘Add’ > Navigate to the steam install folder and select ‘Units_SpeciesPenguins.rpk’ (e.g.If you click that, then notice that there are no units to select from. Properties support manipulating the frame of a texture directly with the frame attribute, which changes the frame to the value given by a specified variable. Notice that we did not yet specify which unit should spawn. Properties allow for specified elements to be manipulated whilst in-game, allowing for their texture and position to be changed.At this point what you have should look like the following image:.Click ‘Empty Position’ and change it to ‘Hex Pos - Unit Position’, then change ‘Unit with Alias ’ to ‘Core -Leader’, and change ‘Player 1’ to ‘Event Response - Triggering’.This will make sure we are talking about the player who triggered the event, in this case the player whose turn started. Click ‘Side with Alias ’ and change it to ‘Core - Player’, then click ‘Player 1’ and change it to ‘Event Response - Triggering’.

    prison architect script debugger

  • Now create a new Action (Right click > New), then choose ‘Unit - Create (Unit Resource)’.
  • Then click the second number (0) and leave it to ‘Integer - Preset’, but change the 0 to 2.
  • Then click the first number (0) and change it to ‘Integer Current Round’, click ‘Ok’.
  • Now create a new Condition (Right click > New), then choose ‘Type - Integer Comparison’.
  • In the Trigger Editor Create a new Event (Right click > New), then choose ‘Time - Turn Started’, then click ‘Ok’.
  • Set the Type to ‘Automatic’, then click the small orange box in the ‘Trigger Script’ field.
  • Create a new resource of the type ‘Trigger (Script)’.
  • Edit your new resource pack with the Resource Editor: Add a new Settings category.
  • Make sure your new resource pack file is added in the package manager in the following menu: Content > Resource Packs.
  • As described in the modding basics, create a new mod and add a new resource pack file:.
  • For example: When a new turn starts (event), and the new turn is turn 2 (condition), spawn a new unit at the position of the leader of the player whose turn started (action). In short this means upon certain game events, if certain conditions are met, it’s possible to do certain actions. The scripting follows the “Event condition action model” ( ) The game also uses this for custom behavior to add flavor at certain events, or in campaigns. Planetfall has a simple scripting system that enables to create custom game behavior inside a normal generated planet.














    Prison architect script debugger