Author Topic: Modding Features  (Read 2944 times)

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Modding Features
« on: November 12, 2013, 11:12:45 AM »
So let's start compiling a list then. Unlike before you won't be able to pass a GML string into the game, that simply isn't possible in Studio. But I can make it so you can pass in commands that match up to in-game functions and specific events (scripting), as well as defining your own console commands. A console command for example would be defining the points in the world that you want to fill as a cube, line, sphere, etc, or destroy them, or anything really that can be described in keywords & values. Scripting could be something along the lines of; "When the player jumps, automatically place block below him.", or "When a certain block is placed, and if it's adjacent to another kind of block, change the block to something else", or "When using certain item, execute command from selected block." or other weird stuff.

List of commands & in-game functions:
  • Add Block
  • Remove Block
  • Define Cuboid
  • Define Sphere
  • Define Line

List of available actions:
  • Game Started
  • Block Added
  • Block Destroyed

So these are the sort of things that can be included, so let me know what else you might need or want and I'll add it if it's possible! :)

Uxernome

  • Guest
Re: Modding Features
« Reply #1 on: November 12, 2013, 11:49:20 AM »
So let's start compiling a list then. Unlike before you won't be able to pass a GML string into the game, that simply isn't possible in Studio.

That means no more modding

Terrabloxian

  • Hero Member
  • *****
  • Posts: 633
  • Drop it like it's hot
    • View Profile
Re: Modding Features
« Reply #2 on: November 12, 2013, 11:53:14 AM »
Say nope to dope!

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: Modding Features
« Reply #3 on: November 12, 2013, 12:01:02 PM »
So let's start compiling a list then. Unlike before you won't be able to pass a GML string into the game, that simply isn't possible in Studio.

That means no more modding
No it doesn't! That's the point of this thread. It just means there needs to be scripting to do it, rather than coding. That's why I need a list of events you want to access and actions you want to take in them. You'll be able to access things at many different points, from map generation to player actions.

EDIT: Variables and conditions are still possible, variables would just be named strings and conditions would be a list of scripts/functions defined before the following scripts/functions to actually execute.

Name something you want to see a mod do and I'll explain how you'd do it through this system.
« Last Edit: November 12, 2013, 12:04:54 PM by JackOatley »

Terrabloxian

  • Hero Member
  • *****
  • Posts: 633
  • Drop it like it's hot
    • View Profile
Re: Modding Features
« Reply #4 on: November 12, 2013, 12:06:51 PM »
So more similar to modding API or like Minecraft's command blocks?
Say nope to dope!

trg601

  • Hero Member
  • *****
  • Posts: 841
  • Just a guy
    • View Profile
    • Mutant Brain Games
Re: Modding Features
« Reply #5 on: November 12, 2013, 02:22:51 PM »
Sounds nice Jack :)
Maybe you could have it so you write the files in whatever fashion,
And then something simple like replacing the text with code that will work?
(I don't know if this will work with studio...)
I've made some stuff for terrablox, but I'm too lazy to link to much of it.
Terrablox Solder
Join the Terrablox Chatroom!

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: Modding Features
« Reply #6 on: November 13, 2013, 01:43:26 PM »
So more similar to modding API or like Minecraft's command blocks?
More like MCEdit, in terms of the actions you can do. But executable in the actual game, so you could for example have a block that when placed, is actually an entire shape/structure.

Sounds nice Jack :)
Maybe you could have it so you write the files in whatever fashion,
And then something simple like replacing the text with code that will work?
(I don't know if this will work with studio...)
That's pretty much what it'll be doing. So, to make something happen in the game, you specify the event that it occurs in (like create, step, draw, but can be ANYTHING, like player jump, block destroy),  then you list actions that you want to happen, such as changing variables, placing whole regions of blocks, adding things to player inventory.

So that's what I want to build a list of, places where you want to specifically execute actions, and what those actions are.

Terrabloxian

  • Hero Member
  • *****
  • Posts: 633
  • Drop it like it's hot
    • View Profile
Re: Modding Features
« Reply #7 on: November 13, 2013, 10:19:06 PM »
Well, in the most current update of minecraft, there are commands that you can use to place blocks. There also is a plugin for Bukkit that is alot like this called WorldEdit.
Say nope to dope!

Braffolk

  • Sr. Member
  • ****
  • Posts: 264
  • I like beans
    • View Profile
Re: Modding Features
« Reply #8 on: November 17, 2013, 10:13:33 PM »
Well... i really love modding :,(
these are my current ideas:
command to check block in coords

custom NPC creation{
   there will be a folder called "NPC"-s and there will be text files in it
   from which it will get the name,texturepage and other info
   (hp,passive or agressive,attack style etc...)
}
summon command


EDIT:
actually... it SHOULD be possible to create the custom execute_string-s and such stuff with .dll-s...
« Last Edit: November 17, 2013, 10:19:06 PM by Braffolk »

Uxernome

  • Guest
Re: Modding Features
« Reply #9 on: August 24, 2015, 04:01:29 AM »
healthy bump

ideas:

-> changing player/block/mob location (teleport)
-> changing healthbar status (full, empty, half, etc)
-> changing walking and running speed

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: Modding Features
« Reply #10 on: September 19, 2016, 11:05:43 AM »
Bumping! Heads up, since this stuff is possible to implement now I'd like more random feedback and ideas. We have command parsing, I just need to add in all the commands and scripts. :)

R34LD34L

  • Sr. Member
  • ****
  • Posts: 340
  • "TERRABLOX!!!!!!!!"
    • View Profile
Re: Modding Features
« Reply #11 on: September 19, 2016, 09:34:50 PM »
Just some random ideas:

+ Teleport to spawn
+ Grab Region of voxel data copy and pasting structures and stuffs of the sort
+ Minecraft Voxel Sniper is all imma need
+ Flatten area lol if this is possible you will be the best
Schematic Mod Thingy!!!!

JackOatley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 732
  • Nobody
    • View Profile
Re: Modding Features
« Reply #12 on: September 19, 2016, 09:58:30 PM »
Just some random ideas:

+ Teleport to spawn
+ Grab Region of voxel data copy and pasting structures and stuffs of the sort
+ Minecraft Voxel Sniper is all imma need
+ Flatten area lol if this is possible you will be the best

"/tp 0 0" Should put you at spawn. But, on that note I might add saveable coordinates bookmarks. So then you could do "/tp spawn" for example.
I like the copy/paste idea, noting that down now!
What does voxel sniper do? I mean, TB already has "everything you can see" edit distance.
Flatten area command also noted. (Also have down a flat world option too, for pre-game)