Author Topic: VVVVVV Scripting Help  (Read 6646 times)

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2176
    • View Profile
    • The Open Level Project
Re: VVVVVV Scripting Help
« Reply #15 on: March 12, 2017, 01:14:11 pm »
Yeah, the say(2) is supposed to be say(11). As for Verdigris' location, it just requires changing the coordinates a bit.

You can also use Ved's internal scripting mode to not have to manually insert lines with say(-1)/say(x) and text(1,0,0,4). All you need to do is create a load script, because it uses a different internal scripting method:

Code: (createverdigris_load) [Select]
iftrinkets(0,createverdigris)
Code: (createverdigris - with internal scripting mode enabled) [Select]
createcrewman(112,0,green,1,faceplayer)
squeak(green)
text(green,0,0,1)
Captain! Help!
position(green,above)
speak_active
squeak(player)
text(player,0,0,1)
What's wrong?
position(player,above)
speak_active

(Besides, you can also use color names instead of numbers in text commands)

WoodStuff

  • Doctor
  • ***
  • Posts: 53
    • View Profile
Re: VVVVVV Scripting Help
« Reply #16 on: March 12, 2017, 01:55:28 pm »
Yeah, the say(2) is supposed to be say(11). As for Verdigris' location, it just requires changing the coordinates a bit.

You can also use Ved's internal scripting mode to not have to manually insert lines with say(-1)/say(x) and text(1,0,0,4). All you need to do is create a load script, because it uses a different internal scripting method:

Code: (createverdigris_load) [Select]
iftrinkets(0,createverdigris)
Code: (createverdigris - with internal scripting mode enabled) [Select]
createcrewman(112,0,green,1,faceplayer)
squeak(green)
text(green,0,0,1)
Captain! Help!
position(green,above)
speak_active
squeak(player)
text(player,0,0,1)
What's wrong?
position(player,above)
speak_active

(Besides, you can also use color names instead of numbers in text commands)

what ved internal scripting mode?

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2176
    • View Profile
    • The Open Level Project
Re: VVVVVV Scripting Help
« Reply #17 on: March 12, 2017, 02:37:33 pm »
This one:


WoodStuff

  • Doctor
  • ***
  • Posts: 53
    • View Profile
Re: VVVVVV Scripting Help
« Reply #18 on: March 12, 2017, 04:52:30 pm »
int.sc mode in ved is just like simplified scripting with the internal scripting commands?

shiny

  • Captain
  • *****
  • Posts: 1557
  • Welcome to the MOTHER3 world
    • View Profile
    • my msuic
pretty simple
« Reply #19 on: March 12, 2017, 05:11:57 pm »
int.sc mode in ved is just like simplified scripting with the internal scripting commands?
yeah just use internal scripts the way you'd use simplified scripts

WoodStuff

  • Doctor
  • ***
  • Posts: 53
    • View Profile
Re: VVVVVV Scripting Help
« Reply #20 on: March 12, 2017, 05:53:00 pm »
ok thanks will try it out

EDIT: i need a script to go to room 8,18, i already figured out how to do it, it teleports me to the correct room BUT i dont know what is doing this but i get teleported also in a block and get out of bounds, position 2,3
« Last Edit: March 12, 2017, 08:13:43 pm by WoodStuff »

QwertymanO07

  • Captain
  • *****
  • Posts: 389
  • Rad scientist exraordinare
    • View Profile
Re: VVVVVV Scripting Help
« Reply #21 on: March 12, 2017, 08:45:50 pm »
gotoroom() only changes your room, so if your position correlates to a solid tile in the room you're going to, you'll just end up inside of it.  You need gotoposition(x,y,0) just after gotoroom() to teleport within a room.  As for how you're ending up in (2,3), check if there's another teleporter in (8,18).

WoodStuff

  • Doctor
  • ***
  • Posts: 53
    • View Profile
Re: VVVVVV Scripting Help
« Reply #22 on: March 14, 2017, 03:59:51 pm »
what teleporter? and i am using gotoroom() for a dead end where if you exit it, you will be taken to a different room than you entered the dead end with

QwertymanO07

  • Captain
  • *****
  • Posts: 389
  • Rad scientist exraordinare
    • View Profile
Re: VVVVVV Scripting Help
« Reply #23 on: March 14, 2017, 09:32:20 pm »
By "teleporter", I just mean anything that can teleport you, like a warp token or another gotoroom() script.

WoodStuff

  • Doctor
  • ***
  • Posts: 53
    • View Profile
Re: VVVVVV Scripting Help
« Reply #24 on: March 15, 2017, 12:56:22 pm »
no, in 8,18 there is no script, game saved teleporter or warp token

fraZ0R

  • Captain
  • *****
  • Posts: 573
  • Why are you here?
    • View Profile
Re: VVVVVV Scripting Help
« Reply #25 on: March 15, 2017, 02:49:04 pm »
Is there any in room 7,17? 0 based indexing

WoodStuff

  • Doctor
  • ***
  • Posts: 53
    • View Profile
Re: VVVVVV Scripting Help
« Reply #26 on: March 15, 2017, 04:23:11 pm »
not either, it is just like the blue room in space station with 3 passages, the lower one leading to the trinket, 7,17 is a flipped version of it, so nope

fraZ0R

  • Captain
  • *****
  • Posts: 573
  • Why are you here?
    • View Profile
Re: VVVVVV Scripting Help
« Reply #27 on: March 15, 2017, 05:58:30 pm »
9,19?

lol...ipops2

  • Guest
Re: VVVVVV Scripting Help
« Reply #28 on: March 15, 2017, 06:03:36 pm »

fraZ0R

  • Captain
  • *****
  • Posts: 573
  • Why are you here?
    • View Profile
Re: VVVVVV Scripting Help
« Reply #29 on: March 15, 2017, 07:00:27 pm »
37,69?