Author Topic: Internal commands  (Read 258710 times)

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2173
    • View Profile
    • The Open Level Project
Re: Internal commands
« Reply #210 on: September 14, 2012, 01:45:07 PM »
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!
« Last Edit: September 14, 2012, 01:52:13 PM by Dav999 »

MoogiGMD

  • Professor
  • ****
  • Posts: 184
  • What's so personal about this?
    • View Profile
Re: Internal commands
« Reply #211 on: September 15, 2012, 01:53:09 AM »
but what about the tower?

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2173
    • View Profile
    • The Open Level Project
Re: Internal commands
« Reply #212 on: September 15, 2012, 02:26:53 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

  • Professor
  • ****
  • Posts: 184
  • What's so personal about this?
    • View Profile
Re: Internal commands
« Reply #213 on: September 15, 2012, 02: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 :)

FIQ

  • Captain
  • *****
  • Posts: 811
  • https://github.com/FredrIQ/
    • View Profile
    • FIQ
Re: Internal commands
« Reply #214 on: September 15, 2012, 07:42:04 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

  • Global Moderator
  • Captain
  • *****
  • Posts: 2173
    • View Profile
    • The Open Level Project
Re: Internal commands
« Reply #215 on: September 26, 2012, 04:16:56 AM »
Bump! Which command will we discuss next? createentity(x,x,x,x,x)?
« Last Edit: September 26, 2012, 04:21:51 AM by Dav999 »

Hilbert

  • Captain
  • *****
  • Posts: 574
  • Yup. This is my name. Not Black, Hilbert.
    • View Profile
Re: Internal commands
« Reply #216 on: September 26, 2012, 05:58:50 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

  • Global Moderator
  • Captain
  • *****
  • Posts: 2173
    • View Profile
    • The Open Level Project
Re: Internal commands
« Reply #217 on: September 26, 2012, 08:38:34 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

  • Professor
  • ****
  • Posts: 184
  • What's so personal about this?
    • View Profile
Re: Internal commands
« Reply #218 on: September 26, 2012, 10:01:29 AM »
there might be a command to make The Tower appear in levels

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

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2173
    • View Profile
    • The Open Level Project
Re: Internal commands
« Reply #219 on: September 26, 2012, 10:28:04 AM »
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

  • Professor
  • ****
  • Posts: 184
  • What's so personal about this?
    • View Profile
Re: Internal commands
« Reply #220 on: September 26, 2012, 10:51:32 AM »
hey

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

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2173
    • View Profile
    • The Open Level Project
Re: Internal commands
« Reply #221 on: September 26, 2012, 11:04:08 AM »
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

  • Captain
  • *****
  • Posts: 811
  • https://github.com/FredrIQ/
    • View Profile
    • FIQ
Re: Internal commands
« Reply #222 on: September 27, 2012, 10:34:40 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

  • Captain
  • *****
  • Posts: 1010
  • le lenny face
    • View Profile
Re: Internal commands
« Reply #223 on: September 27, 2012, 11:41:05 AM »
5 more replies until this becomes #1 topic!

 :viridian:

EDIT: 4 now because of this

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2173
    • View Profile
    • The Open Level Project
Re: Internal commands
« Reply #224 on: September 27, 2012, 11:46:15 AM »
And no 'post' 'post' 'post'-ing! >:D