• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Configuration Adding New Outfits / Looktypes [Detailed + Free Samples]

Shadowsong i have a question, i'm trying to add an outfit to my custom server, but i have no idea what to do with the colours, those colours that ake you possible to change the color when you using the outfit, how do i assemble an outfit in the dat editor? plz help :( (btw the images in your post are not visible, for me at least)
 
I don't have time to write you an extensive tutorial on the topic, it can't quite easily be explained if you've never done it before + you need to have correct tools, at least I know how to work with only BlackDemon's tools, haven't ever tried out any others.
 
yeah man i ise BlackDemon's tools, i have added creatures before, but never outfits, and i don't understand how to compile the normal sprites with the color sprites :/ if you don't have time to explain me that, could you give me a tutorial if you know of any? i've been trying to find one about that matter but i can't find any :(
 
I haven't seen a tutorial on that, but here's how I learned:
Go to blackdemon's Dat Editor and find the citizen outfit

Press Blend Layers and see what happens (which sprites are used and where) when the button is turned on and off. To enable layer blending for a sprite, you just have to set the attribute to 1 or 2 (im not sure, check that also down in attributes). Basically compare that citizen outfit sprite to some other monster that doesnt have changeable colors, and you will see the difference and how it's done.
 
already tried that and didn't understand nothing, but i will take another look, thanks for your time and kindness ;)
 
i did this, everything, and i got this :/ plz help
25ful50.png

monito looktype is 547
 
Thanks for this tutorial @Shadowsong , you know if it is possible to make an outfit that after you can select it on the typical "Set outfit" option, and choose the combination of colors that you want, so for example an orc outfit that as you change to blue color you can choose the color what you prefer in the game, like the typical outfits Cityzen, Wizzard ...

To do it, is necessary make all the combinations of the colors right? But after if i want to add it into a new outfit changeable in the game what i need to do?

Thanks , Roger
 
Thanks for this tutorial @Shadowsong , you know if it is possible to make an outfit that after you can select it on the typical "Set outfit" option, and choose the combination of colors that you want, so for example an orc outfit that as you change to blue color you can choose the color what you prefer in the game, like the typical outfits Cityzen, Wizzard ...

To do it, is necessary make all the combinations of the colors right? But after if i want to add it into a new outfit changeable in the game what i need to do?

Thanks , Roger

Hi Roger,
What you're asking for is a bit of a tedious but simple procedure that boils down to the same techniques used in this tutorial, except you're working in a new layer.
If you open ObjectBuilder and go to edit some outfit that support color changing (for example, Citizen outfit), you will see it has 2 sliders: Animations and Layers.

The first layer is always the actual outfit itself, however, the parts of the outfit that you want to be colorable must be black-white. Any pixel that is not in the black-white scheme will not be colorable.

You can create a new layer on an existing outfit without layers by editing this:
wNgCSj8.png

(Where it says Layers: 1, put 2)

Then on the second layer, you have to import the exact same sprites of your outfit, but in a different format.
They basically look like this (the yellow-red-green-blue schemed ones):

o7wQKWu.png


So, the 1st layer is your black-white outfit, the 2nd layer is the color scheme.
These colors represent parts of the outfit that color will be applied to ingame when the following attributes are modified:

Yellow part - "Head" color
Red part - "Primary" (body) color
Green part - "Secondary" (body/legs) color
Blue part - "Feet" color

Keep in mind that these 4 colors must be exactly like the ones seen on the picture, you can't use some random RGB values, they must be exactly these in order for this to work.

Explaining all of this in a short post is difficult though, maybe I will make a more detailed version of this post later in the future, but whenever you want to make something, it's always good to take a look at existing objects that behave like the thing you want to make, and try to mimic how they're done on your own object. That's basically how I learned all of this, by taking existing stuff and modifying it and learning slowly.

I hope this post gives you some insight into what's going on, but I can't go into more detail atm.
Cheers
 
Thank you a lot @Shadowsong !!! It is just what i need to know!!

