Author Topic: Internal commands  (Read 257207 times)

shiny k

  • Captain
  • *****
  • Posts: 1554
  • Welcome to the MOTHER3 world
    • View Profile
    • my msuic
Re: Internal commands
« Reply #705 on: July 08, 2018, 01:53:33 PM »
keep in mind valso22 isnt active anymore and the most recent internal scripting list is included in ved

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #706 on: July 08, 2018, 02:40:02 PM »
keep in mind valso22 isnt active anymore and the most recent internal scripting list is included in ved
Thanks for letting me know   :viridian:

And I downloaded Ved too. Its pretty cool.
Dav999 has good talent if he made an improved level editor.

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #707 on: July 08, 2018, 02:50:11 PM »
Also, I don't get The Crewmate/Captain/Professor thing. I mean, I know it's based off of the characters, but do you need a certain amount of posts?  :-\

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #708 on: July 08, 2018, 03:05:20 PM »
flipme - makes :viridian: flip/go to the ceiling (?) Doesn't have anything to do with flipping Viridian  It has something to do with text boxes in flip mode

I wonder why it's called flipme...

shiny k

  • Captain
  • *****
  • Posts: 1554
  • Welcome to the MOTHER3 world
    • View Profile
    • my msuic
Re: Internal commands
« Reply #709 on: July 08, 2018, 03:49:09 PM »
do you need a certain amount of posts?
yeah but i forget what the amounts are

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #710 on: July 08, 2018, 05:37:21 PM »
Things in Black are safe, the worst thing possible is the game crashing
Things in Orange May Corrupt Save Data, even though there are none,  so ignore that.
Things inRed WILL Corrupt your save data
Things in Green are useless, an example being text on screen.


Here is the *complete* gamestate list if anyone wonders (Edited some of yours to detail exactly what happens) :p

