Hello There, Guest! Login Register


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maxi Script
#1
Maxi Script V2.9
updated: 8/25/2017

Patch Notes:
*Special thanks to Phoenix for assisting me with getting strings with this latest patch.
*All Editors are no longer resizable.
*Conversation Editor now has buttons that clear specific or all text fields.
*Item Editor has a new layout, you can now add more values to your items.



Q:What is it?
A:A tool that helps you create conversations, and basics for objects. It only does specific tasks for lua files.

Below I have written up a simple guide with pictures on how to use the tool(s), and what it can be used for.
Please keep note that these tools are always a work in progress.

List of current tools:
*Conversation Editor
*Item Editor
*Screenplay Editor



https://drive.google.com/file/d/0B9sg52_...sp=sharing


Conversation Editor 'How to'
Key notes:
Conversations are broken down into 3 parts.
1. Mobile that uses the conversation.
2. Conversation dialog.
3. Conversation handler.

This tool only handles #2. You must create your own handler, and attach the conversation template to the mobile you desire. So lets get started.

Open the tool, click on Conversation Editor to open that specific editor. Next we will look at all the buttons, and see what they all do.

*Generate - this button will open a file browser to select where you'd like to save the file. It will automatically put the .lua extension for you. So simply put the name of the file, select the destination, and hit save.
*Final - this is the last line for the conversation template, I will explain what that is later. Just know that you have to add it.
*Add initial - this sets up the conversation, this is the first button you press.
*Add convo - this adds the current input into a conversation portion, you will end up using this plenty.
*Stop convo toggle - this dictates when the conversation gives options or not. You should have your options set to 0 when this is true.
*Options toggle - selecting from the list 0 to 3 will be for the players options when responding to what the mobile says to the player.
*ID text box - this is the ID that is going to be called, and the input will be displayed when that ID is called.
*The big text box is editable as you make the conversation, so if you make a mistake you can simply edit it in there if you'd like.
*NPC dialog - This is what the mobile says to the player.
*Player option # - this is what the player will see as an option.
*Player option # ID - this is the ID that WILL be called when the player selects this ID.
*Handler text box - this is the string that will be called by the handler to attach it to the conversation and add logic to those options (which remember, this tool doesn't create your handler) simply put your handler string in that box and leave it alone until you complete the conversation completely.
*Convo template text box - This is the name of the conversation template, this needs to be unique per total conversation (from initial to final) simply leave this alone until the conversation is completed.
*Initial screen - this is the name of the first conversation segment that will be called.


Now that you have a brief summary of what these boxes, and buttons do... Let's make a conversation!
Follow along with the screenshots, they also have notes on them.

Step 1:
http://imgur.com/vTmt6SM

Step 2:
http://imgur.com/WqkKmp7

Step 3:
http://imgur.com/6w4SGVH

Step 4:
http://imgur.com/fOO9g6S

Step 5:
http://imgur.com/Vwafu3P

Step 6:
http://imgur.com/zgUpwRU

Step 7:
http://imgur.com/Wr9qZp4

Step 8:
http://imgur.com/01I9L6h




Item Editor 'How To'
Things to note:
(These pictures are old, however may still be of some use when using the editor. A new updated guide will be coming soon)


Here are some screenshots of me making a test item.
Step 1:
http://imgur.com/NXeAiDu
Step 2:
http://imgur.com/cubQxtD
Step 3:
http://imgur.com/dGvGZUm

*Screenplay Editor
This tool is for spawning mobiles, and sceneobjects for you. All you need is the mobile and/or object, and its location on the zone you want it to be placed at. I tried to keep it as simple as possible and as neat as possible. Below is a short how to.


Okay so lets make a screenplay together. In this example I'll only be spawning 1 mobile, and 1 sceneObject also using the comments.

step 1:
Lets open the tool, this is what you should see.
http://imgur.com/EGiRNuf

step 2:
Lets fill in the info we need, refer to the picture for the information I placed.
After you select the zone (which is all the zones by default inside config.lua) pick a name for the screenplay and check the two check boxes.
http://imgur.com/ExbOsch

step 3:
Once you do that press the button 'add initial functions' it should look like this.
http://imgur.com/Gy6GCiD

step 4:
Now go to the mobile tab, and input the mobile information. Comments are nice to use, so I added a comment before I pressed add mobile. Your box should look like this.
http://imgur.com/pZUwWy1

step 5:
Now go to the sceneobject tab, and do the same thing we did in the mobile tab.Your box should look like this.
http://imgur.com/BUlmCTz

step 6:
Heading back to the variables tab, select the 'compile all functions' button. It should look like this.
http://imgur.com/7PdpUV4

step 7:
Now select save, and it'll automatically save the file as .lua

Misc:
*If you need to restart the entire screenplay (erases all the input values in all boxes) then select 'RESTART'.

*If you need to change the planet, or change which functions you want to use then select 'update above fields' It will not erase all your progress in any of the other tabs.
 
Reply
#2
with this tool only edit lua, not create all the necessary lua's to make something work?

Like if you create a pet it will create all the lua dependencies needed to make the pet work, like a crc table you can merge later, or all the lua's needed to make the pet work ingame etc... i really dont know how hard will be do that xD if this tool dont do that, atleast to make more interesting to the mod comunity it will nice if will do in the future.

If not its a great tool for poeple are startint to mod lua scripts. Thnx for the work Smile
 
Reply
#3
Awesome, I love the new Conversation editor! This will be extraordinarily helpful. I'd love to see a future task editor as well, so we can build quests and other custom interactions through conversations in your editor! This is definitely going to get a lot of use.

Thank you for your efforts!
 
Reply
#4
(2016-02-29, 08:21 PM)Andarai Wrote: with this tool only edit lua, not create all the necessary lua's to make something work?

Like if you create a pet it will create all the lua dependencies needed to make the pet work, like a crc table you can merge later, or all the lua's needed to make the pet work ingame etc... i really dont know how hard will be do that xD if this tool dont do that, atleast to make more interesting to the mod comunity it will nice if will do in the future.

If not its a great tool for poeple are startint to mod lua scripts. Thnx for the work Smile

Well right now the tool has two available editors the conversation editor, and mobile editor.
They don't edit preexisting lua files, you make new files. I am designing a loot editor.

I'm confused by what you mean for the pet?
You need to have the objects.lua done already, and serverobjects.lua. also if you're trying to import a mobile from cu or nge you'd need to add it in properly.
 
Reply
#5
Made the Item Editor, I still want to do more to it before I release it.
[Image: f10crZt.png]
 
Reply
#6
Download not working for me.
 
Reply
#7
What exactly isn't working? I just tried to download it, it took a little bit before it started to download... Google drives might be acting up ATM. Unless there's another issue?
 
Reply
#8
ok it worked, thanks!
 
Reply
#9
Nice, thanks for sharing.
 
Reply
#10
love the work on tools - keep it up! #n00BTerrainGuy
 
Reply
  



Forum Jump:


Browsing: 1 Guest(s)