Welcome, Guest. Please login or register.

Author Topic: Internal commands  (Read 33376 times)

StillSpelledViridan

  • Doctor
  • ***
  • Posts: 43
    • View Profile
Re: Internal commands
« Reply #80 on: March 19, 2016, 12:12:51 PM »
what are all of the possible colors for text boxes?

Dav999Topic starter

  • Administrator
  • Hyper Captain
  • *
  • Posts: 1599
    • View Profile
Re: Internal commands
« Reply #81 on: March 19, 2016, 12:18:33 PM »
cyan, blue, red, yellow, green, purple and gray.

That doesn't include special colors - most notably Valso's dark green - that you can get by spawning a crewmate before the speak_active command.

Ally 🌠

  • tOLP Contributor
  • Hyper Captain
  • *******
  • Posts: 1353
  • <3
    • View Profile
    • Ally 🌠
Re: Internal commands
« Reply #82 on: January 2, 2017, 04:58:37 PM »
Quote from: FIQ
Code: [Select]
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
should be changed to
Quote from: FIQ
Code: [Select]
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, or if you're in a room that has an enemy in the main game, which also allows more than 2x2 enemies.

Ally 🌠

  • tOLP Contributor
  • Hyper Captain
  • *******
  • Posts: 1353
  • <3
    • View Profile
    • Ally 🌠
Re: Internal commands
« Reply #83 on: January 5, 2017, 08:19:53 AM »
Double post???

I updated remade my list of enemy movement types.
Code: [Select]
0 - Bouncing up and down, starts down.
1 - Bouncing up and down, starts up.
2 - Bouncing left and right, starts left.
3 - Bouncing left and right, starts right.
4, 7, 11 - Moves right until collision.
5 - Same as above, only acts weird when it collides. GIF here: https://files.catbox.moe/c23ovl.gif
6 - Bouncing up and down, but only reaches a certain x position before going back down. Used in "Trench warfare".
8, 9, 14, 15 - Still (?)
10, 12 - Clones right/in the same spot, crashes VVVVVV if it gets too intense, and will corrupt your level if you save.
13 - Like 4, but moves down until collision.
16 - Flashes in and out of existence. (Appears and disappears)
17 - Jittery movement left
18 - Jittery movement right, little bit faster
19+ - Still (?)

With this, I also included a link to a level which showcases all above.
https://files.catbox.moe/tcjz4t.vvvvvv

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3141
    • View Profile
Is it still or not?
« Reply #84 on: January 5, 2017, 03:01:30 PM »
What’s with the question marks after “Still”?

Ally 🌠

  • tOLP Contributor
  • Hyper Captain
  • *******
  • Posts: 1353
  • <3
    • View Profile
    • Ally 🌠
Re: Internal commands
« Reply #85 on: January 6, 2017, 07:17:32 AM »
It's still in the room 1x1 and 1x5, but I'm not sure for other rooms, like the ones with the custom enemies in the main game.

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3141
    • View Profile
Great, now I have to guess which enemies are still in which rooms.
« Reply #86 on: January 6, 2017, 03:29:54 PM »
If it’s still in specific rooms, why didn’t you specify the rooms that they’re still in?

Ally 🌠

  • tOLP Contributor
  • Hyper Captain
  • *******
  • Posts: 1353
  • <3
    • View Profile
    • Ally 🌠
Re: Internal commands
« Reply #87 on: January 7, 2017, 04:03:34 PM »

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3141
    • View Profile
Put the rooms that you’re sure about, basically.
« Reply #88 on: January 7, 2017, 04:48:59 PM »
You could still say the rooms that they’re in. You don’t have to say which rooms they aren’t still in.

Ally 🌠

  • tOLP Contributor
  • Hyper Captain
  • *******
  • Posts: 1353
  • <3
    • View Profile
    • Ally 🌠
can you fucking read
« Reply #89 on: January 8, 2017, 10:05:15 AM »

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3141
    • View Profile
Why would not you do that?
« Reply #90 on: January 8, 2017, 11:33:15 AM »
Why don’t you test more for other rooms?

QwertymanO07✏️

  • Captain
  • *****
  • Posts: 237
  • Rad scientist extraordinaire.
    • View Profile
Re: Internal commands
« Reply #91 on: January 8, 2017, 12:40:29 PM »
Because that would be boring, presumably.  Though if you're so curious, why don't you do it?

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3141
    • View Profile
And then he’s going to give me a more clever question.
« Reply #92 on: January 8, 2017, 01:22:51 PM »
You answered your own question.

