Pikmin Fanon will close on September 1st (see here for details and discussion).
A full-history page and file archive is available for download here (mirror).
Wayback Machine archive can be found here. Partial Wikia archive here.

Difference between revisions of "Pikifen/Object categories/Track"

From Pikmin Fanon
Jump to: navigation, search
(Version 0.18!)
(No difference)

Revision as of 13:37, 8 February 2020

Tracks are any object that can transport another object from one point to another. Optionally, they can have other points in the trajectory as well. These points are located relative to the track object itself, not the area.

Examples of track types include climbing sticks, where Pikmin go from the base to the top, or the vine slides in Pikmin 3's Mission Mode, where Pikmin and leaders follow a pre-determined swirling path to go from a higher ledge to somewhere below.

To create a new type of track, please follow the creating object types tutorial.


A track object doesn't do much except for idling and waiting for leaders or Pikmin to draw near. It has information on how objects get transported around, which includes who can ride it, at what speed, how they pose while riding, and if they can stop riding by being whistled out of it.

When an object wants to ride a track, it goes to where the track's first body part is located. Then, it moves linearly to where the second body part is. If there is a third body part, it moves there afterwards, and so on. Objects move from one body part to the next at the specified speed, but this is in ratio per second. This means that if the value is 0.5, it takes two seconds to go from the first body part to the second, another two to go from that to the third, etc. Riders can be in mid-air whilst riding, and will fall to the floor if they cancel out of the ride.

Track objects are hardcoded to not do anything, but there is logic in the engine for when a Pikmin or leader gets close, to go to it and start riding, if applicable.


Besides the global object type attributes, a track type has the following attributes.


  • riders: A list of what types of riders are allowed. This list is separated by space, and the possible values are pikmin or leaders.


  • riding_pose: What sort of animation the riders switch to when riding. Possible values are stopped, sliding, climbing. Defaults to stopped.
  • ride_speed: The speed riders go from one body part to the next at. This is in ratio per second, so 0.5 means 50% of the way in one second. Defaults to 0.5.


  • cancellable_with_whistle: If true, riders can stop riding if they are whistled by a leader. Defaults to false.


A track type needs to have the following animations:

  • idling: Idling; used for everything.


A track type's script cannot be changed.

Object spawn script variables

Besides the global spawn script variables, track type objects do not read any specific script variables.