Essentials Series/Asset Templates

Revision as of 23:53, 26 April 2020 by Battlepedia>Igorseabra4 (Created page with "{{EssentialsSeriesBox}} This page is part of the Essential Series modding tutorials. It will cover the basics of placing new assets via templates with Industrial Park (l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Essentials Series
  1. Introduction
  2. Industrial Park basics
  3. Editing Assets
  4. Templates
  5. Links
  6. Dispatchers
  7. Tikis and Enemies

This page is part of the Essential Series modding tutorials. It will cover the basics of placing new assets via templates with Industrial Park.

Templates

Using templates is the fastest way to place new assets in the scene. You can either place new asset templates by right clicking the asset list in the Archive Editor and choosing the template you want to place, or you can right click on the view, choose one of the templates and use Shift + Right click to place the template in the scene (you must first activate template focus by clicking on "Template Focus OFF" in an Archive Editor, also make sure the correct layer for that asset type is selected - usually it'll be Default). Many templates are composed of multiple assets (the Bus Stop template will place 7 different assets at once).

Note: placing a template is not enough for the asset to function if an asset of the same class was not present in the level before (for example, placing a Fodder template in Bikini Bottom will crash the game unless you port the Fodder assets to Bikini Bottom's HOP file first). This is explained better in the Enemies tutorial.

Available Templates

Tutorials for specific asset types will explain some of the templates better.

  • Stage Controllers: assets such as CNTR, COND and PORT, which you cannot see or touch and control the stage's functions.
  • Placeable: a few other assets with a position in the world (such as CAM and TRIG) and also empty/generic versions of Placeable Assets which you must set up yourself after placing.
  • Battle For Bikini Bottom Templates
    • Pickups and Tikis: Shiny objects, underwear, spatula, tikis. All assets are PKUP or VIL.
    • Enemies: all robots and jellyfish. All assets are VIL with MVPT and some have TRIG. Note: there are versions of Chuck, Monsoon and Slick with and without a trigger. If you add the versions without triggers, you must add the events which control them yourself, otherwise they will always be attacking the player.
    • Stage Items: buttons, teleport box, bus stop, throw fruits. The assets are of varying types.
  • Movie Game Templates
    • Pickups and Crates: Manliness points, krabby patty, token, all crates. All assets are PKUP or DYNA.
    • Enemies: all stage variations of all enemies. All assets are DYNA with MVPT.
    • Stage Items: teleport box, port-o-head, throw fruits, ring. The assets are of varying types.
  • Others: mostly HOP assets, such as PIPT, LODT, SNDI.
  • PasteClipboard is a special template that simple pastes any asset you have copied. Asset whichhav e positions will be placed in the new position you choose.

There is a Templates: Persistent Shinies toggle in the Tools tool strip menu which sets whether the shiny object and manliness point templates will be set as Persistent or not (persistent assets have keep their state saved to the save file, so persistent pickups remain collected forever and never reappear).

User Templates

Aside from the included templates, you can also create your own templates to place. User Templates can be composed of any number of any asset; they function the same as the PasteClipoard template, except User Templates can be saved to files.

 
User Template Manager

The User Template Manager is accessed through the Tools tab and the Copy and Paste buttons function the same as those in the Archive Editor: you can copy assets from the HIP/HOP and paste them here, and they'll be instantly available as templates. Double-click a template to rename it and press Delete to delete the template.

The template is identical to the asset that was copied (including all fields and links), and the only change made to it is that a new position will be assigned (only for assets with a position value; others will be simple copies).

User Templates are global and will be saved to Resources\UserTemplates and can be edited manually if you want to.

Links

You already know the basics of placing new assets and editing them; let's move on to the Links page to take a step further and learn how to create game logic by connecting assets to each other.