In my opinion, XBox mods should be written in lua. The reasons would be:
·It isn't a C-like language, so it is much easier to use.
·It is extremely easy to learn, so it would bring the community together.¹
·It is written in C so it would be very easy to embed into the game.
·It has all the characteristics that you would need for a good mod API.²
·C (the only other language I can see being used for mods, besides some markup language) is ultimately too hard to learn for anyone but people who already know how to use C, so it would lead to mangled messes of code for past "modders" trying to port their mod. Note that, it is possible many people would learn it, but the average users of Minecraft are too young to learn C. Just my opinion.
Give me your ideas and suggestions, please don't recommend another language. (I'm looking at you, Python users)
Citations:
¹ · Look at the online community Roblox (roblox.com). It is so easy, that children have learned how to use it. (However badly)
² · Here's an example of a possible application:
function mod.loaded()
g=newItem()
p=newCraftingRecipe()
p.Recipe={
{241,421,124}, --An array of three arrays of example Block IDs (To make a nice square)
{124,441,122},
{111,221,442}
}
p.Output=g
g.Decal=xBox.loadImage('D:\res\tool.png') --Assuming the XBox has Windows like paths, I wouldn't know.
g.BaseClass=Enum.BaseClass.Sword --Load all the bases for swords (animation, what to do upon being clicked, right clicked, etc.)
g.Name="Dragon Slayer"
g.Damage=19 --Half hearts
g.ID=789
g:AddEnchantment(16,5) -- Add sharpness 5 to it
end
That would make a new sword that does 9½ hearts of damage.
I had to make my own syntax highlighting, Java syntax highlighting made most of it a note.
People need to get it through their heads. Microsoft doesn't do mods on the Xbox 360. They have already bent over backwards in ways they never have before for Minecraft XBLA. The chances of them continuing that to get mods are astronomically small.
The Mod API has nothing to do with the Xbox Version. There obviously won't be Mod API for the Xbox version because there are no mods (legit) on the consoles. Mod API is for the PC version.
IMHO I don't want mods in XBLA Minecraft, buttt, if there were I WOULD HATE lua. First of all, it is in no way written in lua and it would be going out of the way to write it to accept lua. Sure lua is nice for beginners as a script language but I would prefer python. Which is also, not in any way close to what it is written in, which is C#(Or possibly C++). Scripting languages have there uses for some things but interpreted languages like java and python provide a nice balance between compiled and scripting languages. That's part of why the PC version of Minecraft is written in Java.
but you don't start keeping a pig in swimming pool, because it doesn't belong there ^^
Well crap. I'm doing something wrong then...
OT: Yeah it would be nice, but if it was like that, only a handful of total buyers would be A) Smart enough to know how to do it
And B. Would make use of it. So yeah...
My Channel: http://www.youtube.com/user/BluBadger2
Mostly have funny Xbox videos, but plan on doing more in the future. Check It out and let me know what you think on my channel!
To post a comment, please login or register a new account.
·It isn't a C-like language, so it is much easier to use.
·It is extremely easy to learn, so it would bring the community together.¹
·It is written in C so it would be very easy to embed into the game.
·It has all the characteristics that you would need for a good mod API.²
·C (the only other language I can see being used for mods, besides some markup language) is ultimately too hard to learn for anyone but people who already know how to use C, so it would lead to mangled messes of code for past "modders" trying to port their mod. Note that, it is possible many people would learn it, but the average users of Minecraft are too young to learn C. Just my opinion.
Give me your ideas and suggestions, please don't recommend another language. (I'm looking at you, Python users)
Citations:
¹ · Look at the online community Roblox (roblox.com). It is so easy, that children have learned how to use it. (However badly)
² · Here's an example of a possible application:
function mod.loaded()
g=newItem()
p=newCraftingRecipe()
p.Recipe={
{241,421,124}, --An array of three arrays of example Block IDs (To make a nice square)
{124,441,122},
{111,221,442}
}
p.Output=g
g.Decal=xBox.loadImage('D:\res\tool.png') --Assuming the XBox has Windows like paths, I wouldn't know.
g.BaseClass=Enum.BaseClass.Sword --Load all the bases for swords (animation, what to do upon being clicked, right clicked, etc.)
g.Name="Dragon Slayer"
g.Damage=19 --Half hearts
g.ID=789
g:AddEnchantment(16,5) -- Add sharpness 5 to it
end
That would make a new sword that does 9½ hearts of damage.
I had to make my own syntax highlighting, Java syntax highlighting made most of it a note.
That doesn't mean we all stop wanting a Mod API.
PRAISE NOTCH!!! >.>
Oh good grief.....
A few hundred diehards here may share your opinion. A few million regular users don't. Guess who wins?
Please don't screw up xbox MC with your cheats.
You want 'em- stick to your PC.
PRAISE NOTCH!!!! >.>
Well crap. I'm doing something wrong then...
OT: Yeah it would be nice, but if it was like that, only a handful of total buyers would be A) Smart enough to know how to do it
And B. Would make use of it. So yeah...
Mostly have funny Xbox videos, but plan on doing more in the future. Check It out and let me know what you think on my channel!