Author Topic: Createentity List  (Read 3664 times)

uugr

  • Professor
  • ****
  • Posts: 130
  • Captain of the Gravy Train
    • View Profile
Createentity List
« on: August 24, 2017, 01:01:29 PM »
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

  • Doctor
  • ***
  • Posts: 47
    • View Profile
Re: Createentity List
« Reply #1 on: December 13, 2017, 03:52:10 PM »
What is checkpointid(?)?  ???

SteveGamer68

  • Professor
  • ****
  • Posts: 182
  • Locked and Loaded.
    • View Profile
    • The open level project 2 forum
Re: Createentity List
« Reply #2 on: December 14, 2017, 06:46:48 AM »
What is checkpointid(?)?  ???

Checkpoint ID (checks if the checkpoint is active or not)

Hope that solves it.

DubstVne

  • Doctor
  • ***
  • Posts: 47
    • View Profile
Re: Createentity List
« Reply #3 on: December 16, 2017, 08:20:22 AM »
What is checkpointid(?)?  ???

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

  • Professor
  • ****
  • Posts: 182
  • Locked and Loaded.
    • View Profile
    • The open level project 2 forum
Re: Createentity List
« Reply #4 on: December 16, 2017, 07:54:28 PM »
Yep.

echolite

  • Guest
Re: Polar Dimension
« Reply #5 on: March 01, 2018, 06:31:26 PM »
What is the polar dimension?

AllyTally ♡

  • Captain
  • *****
  • Posts: 1387
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Createentity List
« Reply #6 on: March 02, 2018, 01:12:39 PM »
the intermissions (and the final zone) in the game

Viridan

  • Guest
Re: Createentity List
« Reply #7 on: March 03, 2018, 07:25:08 AM »
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

  • Guest
Re: Createentity List
« Reply #8 on: March 28, 2018, 11:52:20 AM »
Is there a way to make :vitellary: not flipped?

AllyTally ♡

  • Captain
  • *****
  • Posts: 1387
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Createentity List
« Reply #9 on: March 29, 2018, 03:50:24 AM »
dont spawn them with createentity, use createcrewman

echolite

  • Guest
Re: Createentity List
« Reply #10 on: March 29, 2018, 10:08:46 AM »
Yeah you're right

Info Teddy

  • Captain
  • *****
  • Posts: 254
    • View Profile
Re: Createentity List
« Reply #11 on: May 10, 2018, 11:37:56 PM »
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.
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)
it 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

  • Crewmate
  • *
  • Posts: 1
    • View Profile
Re: Createentity List
« Reply #12 on: April 13, 2019, 11:22:28 AM »
What is AI state?

Valso22

  • Doctor
  • ***
  • Posts: 46
  • Also known as "XxTheProTx9999"
    • View Profile
Re: Createentity List
« Reply #13 on: April 18, 2019, 03:35:57 PM »
What is AI state?
is like the id of what does the ai do or the status of the ai

AllyTally ♡

  • Captain
  • *****
  • Posts: 1387
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Createentity List
« Reply #14 on: April 22, 2019, 05:46:52 PM »
no it isnt

its one of the ai types that you use with changeai