Author Topic: [TOOL] Furniture XML Generator  (Read 7363 times)

0 Members and 1 Guest are viewing this topic.

June 07, 2016, 02:29:49 AM
Read 7363 times

Demannu

  • *
  • Information
  • Member
  • Posts: 34
    • View Profile
Introducing the Software Inc Furniture XML Generator!
Come one, come all! This is for those who are having issues generating XML files for your furniture or for those pumping out so much furniture you're tired of hand-writing these XML's!

Features:
  • AutoBounds = True by default, run EXPORT_FURNITURE_BOUNDS to bake values into XML
  • Quickly generate basic framework for any furniture
  • Automatically converts RGB to Unity color values, no more dividing by 255!
  • More features to come...

Hosted Script: XMLGenerator

For those who want to help with the project, take a fork of this Github Repo and submit pull requests. I'll be happy to merge and add new features into the core. The hosted script will be updated with every github commit.

June 07, 2016, 02:31:19 AM
Reply #1

plnoxxon

  • *
  • Information
  • Member
  • Posts: 27
    • View Profile
Must Have Tool :D Thx for that !

June 07, 2016, 02:44:21 AM
Reply #2

AlbinoStoic

  • *
  • Information
  • Member
  • Posts: 89
  • aka The AngryAlbino
    • View Profile
    • AngryAlbino's YouTube
Awesome tool, works great. :).

June 07, 2016, 06:55:35 AM
Reply #3

Squalalah

  • *
  • Information
  • Member
  • Posts: 96
    • View Profile
Hi, i wants to contribute on CSS, but i can't, because there's no .css to modify directly (except nouislider.css but, if there's "slider" into the name, i don't thing it's the right place to modify layout)

June 07, 2016, 11:42:48 AM
Reply #4

Demannu

  • *
  • Information
  • Member
  • Posts: 34
    • View Profile
Hi, i wants to contribute on CSS, but i can't, because there's no .css to modify directly (except nouislider.css but, if there's "slider" into the name, i don't thing it's the right place to modify layout)

We are using bootstrap so there is nothing to directly edit. We have an inline stylesheet right now for custom options.

June 07, 2016, 12:00:27 PM
Reply #5

Squalalah

  • *
  • Information
  • Member
  • Posts: 96
    • View Profile

June 07, 2016, 09:17:24 PM
Reply #6

Demannu

  • *
  • Information
  • Member
  • Posts: 34
    • View Profile
Updated the hosted script with sliders and min-max values for the furniture attributes

June 11, 2016, 12:56:44 PM
Reply #7

khornel

  • Dev
  • *****
  • Information
  • Member
  • Administrator
  • Posts: 369
    • View Profile
    • Software Inc
Looks great! I just dug out all furniture types currently used in-game and recognized by employees:
Elevator
Stairs
Table
Chair
Couch
Radiator
Ventilation
Computer
Cubicle
Lamp
FastFood
Fridge
Stove
Tray
Coffee
Toilet
Watercooler
Painting
TV
Bookshelf
Desk
Plant
Clock
Server
PCAddon

Here are all scripts currently used for different furniture: (Some furniture types require the scripts are attached, most are inherited using the "Base" attribute.)
Furniture
DoorCollider
DoorScript
TableScript
Upgradable
TurnOnOccupants
LampScript
StoveScript
TVScript
ReceptionDesk
ClockScript
Server

The newest patch also added the FunctionCategory and the Category tag can be a list of categories, separated in lines. The Categories used are now:
Construction
Office
Meeting
Common
Canteen
Reception
Breakroom
Outdoors
Utility
Server
Bathroom
Kitchen

And the FunctionCategories are:
Table
Sitting
Temperature
Computer
Productivity
Lighting
Needs
Decoration
Staff
Server

The modder is of course free to add new categories as they are loaded dynamically when a new game is started.

There are also the ForceColorSecondary, ForceColorTertiary variables, which makes so you can force colors for furniture, e.g. if you want the third color to always be dirt colored for plants.

I'll make it so you can use HEX color values for furniture in the next patch.
« Last Edit: June 11, 2016, 01:08:37 PM by khornel »

June 11, 2016, 09:14:55 PM
Reply #8

plnoxxon

  • *
  • Information
  • Member
  • Posts: 27
    • View Profile
I'll make it so you can use HEX color values for furniture in the next patch.
<3

February 14, 2017, 09:44:01 PM
Reply #9

Brandjuh

  • *
  • Information
  • Member
  • Posts: 5
    • View Profile
Site is not working for me, so I have uploaded to my own site.

http://roelsmitsfotografie.nl/softwareinc/tools/funxml/gen.php

November 26, 2017, 01:52:28 AM
Reply #10

killfrog47

  • *
  • Information
  • Newbie
  • Posts: 1
    • View Profile
Not sure if this tool is still in active development but after looking at your github I can add the two planned features. I would also like to do a full refactor and upgrade the thing to bootstrap 4. Id like to work with you to do some of this stuff but if I dont hear from you ill just continue with the fork I made and try a pull request haha.