Createentity List

Started by uugr, August 24, 2017, 08:01:29 PM

Previous topic - Next topic

uugr

I can't find any thread that has all the createentity spawns listed in one easy-to-find place, so I figured I'd make one. All of this is copy-pasted from a post by FIQ waaaaaay into the Internal Commands thread.

Entity list:

0 - The player

1 - Enemy
Metadata: movement type, movement speed
Due to lacking needed data, you will only ever get a purple enemy box, unless you're in the VVVVVV polar dimension while doing the command

2 - Moving platform
Metadata: movement type, movement speed
Note that conveyors is implemented as moving platforms, see movement type 8 and 9.

3 - A disappearing platform

4 - A 1x1 quicker quicksand block

5 - A flipped Viridian, you will flip gravity when touched

6 - Weird red flashy thingy that disappears quickly

7 - Same as above, but doesn't flash and is coloured cyan

8 - A coin from the prototype
Metadata: Coin ID

9 - Trinket
Metadata: Trinket ID
Note that trinket ID start at 0, and everything above 19 will not be saved in the savefile once you restart the level

10 - Checkpoint
Metadata: Checkpoint state (0=flipped, 1=normal), Checkpoint ID (checks if the checkpoint is active or not)

11 - Horisontal gravity line
Metadata: Length in pixels

12 - Vertical gravity line
Metadata: Length in pixels

13 - Warp token
Metadata: Destination in tiles X axis, destination in tiles Y axis

14 - The round teleporter
Metadata: Checkpoint ID(?)

15 - Verdigris
Metadata: AI state

16 - Vitellary (flipped)
Metadata: AI state

17 - Victoria
Metadata: AI state

18 - Crewmate
Metadata: Colour (using raw color list, not the crewmate colors), mood

19 - Vermilion
Metadata: AI state

20 - Terminal
Metadata: Sprite, Script ID(?)

21 - Same as above but when touched the terminal doesn't light up
Metadata: Sprite, Script ID(?)

22 - Collected trinket
Metadata: Trinket ID

23 - Gravitron square
Metadata: Direction
If you input negative X coordinate (or too high), an arrow shows instead, just like in the real Gravitron

24 - Intermission 1 crewmate
Metadata: Raw color, mood
Doesn't seem to be affected by hazards, but should be. I'll have to look into this one

25 - Trophy
Metadata: Challenge identifier, sprite
If the challenge is completed, the base sprite ID (what you get if you use sprite=0) will change. Only use 0 or 1 if you want predictable results (0=normal, 1=flipped)

26: The warp token to the Secret Lab
Keep in mind that the warp is just implemented as a nice looking sprite. You'll have to script the functionality for yourself

55 - Rescueable crewmate
Metadata: Crewmate color. Color >6 will always show a *happy* Viridian

56 - Custom level enemy
Metadata: Movement type, movement speed
Keep in mind that if there's no enemies in the room, the enemy sprite data isn't updated correctly and it will just show what enemy you saw last time, or a square enemy

Undefined entities (27-50, 57+) give glitchy Viridians.

DubstVne


SteveGamer68

Quote from: DubstVne on December 13, 2017, 11:52:10 PM
What is checkpointid(?)?  ???

Quote from: uugr on August 24, 2017, 08:01:29 PM
Checkpoint ID (checks if the checkpoint is active or not)

Hope that solves it.

DubstVne

Quote from: SteveGamer68 on December 14, 2017, 02:46:48 PM
Quote from: DubstVne on December 13, 2017, 11:52:10 PM
What is checkpointid(?)?  ???

Quote from: uugr on August 24, 2017, 08:01:29 PM
Checkpoint ID (checks if the checkpoint is active or not)

Hope that solves it.

it does not solve it. is 0 on and 1 off?

SteveGamer68


echolite

What is the polar dimension?

Ally 🌠

the intermissions (and the final zone) in the game

Viridan

the definition isn't established all that well yet. iirc the official level says the polar dimension is just a nickname for a dimension meant to interfere with dimension VVVVVV's teleporters in a way that keeps them working, but if you look at all the fan-made levels with any sign of a plot, there are apparently multiple polar dimensions that tend to destabilize on a regular basis.

echolite

Is there a way to make :vitellary: not flipped?

Ally 🌠

dont spawn them with createentity, use createcrewman

echolite


Info Teddy

Quote from: StillSpelledViridan on March 03, 2018, 03:25:08 PMthe definition isn't established all that well yet. iirc the official level says the polar dimension is just a nickname for a dimension meant to interfere with dimension VVVVVV's teleporters in a way that keeps them working, but if you look at all the fan-made levels with any sign of a plot, there are apparently multiple polar dimensions that tend to destabilize on a regular basis.
literally it was something like "it's like some sort of polar dimension" and boom that was the name for outside dimension vvvvvv (which is what actually shows up when you save the game)
Quote from: DubstVne on December 16, 2017, 04:20:22 PMit does not solve it. is 0 on and 1 off?
no. the id is there so you can actually switch between checkpoints

if a checkpoint is spawned and it's not the current id, it remains untouched and touchable
if a checkpoint is spawned and it is the current id, it remains touched and untouchable, even if you haven't actually touched it
whenever you touch a checkpoint, the current checkpoint id is set to the id of that checkpoint. no other checkpoints already spawned in the room are affected (but they all get untouched)

CatMaster8232


Valso22

Quote from: CatMaster8232 on April 13, 2019, 06:22:28 PM
What is AI state?
is like the id of what does the ai do or the status of the ai

Ally 🌠

no it isnt

its one of the ai types that you use with changeai