Internal commands

Started by Hilbert, July 28, 2012, 01:23:29 PM

Previous topic - Next topic

Dav999

#210
So the answer is: No.

Nobody noticed I changed a smiley in one of my posts... ;) <- this may just be the first time I use this smiley? I also haven't used :-* yet.

EDIT: I used ;) in my third post.

Back to on-topicness!

MoogiGMD


Dav999

Quote from: Hacker3443 on September 15, 2012, 08:53:09 AM
but what about the tower?

FIQ said he really tried, but he couldn't get the tower working in custom levels. So no, that isn't possible.

MoogiGMD

well it can work with the finalmode command but if we work into more detail (or terry starts working on 40,40)
we could look at the tower :)

FIQ

Quote from: Hacker3443 on September 15, 2012, 09:33:45 AM
well it can work with the finalmode command but if we work into more detail (or terry starts working on 40,40)
we could look at the tower :)
Panic Room and The Final Challenge works fine in the level editor, if that's what you're asking.

finalmode() is useless in the level editor as there's no "de-finalmode" command.

I'm still hoping for VVVVVV to be open sourced a day. :3

Dav999

#215
Bump! Which command will we discuss next? createentity(x,x,x,x,x)?

Hilbert

Quote from: Dav999 on September 26, 2012, 11:16:56 AM
Bump! Which command will we discuss next? createentity(x,x,x,x,x)?
discuss it NOW! I NEED TO KNOW HOW TO USE IT >:D

Dav999

Quote from: RoskillaHULK!! on September 26, 2012, 12:58:50 PM
Quote from: Dav999 on September 26, 2012, 11:16:56 AM
Bump! Which command will we discuss next? createentity(x,x,x,x,x)?
discuss it NOW! I NEED TO KNOW HOW TO USE IT >:D

You can create things! It works like this:

createentity(x,y,z,a,b)

x,y=coordinates, obviously
z=the number of the entity:

1=enemy
2=platform
3=disappearing platform
4=1x1 fast quicksand
5= :viridian: (acts as gravity line and disappears)
6=nothing?
7=nothing?
8=coin
9=collectable :shiny:
10=??? Looks like a CD, size of a :shiny:, not collectable
11=horizontal gravity line
12=vertical gravity line
13=warp token
14=big teleporter (WARNING: DON'T LET :viridian: TOUCH IT!)
15= :verdigris:, non rescuable
16= :vitellary:, non rescuable
17= :victoria:, non rescuable
18= , (!) non rescuable
19= :vermillion:, non rescuable
20=??? sort of disc, if you touch it, it is activated or something???
21=??? same as above, but you can't activate it
or
21=terminal???
22=should be :shiny:, but only shows up if you collect one in that room without leaving that room.
23=enemy
24= , follows player
25=a can be:
   0=top cup holder
   1=bottom cup holder
   2=cup
   3=flipped cup
   4=smile cup
   5=flipped smile cup
   6=cry cup
   7=flipped cry cup
   8=trinket cup
   9=flipped trinket cup
   10=nothing
   11=nothing
   12=square
   13=disappearing platform (1)
   14=disappearing platform (2)
   15=disappearing platform (3)
   16=another square
   17=another square
   18=another square (last time it was a V???)
   19=square
   20=square

26=gigantic warp token
27=WTH? :o It's :viridian: at the top of the screen, and if you walk left, it moves to the left, more to the left means it moves faster
28=same as above
29=same as above
30=same as above
31=same as above
32=same as above
33=same as above
34=same as above
35=same as above
36=same as above
37=same as above
40=same as above
45=same as above
50=same as above
51=nothing
52=nothing
53=nothing
54=nothing
55=rescuable crewmate, b can be:
   0= :viridian:
   1= :violet:
   2= :vitellary:
   3= :vermillion:
   4= :verdigris:
   5= :victoria:
   6= :viridian:
   7= :viridian:
   8= :viridian:
   9= :viridian: ...
56=enemy
57=same as 27, but disappears when you warp (or not???)
58=same as above
59=same as above

I haven't tested further than this, but there might be more.

As you can see, I'm not sure about some of the things, because the exact same command gave different results in different levels! Sooo... :vitellary:

a,b=metadata, some of the entities need this to change things, like 25 and 55. Otherwise, they can be anything, but I'm not sure. (Just use 0,0 or 18,0)

MoogiGMD

there might be a command to make The Tower appear in levels

i said The Tower in caps cause its a name :P

Dav999

Quote from: Hacker3443 on September 26, 2012, 05:01:29 PM
there might be a command to make The Tower appear in levels

i said The Tower in caps cause its a name :P

Sadly, there isn't one. :(

MoogiGMD

hey

happy(c/n)
C is colour
n is name
Sad(C/n)
you know that this is usefull :)