I will try now to do that! One more question, it is necessary to print all 4 parts?¿ i mean if i do the 2ond layer of an orc, but i only want to allow change the body and the legs (red and green) i can simply print the body red and the legs green and that will work too?? (because Orcs don't have head/feet)

Thanks one more time!
 
Thank you a lot @Shadowsong !!! It is just what i need to know!!

I will try now to do that! One more question, it is necessary to print all 4 parts?¿ i mean if i do the 2ond layer of an orc, but i only want to allow change the body and the legs (red and green) i can simply print the body red and the legs green and that will work too?? (because Orcs don't have head/feet)

Thanks one more time!
Yes that's true, you can just skip adding the yellow and blue color in that case, just have red and green in the overlay and it will work.
Don't forget about the black-white thing on the main outfit that you want to be colorable.

Let me know if you run into any problems.
You're welcome
 
Hey @Shadowsong , i did it, the result:

Htmbxyw.png

Htmbxyw.png
[/IMG]
Htmbxyw.png


Htmbxyw.png

I spend a lot of time for did it good (and probably there are some pixel wrong), i did it with photoshop xD.
Only the body and trausers in grayscale, and after for the 2ond layer, this parts in their respective color.

Okey so now i have the outfit in the id 256, but when i put in outfits.xml:

<outfit id="8">
<list gender="0" lookType="256" name="Orc"/>
<list gender="1" lookType="256" name="Orc"/>
</outfit>

This has no effect on the game, i mean when i change my outfit with some player the orc doesn't appear, only appear the typical 7 outfits (yes i am working with 7.6 xD).

So maybe it is necessary to change the source of the server to allow the people chosee my new outfit?

Thanks, and sorry if my english is pretty bad!
 
Hey @Shadowsong , i did it, the result:

Htmbxyw.png

Htmbxyw.png
[/IMG]
Htmbxyw.png


Htmbxyw.png

I spend a lot of time for did it good (and probably there are some pixel wrong), i did it with photoshop xD.
Only the body and trausers in grayscale, and after for the 2ond layer, this parts in their respective color.

Okey so now i have the outfit in the id 256, but when i put in outfits.xml:

<outfit id="8">
<list gender="0" lookType="256" name="Orc"/>
<list gender="1" lookType="256" name="Orc"/>
</outfit>

This has no effect on the game, i mean when i change my outfit with some player the orc doesn't appear, only appear the typical 7 outfits (yes i am working with 7.6 xD).

So maybe it is necessary to change the source of the server to allow the people chosee my new outfit?

Thanks, and sorry if my english is pretty bad!

I don't know which engine you're working with, but in my engine (TFS 0.3.6) it wouldn't show that outfit either because of the way you set it up in the xml.

Maybe try:

Code:
   <outfit id="8" default="1">
      <list gender="0" lookType="256" name="Orc"/>
      <list gender="1" lookType="256" name="Orc"/>
   </outfit>
 
I don't know which engine you're working with, but in my engine (TFS 0.3.6) it wouldn't show that outfit either because of the way you set it up in the xml.

Maybe try:

Code:
   <outfit id="8" default="1">
      <list gender="0" lookType="256" name="Orc"/>
      <list gender="1" lookType="256" name="Orc"/>
   </outfit>

Also if you want to test it on a GM character just to see if the colors work, you can use the /newtype (or /looktype, depending on your server) command to transform yourself into this outfit ID.
 
My engine is OTX 2.90 - SE one modification of TFS 0.3.7

This doesn't work too and when i did ./newtype 256 the GM looks like "utana vid" , and when i put set outfit with this looktype there are nothing, like this:

b81me5C.png
[/IMG]
b81me5C.png
[/IMG]
b81me5C.png
 
@Shadowsong i repare some wrong pixels and now the sprite is perfect:

SegfekJ.png


But still no working =( , could you prove this in your engine if you have time?

Sorry for being so anyoing, thanks!
 
Back
Top