dFurnitureEditor

Share scripts you wrote for Denizen-Bukkit here!
User avatar
xenmai
User
User
Posts: 10

dFurnitureEditor

Postby xenmai » August 25th, 2016, 6:18 am

What it does:
It lets you create and edit props directly ingame through inventory GUIs. Simply create a new object and add parts to it. Currently available parts are: normal (holds an item, the commonly used part), sitting (let's you sit on it when you right click it) and fire (plays fire particles, handy for firecamps). It also lets you place and remove those props in the world. Could be called dFurnitureManager!
Here is a screenshot:
Image
Sample stool and log are included :D
Links:
Script Repo For "stable" (hopefully) releases
Git Repo For even less stable releases, and issue/suggestion posting!
Note:
This is my first public script, so it has several flaws. First one of them is it lacks sanity checks so trolls don't break everything. I'll try to add it soon, as I'm constantly improving the script. I'm also aware of the lack of documentation, so feel free to personally ask me anything you might need in order to use dFurnitureEditor. I'm a Git noob too, so forgive me if I don't manage it too well, I'm starting! Hope to see you around, and happy scripting! ^^

Anthony
Regular
Regular
Posts: 35

Re: dFurnitureEditor

Postby Anthony » September 8th, 2016, 6:39 am

Great concept and a wonderful start to what promises to be an epic dScript!
We are the music makers, and we are the dreamers of dreams...

BlackCoyote
Regular
Regular
Posts: 78

Re: dFurnitureEditor

Postby BlackCoyote » September 14th, 2016, 2:27 pm

Looks pretty cool! gotta keep it up and add more objects!

User avatar
xenmai
User
User
Posts: 10

Re: dFurnitureEditor

Postby xenmai » September 18th, 2016, 8:54 am

Good news everyone! After receiving feedback about my code I've been working hard to fix many issues and improve data structuring.

    - Now data is mostly stored in yaml files, avoiding unnecessary flags.
    - Placed props now have unique IDs too, so they are not location dependant anymore.
    - A new placed prop will be given the lowest unused ID, so the ID won't skyrocket stupidly.
    - Added new commands such as move, rotate and changeid, as well as improved others (edit mainly).
    - Added a whole bunch of sanity checks for user input as well as command arguments. Still lack some here and there, but it is harder to break now.
    - Now placed props get updated automatically when their model is edited. Having to remove and place it again was tedious.
    - Now the script doesn't force you to get the sample models on first start. If you want them, just follow the instructions on the repo description or github readme.
    - Added chair and table sample models. Here is a pic:
Image

That more or less wraps it up. As you can see it has been a pretty big change so I'd appreciate any further feedback.

Last but not least, a big thanks to people giving feedback and helping when I encounter an issue. Specially BlackCoyote and |Anthony|! Cheers ^^

User avatar
Mwthorn
User
User
Posts: 38
Location: Roskilde, Sjælland, Denmark
Contact:

Re: dFurnitureEditor

Postby Mwthorn » September 22nd, 2016, 2:49 am

Can the props be adjusted in yaw and pitch? Say I want to make a turret point towards a player.

User avatar
xenmai
User
User
Posts: 10

Re: dFurnitureEditor

Postby xenmai » October 4th, 2016, 2:29 pm

Yaw can be adjusted easily to the whole set of armor stands making a prop with the dfe rotate command. About the pitch, I'd have to adjust the armor stand head angles of each part individually, not taking into account their own angles. So I'd say that's kind of hard to do, sorry =/ If you come up with an easy way out, let me know.


Return to “Scripts”

Who is online

Users browsing this forum: No registered users and 0 guests