Dav999

Quote from: Hacker3443 on September 26, 2012, 05:51:32 PM
hey

happy(c/n)
C is colour
n is name
Sad(C/n)
you know that this is usefull :)

Those aren't internal commands, just commands from 2.1. The internal command for this is:

changemood(color,0/1)

Color can be: cyan, blue, red, yellow, green, and purple (not pink, and no names)
0 for happy, 1 for sad.

FIQ

Quote from: Dav999 on September 26, 2012, 03:38:34 PM
Quote from: RoskillaHULK!! on September 26, 2012, 12:58:50 PM
Quote from: Dav999 on September 26, 2012, 11:16:56 AM
Bump! Which command will we discuss next? createentity(x,x,x,x,x)?
discuss it NOW! I NEED TO KNOW HOW TO USE IT >:D

You can create things! It works like this:

createentity(x,y,z,a,b)

x,y=coordinates, obviously
z=the number of the entity:

1=enemy
2=platform
3=disappearing platform
4=1x1 fast quicksand
5= :viridian: (acts as gravity line and disappears)
6=nothing?
7=nothing?
8=coin
9=collectable :shiny:
10=??? Looks like a CD, size of a :shiny:, not collectable
11=horizontal gravity line
12=vertical gravity line
13=warp token
14=big teleporter (WARNING: DON'T LET :viridian: TOUCH IT!)
15= :verdigris:, non rescuable
16= :vitellary:, non rescuable
17= :victoria:, non rescuable
18= , (!) non rescuable
19= :vermillion:, non rescuable
20=??? sort of disc, if you touch it, it is activated or something???
21=??? same as above, but you can't activate it
or
21=terminal???
22=should be :shiny:, but only shows up if you collect one in that room without leaving that room.
23=enemy
24= , follows player
25=a can be:
   0=top cup holder
   1=bottom cup holder
   2=cup
   3=flipped cup
   4=smile cup
   5=flipped smile cup
   6=cry cup
   7=flipped cry cup
   8=trinket cup
   9=flipped trinket cup
   10=nothing
   11=nothing
   12=square
   13=disappearing platform (1)
   14=disappearing platform (2)
   15=disappearing platform (3)
   16=another square
   17=another square
   18=another square (last time it was a V???)
   19=square
   20=square

26=gigantic warp token
27=WTH? :o It's :viridian: at the top of the screen, and if you walk left, it moves to the left, more to the left means it moves faster
28=same as above
29=same as above
30=same as above
31=same as above
32=same as above
33=same as above
34=same as above
35=same as above
36=same as above
37=same as above
40=same as above
45=same as above
50=same as above
51=nothing
52=nothing
53=nothing
54=nothing
55=rescuable crewmate, b can be:
   0= :viridian:
   1= :violet:
   2= :vitellary:
   3= :vermillion:
   4= :verdigris:
   5= :victoria:
   6= :viridian:
   7= :viridian:
   8= :viridian:
   9= :viridian: ...
56=enemy
57=same as 27, but disappears when you warp (or not???)
58=same as above
59=same as above

I haven't tested further than this, but there might be more.

As you can see, I'm not sure about some of the things, because the exact same command gave different results in different levels! Sooo... :vitellary:

a,b=metadata, some of the entities need this to change things, like 25 and 55. Otherwise, they can be anything, but I'm not sure. (Just use 0,0 or 18,0)
0 =  :viridian: (The player, will interact with the environment in many ways that the player do).

ToasterApocalypse

5 more replies until this becomes #1 topic!

:viridian:

EDIT: 4 now because of this

Dav999

And no 'post' 'post' 'post'-ing! >:D