Techmino icon indicating copy to clipboard operation
Techmino copied to clipboard

Script selection screen for game mods

Open Not-A-Normal-Robot opened this issue 3 years ago • 8 comments

What feature do you want to suggest to the game?

So I've been making some "portable game mods" by putting all the code in a small code snippet you can run on your console, and it can have cool effects (e.g. make all players target you in Tech 49 and 99, give you 4 (or 4000) badges if you want, etc.)

It gets messy trying to manage it sometimes.

My idea was a script selection screen if you wanna enable some scripts. This wouldn't be secure, so we'll need a confirmation screen whenever the player is about to add a new script.

To enter the scene:

  • Enter the console and type in app scripts

image

This could be useful for curious mobile Techmino players, where pasting a script doesn't really work in console (it'll only paste the first few chars before cutting out)

Ideas:

  • Maybe we could add a "hidden" way to enter this scene from the Mod menu?
  • Maybe make it so we can just drag and drop (or copy and paste) a .lua file here?
  • If the script contains errors, maybe we could notify the user that an error happened with MES.new(), and post the error message in the logs?
  • The text editor doesn't have to be fancy, just a place for pasting. The mod devs are expected to use an external text editor such as Notepad++ or VSCode to develop their mod, then copy it into the game.

Not-A-Normal-Robot avatar Jan 27 '23 13:01 Not-A-Normal-Robot

labeled as dispute even though i feel like i've put enough warning signs. idk what do y'all think lol, do we need more warning signs?

Not-A-Normal-Robot avatar Jan 27 '23 14:01 Not-A-Normal-Robot

Maybe it shouldn't be in the app

shoucandanghehe avatar Jan 27 '23 14:01 shoucandanghehe

Actually I attempted to add this (code editor) to the framework, now it's a seperated app called ZED

MrZ626 avatar Jan 27 '23 15:01 MrZ626

I didn't want it to be too complex, just make it a big text box with monospace font

Not-A-Normal-Robot avatar Jan 27 '23 15:01 Not-A-Normal-Robot

I am always negative about the idea of an in-game text editor. Maybe this is something different though.

ImpleLee avatar Jan 28 '23 02:01 ImpleLee

yeah this isn't supposed to be centered around the text editor you develop the mod using notepad++ or something, then paste it into the game, see if it works, debug if needed, and then share

i might make a list of portable game mods on the discord :eyes:

Not-A-Normal-Robot avatar Jan 28 '23 06:01 Not-A-Normal-Robot

It doesn't seem like there's anyone who's very against this so I'm removing the dispute label

Not-A-Normal-Robot avatar Jul 25 '23 05:07 Not-A-Normal-Robot

Also maybe we should add a "hidden" way of entering the scene from the Mod menu.

Not-A-Normal-Robot avatar Jul 25 '23 05:07 Not-A-Normal-Robot