LUA Editor for easily adding armor, weapons, etc.

Phoenix

Moderator
Staff member
Moderator
Joined
Sep 25, 2010
Messages
235
So I finally started working on my first tool. Will be a while until it is done obviously. I'm in the learning process, but in the past two days I have made awesome progress thanks to Sytner and a few other buddies for teaching me. Any tips, hints, advice, comments, or critic is accepted and wanted!

[img=900x600]http://i.imgur.com/WeXP4CK.png[/img]
 

Valkyra

Member
Joined
Aug 31, 2010
Messages
211
Nice, does it deal with the objects.lua and serverobjects.lua for each directory yet?
 

Phoenix

Moderator
Staff member
Moderator
Joined
Sep 25, 2010
Messages
235
Not yet. Sadly I haven't had time to work on it. But as I learn I have plenty plans for it.
 

Arioch

Member
Joined
Apr 22, 2014
Messages
123
This looks really great considering I already did all of the armor for my dev env and am now working on weapons :p. BUT, I still want it, because it really does look great!
 

Skyyyr

Member
Joined
Feb 22, 2016
Messages
39
Curious how far you are on it now, if you even worked on it anymore. I am also working on a scripting tool.
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Doubt Phoe has, but SIE 4.0 will include a couple Lua Editors with full GUI where you don't have to enter any code.

They're limited to objects and their fields for the most part though (Think: All Lua Object Templates, Screenplays (Most of them, again, no special scripting), Loot Items and groups, Conversation Templates), not full on scripting. Might have a teaser out this week if I can find the time.

Are you working on full on scripting?
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Those are both draft schematics, which I definitely cover, still unsure about the final GUI though.

I'll also cover these, ie "Loot Items": https://github.com/ModTheGalaxy/mtgserver/blob/e58089da99e3c5f43f9c6dfe7184c114b1b91a30/MMOCoreORB/bin/scripts/loot/items/loot_schematic/closed_basket_schematic.lua

Showed this before, but atm it's currently this list, which is covered: https://i.imgur.com/qCyQ1vf.png

It's missing a handful afaik (Most are empty/use stuff I've already done), but I'll add em this week.
 

Arioch

Member
Joined
Apr 22, 2014
Messages
123
Timbab said:
Those are both draft schematics, which I definitely cover, still unsure about the final GUI though.

I'll also cover these, ie "Loot Items": https://github.com/ModTheGalaxy/mtgserver/blob/e58089da99e3c5f43f9c6dfe7184c114b1b91a30/MMOCoreORB/bin/scripts/loot/items/loot_schematic/closed_basket_schematic.lua

Showed this before, but atm it's currently this list, which is covered: https://i.imgur.com/qCyQ1vf.png

It's missing a handful afaik (Most are empty/use stuff I've already done), but I'll add em this week.
Looks promising! I have hundreds of schematics to do that Ive been putting off, so thank you! I cant wait to give it a try
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Well I hope it'll make it easier, actually using it and getting feedback will tell. :p

Been mostly making sure the IO and my parsing is right (Should have really made a lexer), so I haven't experimented with UX yet, hopefully later this week.
 

Skyyyr

Member
Joined
Feb 22, 2016
Messages
39
I figured people were working on these types of tools, right now I'm still working on completing the mobile editor. Eventually I'd like to have it work for everything except screenplays. I'm learning java as I do this so it's at least a fun project if it is useless lol.
 

Archlyte

New Member
Joined
Jan 17, 2016
Messages
14
So this could best be used to introduce new items that have an existing object? For instance you could do a DL-44 Heavy Blaster Pistol and use existing graphic but have AP=1 and Higher Damage Values?
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Yes, you can already edit that/stats server side through editing the lua templates. A GUI editor might or might not make it easier for some people, as it's less like coding, you simply need to select what you want, save, done, or make modifications to an existing one, with all the enums, etc being there in advance in the form of a drop down.


See: https://github.com/TheAnswer/Core3/tree/unstable/MMOCoreORB/bin/scripts/object
 

Archlyte

New Member
Joined
Jan 17, 2016
Messages
14
That is very cool. So to be clear you can edit AND introduce another item. So in my example you still have the DL-44 and DL-44 Metal but also add the DL-44 Heavy Blaster Pistol?

Timbab you are awesome
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Archlyte said:
That is very cool. So to be clear you can edit AND introduce another item. So in my example you still have the DL-44 and DL-44 Metal but also add the DL-44 Heavy Blaster Pistol?
Yes, but you can do that currently, you just need to know how to edit or create the current .lua templates (Done via Notepad or a dedicated Lua Editor). So to make it clear, mine won't enable something that wasn't possible before (Strictly speaking for my Lua Editor), it just might make it easier for some to quickly create or edit items.

So in your example, yes, that will be fairly quick to create, but right now you could copy an existing template and edit it with a text editor and it'll do the same thing.

So to be redundant:

https://github.com/TheAnswer/Core3/blob/unstable/MMOCoreORB/bin/scripts/object/weapon/ranged/pistol/pistol_dl44_metal.lua

Clone that, modify, rename, etc and you'll have whatever you want. Of course there is probably a bit more to it than that (I never do server stuff), but yeah.

Anything visual is mostly done client side (IFF Object), anything stats related, etc is done server side (Lua Object which links to an IFF Object).

Archlyte said:
Timbab you are awesome
<3
 
Top Bottom