Skip to content
BtheDestroyer edited this page Jun 2, 2014 · 1 revision

Editing Current Gadgets

Files

The files universally used by Gadgets are as follows: NAME.gif, NAMEInfo.list, Gadget.list, and GadgetPrices.list.

Files that can also be used by Projectile Gadgets are PROJECTILE and PARTICLE.

These are all located in \Versions\VERSION ID\Gadgets\

Removing a Gadget

To remove a Gadget, just take it's line out of the Gadget.list file.

Changing Names

To change the name of a Gadget, change the name in the Gadget.list file, the NAME section of all the files' names used by the gadget, and the first line of NAMEInfo.list to the new name.

Adding a Gadget

Follow these steps to add a Gadget:

NOTE: You will need the following files with NAME being the name of your Gadget: NAME.gif and NAMEInfo.list.

  1. Open the Gadget.list file and add a line with the name of your Gadget.
  2. Open the GadgetPrices.list file and add a line with the price of your Gadget.
  3. Create the image file for NAME.gif. Animation will not show for this file.
  4. Open the NAMEInfo.list file and fill it out with the information below.

NAMEInfo.list For a Physics-Affecting Gadget

NAME

1 (Type)

Gravity

Player speed

NAMEInfo.list For a Projectile Gadget

NAME

2 (Type)

Rate of fire (In milliseconds)

Projectile image (With extension)

Projectile particle image (With extension)

1=Particles will stick to the ground; 0=Particles will fall out of the game

Gravity value of particles

Amount of particles to spawn

When creating a Projectile Gadget, the two files set for your Projectile image and Projectile particle image must also exist.

Backslashes (\) can be used to define folders for the images; for example if you put My Mod\Fireball.png on the fourth line, then Fireball.png must be in the folder \Versions\VERSION ID\Gadgets\My Mod\ to be loaded.

Clone this wiki locally