Quote
0 - Break out from most gamestates
1 - Set gamestate to 0 (i.e. same as above in practice)
2 - "To do: write quick intro to story!"
4 - "Press arrow keys or WASD to move"
5 - Runs the script "returntohub" (i.e. fadeout, teleport to right before The Tower, fadein, play Passion for Exploring)
7 - Removes textboxes
8 - "Press enter to view map and quicksave"
9 - Super Gravitron
10 - Gravitron
11 - "When you're NOT standing on stop and wait for you" (Tries to access flipmode check to write "the ceiling" or "the floor", and check crewmate, but as this fails, the above prints instead)
12 - "You can't continue to the next room until he is safely accross."
13 - Removes textboxes quickly
14 - "When you're standing on the floor," (the same applies here as for 11)
15 - Makes Viridian happy
16 - Makes Viridian sad
17 - "If you prefer, you can press UP or DOWN instead of ACTION to flip."
11-17: Green
20 - If flag 1 is 0, set flag 1 to 1 and remove textboxes
21 - If flag 2 is 0, set flag 2 to 1 and remove textboxes
22 - "Press ACTION to flip"
30 - "I wonder why the ship teleported me here alone?" "I hope everyone else got out ok…"
31 - "Violet, is that you?" cutscene (as long as flag 6 is 0)
32 - If flag 7 is 0: "A teleporter!" "I can get back to the ship with this!"
33 - If flag 9 is 0: Victoria-cutscene
34 - If flag 10 is 0: Vitellary-cutscene
35 - If flag 11 is 0: Verdigris-cutscene
36 - If flag 8 is 0: Vermilion-cutscene
37 - Vitellary after gravitron
38 - Vermilion after gravitron
39 - Verdigris after gravitron
40 - Victoria after gravitron
41 - If flag 60 is 0: run the beginning of intermission 1 cutscene
42 - If flag 62 is 0: run the 3rd intermission 1 cutscene
43 - If flag 63 is 0: run the 4th intermission 1 cutscene
44 - If flag 64 is 0: run the 5th intermission 1 cutscene
45 - If flag 65 is 0: run the 6th intermission 1 cutscene
46 - If flag 66 is 0: run the 7th intermission 1 cutscene
22-46: Green
47 - If flag 69 is 0: "Ohh! I wonder what that is?" trinket cutscene
48 - If flag 70 is 0: "This seems like a good place to store anything I find out there…" (Victoria not found yet)
49 - If flag 71 is 0: Play Predestined Fate
50 - "Help! Can anyone hear this message?"
51 - "Verdigris? Are you out there? Are you ok?"
52 - "Please help us! We've crashed and need assistance!"
53 - "Hello? Anyone out there?"
54 - "This is Doctor Violet from the D.S.S. Souleye! Please respond!"
55 - "Please… Anyone…"
56 - "Please be alright, everyone…"
With gamestate 50-56, you can choose where to start, because everything will appear after each other (did anyone know that if you wait after "Help! Can anyone hear this message?", there will be more text?)
80 - If screen is black (and only if), continue to state 81 (My guess is that this is called when ESC is pressed, before the pause meny opens)
81 - Go back to the main menu
82 - Results of time trial (bugged)
83 - If screen is back, continue to state 84
84 - Results of time trial (I think 82 works better than 84)
85 - The Time Trial version of gamestate 200 (Flash, play Positive Force, turn on finalstretch mode)
States 90-95 are time trial related, but doesn't work properly in custom levels. The only real effects that happens in custom levels is a warp, and music change
90 - Space Station 1
91 - The Laboratory
92 - Warp Zone
93 - The Tower
94 - Space Station 2
95 - Final Level
96 - If the screen is black, continue to state 97
97 - Exit from Super Gravitron (teleport and play Pipe Dream)
100 - If flag 4 is 0: continue to state 101
101 - If you are flipped, flip back to floor, continue to state 102
The following states (102-112) tries to go to the current state + 1, like in 50-56 (but doesn't loop around), but may glitch as half of the states (103, 105, 107, 109, 111) doesn't exist.
102 - Verdigris: "Captain! I've been so worried!"
104 - "I'm glad you're ok!"
106 - "I've been trying to find a way out, but I keep going around in circles…"
108 - "Don't worry! I have a teleporter key!"
110 - "Follow me!"
112 - Removes textboxes
115 - Essentially nothing, continue to state 116
116 - Red dialog at the bottom of the screen saying "Sorry Eurogamers! Teleporting around the map doesn't work in this version!", continue to state 117, which doesn't exist, so things may fail
118 - Removes textboxes
State 120-128 works a bit like 102-112, i.e. in a series, but with less broken things
120 - If flag 5 is 0: continue to state 121
121 - If you're on the floor, flip.
122 - Vitellary: "Captain! You're ok!"
124 - Vitellary: "I've found a teleporter, but I can't get it to go anywhere…"
126 - "I can help with that!"
128 - "I have the teleporter codex for our ship!"
130 - "Yey! Let's go home!" (never heard of this cutscene before? Probably things Terry played with before coming up with the current story/etc /fiq)
132 - Removes textboxes
200 - Final mode
1000 - Turns on cutscenebars, freezes the game, continue to state 1001
1001 - You got a shiny trinket! dialog (but you didn't actually get any, this is just called each time you get one), continue to state 1003
1003 - Revert game to normal
1010 - You found a crewmate! in the same manner as for trinkets
2000 - Save the game
2500-2509 - Perform a teleport to some weird non-existent location, supposedly to The Laboratory I guess, continue to state 2510
2510 - Viridian: "Hello?", continue to state 2512
2512 - Viridian: "Is anybody there?", continue to state 2514
2514 - Removes textboxes, play Potential For Anything
3000-3099 states:
3000-3005 - Level Complete! You've rescued the crewmate applied to companion(), defaults to Verdigris. 6=Verdigris, 7=Vitellary, 8=Victoria, 9=vermilliridian (yes, really), 11=Violet (Gamestates: 3006-3011=Verdigris, 3020-3026=Vitellary, 3040-3046=Victoria, 3060-3066=Vermillion, 3080-3086=Viridian, 3050-3
3070-3072 - Perform postrescue things, usually return to ship
Red because it telesaves after doing so
4010 - Flash + Warp
Red because it telesaves after doing so.
4070 - The Final Level, but the game will crash when you reach timeslip! (Because of how the game gets entity information, which is broken in custom levels)
4080 - Captain teleported back to the ship: "Hello!" [C[C[C[C[Captain!] cutscene + credits
!!!The above will mess up your save data so don't do it unless you backed up!!!
4090 - Cutscene after you complete space station 1

AllyTally ♡

  • Captain
  • *****
  • Posts: 1390
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Internal commands
« Reply #711 on: July 09, 2018, 09:52:23 AM »
edit your topic instead of posting multiple times in a row
most of your posts are off topic and this list is outdated anyway

shiny k

  • Captain
  • *****
  • Posts: 1554
  • Welcome to the MOTHER3 world
    • View Profile
    • my msuic
Re: Internal commands
« Reply #712 on: July 09, 2018, 10:16:13 AM »
edit your topic instead of posting multiple times in a row
most of your posts are off topic and this list is outdated anyway
eh i'm not too bothered about the multiposting thing anymore because while it is slightly annoying it doesnt really hurt anyone
also i'd consider the "off topic" posts really just part of the natural flow of discussion
furthermore, they're new and we dont even have a rules topic iirc

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #713 on: July 09, 2018, 11:06:54 AM »
shiny k, congrats on your 1500th post, btw

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #714 on: July 09, 2018, 11:07:52 AM »
I only started yesterday.

shiny k

  • Captain
  • *****
  • Posts: 1554
  • Welcome to the MOTHER3 world
    • View Profile
    • my msuic
Re: Internal commands
« Reply #715 on: July 09, 2018, 11:50:20 AM »
shiny k, congrats on your 1500th post, btw
oh snap i was gonna do something funny but i didnt even notice haha
oh well i'll save it for 2000 or somth :p

Dav999

  • Global Moderator
  • Captain
  • *****
  • Posts: 2173
    • View Profile
    • The Open Level Project
Re: Internal commands
« Reply #716 on: July 09, 2018, 12:40:50 PM »
Adding on, Dav999, What do you mean by"Unused Command" Do you mean It's Unused in the main game?
Yes

EDIT: I don't know how this site completely works, so I don't know how to make quotes from other pages of this forum.
You can just quote in another topic and copy-paste the quote.

And I downloaded Ved too. Its pretty cool.
Dav999 has good talent if he made an improved level editor.
Thanks! :)

Now, a bit of leeway in topics is fine, but messages about post counts are a bit too random for this topic. Also please try to make one post at a time if possible, that is not a strictly enforced rule or anything but this isn't a live chat either ;)

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #717 on: July 09, 2018, 03:12:49 PM »
Now, a bit of leeway in topics is fine, but messages about post counts are a bit too random for this topic. Also please try to make one post at a time if possible, that is not a strictly enforced rule or anything but this isn't a live chat either ;)
Ok, I'll keep that in mind  :)

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #718 on: July 09, 2018, 03:24:14 PM »
And I downloaded Ved too. Its pretty cool.
Dav999 has good talent if he made an improved level editor.
Thanks! :)
No problem  ;)

Xandog01

  • Doctor
  • ***
  • Posts: 84
  • This is my Personal text.
    • View Profile
Re: Internal commands
« Reply #719 on: July 10, 2018, 03:30:00 PM »
What would happen if you did finalmode(x,y) to get to the Room "Please Enjoy These Repeats" and put delay(60) after then did createentity 1? would you get grey yes men enemies?