Toy adjective hexing with PetzA

By PrismMirrorLens | Category: Hexing | Tags: hexing, toyz, petza, adjectives | Visibility: public

Intro

You can use Prism's PetzA to set toy adjectives in LnzPro, without having to use a hex editor. For example you can easily make toys edible, change the flavour of bowls, or change the physics behaviour of objects.

Requirements

Also remember that people who download your toy will also need Prism's PetzA!

Method

Make a blank .txt file anywhere on your computer.

Open your toy in LnzPro.

Add a new TXT resource. Select your blank txt file. The rest of the values will be automatically populated.

Change the resource name to ADJECTIVES0. If you're making a treat box, this should be ADJECTIVES1 instead (ADJECTIVES0 will change the values of the box itself, ADJECTIVES1 will change the value of the treats). If you're making some other multi-part toy, ask for help!

Open the ADJECTIVES0 resource.

Type your adjective and value pairs. You can use words or numbers - "Flavor Chicken" is the same as "7 0". Typos/mistakes won't be warned about so be careful!. Use American spellings. Refer to the adjective spreadsheet and list of valid adjectives/flavours/colours in Requirements.

You can set multiple adjectives. They must be separated by a new line.

Any adjectives you don't set will stay the same as in the normal version of the toy.

Load the game and take out a new instance of the toy from the closet. Toys that are already in playscenes may have saved adjective data and won't be refreshed.

Advanced techniques

You can set a range of values by giving the min and max, e.g. Friction 0 100

You can set a random choice of values by giving three or more values, e.g. Flavor Chicken Beef Fish Turkey (if you want a random choice of two, put each value twice, e.g. Flavor Chicken Chicken Beef Beef, otherwise it will be treated as a range!)

Debugging

  • Make sure you're pulling out a new toy from the toy closet
  • Try setting Friction 0 and throwing the toy - if it slides all over the place then your adjective txt file is being detected

Comments

No comments yet. Be the first to say something!

Log in to post a comment.