Author Topic: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings  (Read 43918 times)

Chillius

  • Captain
  • *****
  • Posts: 450
  • I'm back.
    • View Profile
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #30 on: April 15, 2013, 10:42:35 AM »
Eagerly awaiting scripting tutorial... My entire level depends on scripts and I've no idea how to use them :|

Brief tutorial.

say= terminal
reply= Viridian

say(1)
Hello.

reply(1)
This is an example.

That is simple "say and reply" commands.

delay(X)
Replace X with a number, preferably above 10. Paused for a second or so.

music(X)
Changes the music. Replace X with a number between 1-11 (0 for silence.)

sad and happy commands change Viridian's face.

Happy(X) Replace the (X) with a colour like Pink or You can type Violet or whatever. then go to your crewmate and it will be happy
same thing with sad(X)

Chyulix

  • Crewmate
  • **
  • Posts: 30
  • swag noodlez
    • View Profile
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #31 on: June 29, 2013, 12:47:57 PM »
Wow.  :o I thought VVVVVV's level editor had a glitch. I learned something new. Instead if doing: say(1) test. I'm supposed to do:
 say(1)
Test.

weee50

  • Doctor
  • ***
  • Posts: 83
  • Creator of VVVVVV: The New Adventure
    • View Profile
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #32 on: June 30, 2013, 01:39:05 PM »
Nice and detailed! I like this tutorial :) Can't wait for part three. I wanted to wait till scripting was thoroughly covered to start messing with it. I'm having fun with this level editor so far :viridian:
If you see something in underline, it means that it only works with 2.1.

X is a number, c is a color (giving arguments: cyan (:viridian:), purple and pink (:violet:), blue (:victoria:), red (:vermillion:), yellow (:vitellary:) and green (:verdigris:) (There is none for gray) and s is a script name.
say(x) - Create a text box with x lines. Text below the command will be the text.
say(x,c) - Create a text box over crewmate c with x lines, and color c. Text below the command will be the text.
say - Create a text box with 1 line. Text below the command will be the text.
reply(x) - Create a text box over :viridian: with x lines. This acts in the same way as say(x), only with the player's text box.
reply - Create a text box over :viridian: with x lines. This acts in the same way as say(x), only with the player's text box.

In 2.0, with say(x), say(x,c) and reply(x), you can have up to 5 lines. In 2.1 you can have 11.

music(x) - Play song x. The numbers are the same as in the main menu, and 0 for silence.
flash - Make the screen flash
happy - Makes :viridian: happy
sad - Makes :viridian: sad
happy(c) - Makes crewmate c happy
sad(c) - Makes crewmate c sad
destroy(warptokens) - Destroy all warp tokens on the screen.
destroy(gravitylines) - Destroy all gravity lines on the screen. (It won't always work)
flag(x,on) Turns flag x on. There are flags 0-66 and 68-99.
flag(x,off) Turns flag x off.
ifflag(x,s) If flag x is on, go to script s.
iftrinkets(x,s) If you have at least x trinkets, go to script s.
map(on) - Turns the map on
map(off) - Turns the map off
squeak(c) - Makes a crewmate squeak
squeak(on) - Turns crewmate squeaking on
squeak(off) - Turns crewmate squeaking off

That's all I know for now! Hope that helped! :)

P.S. There is no flag 67.
« Last Edit: July 04, 2013, 06:34:07 AM by weee50 »

crazya

  • Captain
  • *****
  • Posts: 855
  • Monolithic since 2012
    • View Profile
    • Alek Fleischer
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #33 on: July 01, 2013, 06:16:06 PM »
P.S. There is no flag 67.

Technically there is, but using it messes stuff up.

TheJonyMyster

  • Doctor
  • ***
  • Posts: 44
  • Braid + VVVVVV = *fwoosh*
    • View Profile
    • My tumblr
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #34 on: July 01, 2013, 10:05:59 PM »
5 - Checkpoints: Checkpoints have two orientations - on the floor, or on the celling. Click on them when they're placed to switch between them. When testing a map, you can press ENTER to spawn at the closest checkpoint.

False. You spawn at the earliest placed one.

PK Lovin Ω

  • Doctor
  • ***
  • Posts: 58
  • [banned]
    • View Profile
    • infoteddy’s social outlet
-
« Reply #35 on: March 06, 2014, 02:15:56 AM »
5 - Checkpoints: Checkpoints have two orientations - on the floor, or on the celling. Click on them when they're placed to switch between them. When testing a map, you can press ENTER to spawn at the closest checkpoint.
False. You spawn at the earliest placed one.
/'m not even sure what the game wou\d def/ne as "c\osest". The checkpo/nt c\osest to your cursor?

christian2004

  • Crewmate
  • **
  • Posts: 20
  • Famous youtuber :D
    • View Profile
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #36 on: May 26, 2014, 03:45:33 AM »

False. You spawn at the earliest placed one.
[/quote]

You spawn at the checkpoint in the room  :-X

shiny k

  • Captain
  • *****
  • Posts: 1419
  • Boxes taste like mush
    • View Profile
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #37 on: July 30, 2014, 02:50:47 PM »
False. You spawn at the earliest placed one.

You spawn at the checkpoint in the room  :-X

IF  there is, perchance, TWO checkpoints, then
Quote from: IF there is, perchance, TWO checkpoints, then
You spawn at the earliest placed one.
(It's true)
« Last Edit: July 30, 2014, 02:54:03 PM by ShinyWolf07 »

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1179
  • Hiii!~ <3
    • View Profile
    • Invision
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #38 on: September 25, 2015, 02:51:19 PM »

False. You spawn at the earliest placed one.

You spawn at the checkpoint in the room  :-X
[/quote]
Quote fail

Mega Mayo

  • Crewmate
  • *
  • Posts: 1
    • View Profile
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #39 on: May 23, 2016, 01:44:09 PM »
Would there be any way in the future to change terminals into speaking crewmates?

crazya

  • Captain
  • *****
  • Posts: 855
  • Monolithic since 2012
    • View Profile
    • Alek Fleischer
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #40 on: May 23, 2016, 01:55:34 PM »
Would there be any way in the future to change terminals into speaking crewmates?
There's a scripting exploit to do that.

Lollipop

  • Captain
  • *****
  • Posts: 390
  • alive again?
    • View Profile
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #41 on: May 23, 2016, 01:56:17 PM »
Would there be any way in the future to change terminals into speaking crewmates?



you already can

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1179
  • Hiii!~ <3
    • View Profile
    • Invision
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #42 on: May 23, 2016, 04:07:32 PM »
Would there be any way in the future to change terminals into speaking crewmates?
There's a scripting exploit to do that.
What do you mean

QwertymanO07

  • Captain
  • *****
  • Posts: 400
  • Rad scientist exraordinare
    • View Profile
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #43 on: May 23, 2016, 05:33:43 PM »
I'm guessing they mean like "Press ENTER to talk to Vitellary", because anything else would be stupid.

crazya

  • Captain
  • *****
  • Posts: 855
  • Monolithic since 2012
    • View Profile
    • Alek Fleischer
Re: VVVVVV Level Editor Tutorial - Part 2: Entities and Room Settings
« Reply #44 on: May 23, 2016, 05:34:55 PM »
I'm guessing they mean like "Press ENTER to talk to Vitellary", because anything else would be stupid.
Jesus christ they're a new member you can't expect them to know about internal scripting right off the bat