Faces3210

  • tOLP2 Tester
  • Professor
  • ****
  • Posts: 109
  • I change this sometimes...
    • View Profile
    • My Level
Re: Internal commands
« Reply #93 on: March 13, 2017, 12:56:07 PM »
Sorry for the bump, but how do I make crewmates walk? (created with createcrewman, of course)

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3141
    • View Profile
It’s easy.
« Reply #94 on: March 13, 2017, 01:19:42 PM »
Sorry for the bump, but how do I make crewmates walk? (created with createcrewman, of course)
No need to apologize for bumps, unless they don’t contribute anything to the topic. Acknowledging that you bumped a topic isn’t going to make a difference.

Anyway, here’s the command (size emphasis mine):
changeai(crewmate,followplayer/followpurple/followyellow/followred/followgreen/followblue/faceplayer/followposition,x/panic/faceleft/faceright) - can change the face direction of a crewmate or the walking behaviour
Basically, that means that to move Vitellary (assuming he is onscreen) to any spot 96 pixels from the left, you do: changeai(yellow,followposition,96)

Faces3210

  • tOLP2 Tester
  • Professor
  • ****
  • Posts: 109
  • I change this sometimes...
    • View Profile
    • My Level
Re: Internal commands
« Reply #95 on: March 13, 2017, 01:31:52 PM »
Thanks! Also, I have a script that doesn't seem to work, it just freezes Viridian with a constant horizontal velocity.


Code: [Select]
say(-1)
text(1,0,0,4)
say(2)
fadeout()
text(1,0,0,4)
say(5)
text(gray,0,0,1)
A year after the events of VVVVVV...
position(center)
speak_active
text(1,0,0,4)
say(3)
text(gray,0,0,2)
The crew is living in
the secret lab.
say(4)
position(center)
speak_active
fadein()
text(1,0,0,4)
say(4)
endtext
endcutscene()
untilbars()
loadscript(stop)

Dav999Topic starter

  • Administrator
  • Hyper Captain
  • *
  • Posts: 1599
    • View Profile
Re: Internal commands
« Reply #96 on: March 13, 2017, 01:46:34 PM »
This bit is incorrect:
Code: [Select]
...
say(3)
text(gray,0,0,2)
The crew is living in
the secret lab.
say(4)
position(center)
speak_active
fadein()
text(1,0,0,4)
...

To fix that, you can remove the say(4) and replace the say(3) by say(7). You don't have to split it all into say blocks of at most 5 lines unless you really want to preserve compatibility with VVVVVV 2.0. (Besides, if you use Ved, you can just turn on internal scripting mode to make this a lot less complicated.)

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3141
    • View Profile
A sequel to VVVVVV is always original!
« Reply #97 on: March 13, 2017, 02:08:49 PM »
Thanks! Also, I have a script that doesn't seem to work, it just freezes Viridian with a constant horizontal velocity.
Code: [Select]
say(-1)
text(1,0,0,4)
say(2)
fadeout()
text(1,0,0,4)
say(5)
text(gray,0,0,1)
A year after the events of VVVVVV...
position(center)
speak_active
text(1,0,0,4)
say(3)
text(gray,0,0,2)
The crew is living in
the secret lab.
say(4)
position(center)
speak_active
fadein()
text(1,0,0,4)
say(4)
endtext
endcutscene()
untilbars()
loadscript(stop)
Ooh, what level are you making?

Lollers will devour you

  • Banned
  • tOLP2 Tester
  • Captain
  • *****
  • Posts: 391
  • [Abandoned account]
    • View Profile
    • WEASWASAWASEWASWAEWEASAWWEWASWEASDW3ASWASQASASASWASEWASDWSWASDFYRTBR5T5 BW4YHSB6W4BWSHGGJGHNBNBNVJYGHBJBGYUBY UFBHJFNBJKLFGHJDF,HBKHGFJKHJFK,SHGJKDF,GHG,SHGS,H,SHS,HH,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,GGGG,,,,,,,,,,,,,,,,,
Re: Internal commands
« Reply #98 on: March 13, 2017, 05:05:33 PM »
Even when internal scripting mode is turned on, Ved says that the changeplayercolor(rainbow) is incorrect.

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3141
    • View Profile
You failed twice at the same time.
« Reply #99 on: March 13, 2017, 05:52:46 PM »
changeplayercolor(rainbow) is incorrect
It is.
  • There is no such command named changeplayercolor. Did you mean changeplayercolour?
  • There is no such color named rainbow. Did you mean teleporter?
« Last Edit: March 13, 2017, 05:55:35 PM by Info Teddy »