Outerra forum
Anteworld - Outerra Game => Modding: Importer, Tools & Utilities => Topic started by: CaptJack92a on February 07, 2014, 03:05:42 pm
-
I'm trying to make an open use misc object package for anyone to use, but I can't get materials and textures to export properly from blender. I can set the color in materials, but can't export the image I am using for the texture, or at least Outerra doesn't want to take it, I don't know what's happening. Is there or can someone make a detailed tutorial/step by step on how to properly export materials AND textures and how to import them to Outerra, then I would also like to know how to export the package to otx.
I am using a .jpg image if that makes a difference.
-
Hi i will try help but i`m pretty new but i also use blender :)
usually in blender to save image on blendfile its file > externaldata > unpackfiles to current directory and overwrite or in blender goto uv window and in the tab save image as .
-
Be sure you have the right texture format - pixel size dividable by 4 and file-types according to the wiki - http://xtrac.outerraworld.com/trac.fcgi/wiki/material (http://xtrac.outerraworld.com/trac.fcgi/wiki/material)
-
I didn't really get the Wiki. It was just a list of styles in which the material and texture can influence the object.
-
your question is a little confusing really
if you have a texture applied properly in blender then you must have the source texture in a folder
If someone else applied that texture for you and packed it with blend then you need to unpack it
so either way get the texture and make it to a >dds by using a plugin for Cs2 (free from adobe and plugin free from nvidia
if your model is unwrapped properly in blender then import the Dae file > configure > associate bones etc if vehicle if its static then import and configure .
then quit the game engine and goto your outerra folder where your files are , not the root but the local user files and then open , put the .dds in this folder and then open the matlib file with text editor
then find the correct define where the texture is on like for instance
{
"name" : "mymodelsvertgroup", //this will be different
"diffuse" : "1.0,1.0,1.0,1.0",
"Ax" : "0.04",
"Ay" : "0.04",
"m" : "0.14",
"tex_diffuse" : "",/// put here between quotes nameofyour texture .DDS
"tex_normal" : "",
"tex_env" : "",
"tex_reflectance" : "",
"tex_opacity" : ""
},
-
WOOT! THANKS A TON!
When I get more objects and bump maps done and refined, I'll release a package of objects for people to use freely.
-
Ok, I made the normal map in the format the wiki specifies and exported it using the tool in photoshop, but it's not working as far as I can tell. I tried looking at other materials from other objects, but no luck. Here's what I have.
[
{
"name" : "material",
"diffuse" : "185,185,185,255",
"Ax" : "7",
"Ay" : "7",
"m" : "20",
"no_light" : false,
"alpha_masked" : false,
"tex_diffuse" : "lightcolorwoodplanks.dds",
"tex_normal" : "lightcolorwoodplanksnormal.dds",
"tex_env" : "",
"tex_opacity" : "",
"tex_reflectance" : ""
}]
-
Hi sorry im on tablet now so cant be precise
However if you goto my other thread in textures section , you see I point out a programme ddsviewer
When you save there in bottom corner afer selecting .dds is dropdown , dxt5, 3, 4, bc4 ALI1N etc
Now get that open your normal map and go wiki here materials it tells you precice what to save as and give hint on ax ay m values , also open matlib for cessna in text editor see what setting it has , if all this fails I dunno maybe yiur normal map has some chanbel problem maybe
If no solution I help tomoz , happy modding until then :)
-
I didn't really understand your reply there, and from what I could follow, it didn't help much.
-
Haha
Beauty of tablet typing , I put simple
http://www.amnoid.de/ddsview/ (http://www.amnoid.de/ddsview/)
Download
Open your texture with it
Save as .dds
In panel that opens upon save as there is dropdown
Select here the same as it says in the material section on wiki for a nirmal map
-
Oh no, see I've already done that. the plugin that came with photoshop has that drop down menu which gives me the options for those dds filetypes and one that said normal. I guess I'll try that anyhow.
-
From wiki
tex_normalpath to normal texture (format BC5/3dc2/ATI2)
If you are positive you saved as that above then ok , unfortunately I can help no more best way is for you to open in that prog I mentiined and it will tell you what it is
-
Program does the same thing my photo shop plugin allowed me, however I noticed while re-reading posts and the wiki that it says 3DC2, I only have 3DC as an option in both photoshop and DDS viewer...
EDIT: Viewer has 3DC+ option, but makes no difference so far.
-
NIX my previous reply.
I've been editing in the wrong file... I was editing a secondary object attached via parenting to my main model, I finally edited the file that affects the WHOLE package instead of just one of the objects. NOW. I have the issue that the darn thing went all dark!
EDIT AGAIN!: I GOT IT! Darn thing! I forgot to empty the values in the individual elements texture handlers before editing the main one!
-
WOOHOO!! FINALLY!
-
Congrats
Now go write the tutorial so you and others wont forget :)
-
WILL DO!
-
That is the smallest photo ever.. MAKE IT SHINE! 1440p GO!
-
But the website limit..... The forums only allow so much... Alright, I'll upload to Photobucket.
(http://i192.photobucket.com/albums/z42/Commander92/screen_1391843540.jpg)