Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 12/20/10 22:12

Lithium
Member
From: Colorado
Registered: 10/17/08

Importing textures into game :/

So i download the Character Variant Fix so i could get a lot of the chars to work, so i put it in the folder specified
install>Packages>Globalize>Oni>level0_final>level0_characters>Globalization
and i re globalized my AE, then i installed the new characters, but they still won't pop up D:

(feel like a noob asking this considering i was here for 2 years lol)

Changes topic cuz i don't want to make a new one

Last edited by Lithium (01/29/11 21:01)


Oni IRC | Kumite! Kumite! Kumite!

Offline

#2 12/21/10 00:12

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Importing textures into game :/

Why hasn't this been made into a normal package?


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#3 12/21/10 11:12

Stevinlewis
Member
From: Singapore
Registered: 03/25/09

Re: Importing textures into game :/

Cuz it was done ages ago and forgotten by us? O.o

Offline

#4 12/21/10 13:12

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Importing textures into game :/

You guys aren't helping me? o.O
I fixed i had to reglobalize twice cuz i screwed up on something


Oni IRC | Kumite! Kumite! Kumite!

Offline

#5 12/22/10 05:12

northero
Member
From: Singapore
Registered: 10/16/09
Website

Re: Importing textures into game :/

did u rush and installed all those new characters? coz it crashed me once when I did tat before


You can fool some of the people all the time and all of the people some of the time, but you can't fool all the people all the time

Offline

#6 01/29/11 21:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Importing textures into game :/

Hai didn't want to make a new topic >.>
So i messed around with some textures and uh how would i import them into a package or a similar thing. Tried OniSplit but i don't know what to do with the formats and such
Sorry for asking this noob question neutral
Crap: Forgot to search the wiki first <.<

Last edited by Lithium (01/29/11 21:01)


Oni IRC | Kumite! Kumite! Kumite!

Offline

#7 01/29/11 22:01

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Importing textures into game :/

If you export the Oni texture as xml, then you can see the formats used and if you are replacing the texture use the same xml to import to create the .oni file

Offline

#8 01/29/11 22:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Importing textures into game :/

Hmm what if i exported it as a png, and i edited in photoshop, what would i do there ^_^'

Edit: So i see tga is a better supported image type hmm
Whoops

Last edited by Lithium (01/29/11 22:01)


Oni IRC | Kumite! Kumite! Kumite!

Offline

#9 01/29/11 22:01

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Importing textures into game :/

For example here is the xml:

<?xml version="1.0" encoding="utf-8"?>
<Oni Version="0.9.54.0">
    <Texture>
        <Flags>HasMipMaps</Flags>
        <Format>BGRA4444</Format>
        <EnvMap>TXMPstrikerarmor</EnvMap>
        <Image>TXMPTextures%2Fbabapelvis.png</Image>
    </Texture>
</Oni>

You would edit the png in Photoshop, save it in the same folder as the xml, then import the xml file not the png file.
once you have the .oni file, you can put it in some existing package, same folder as the other TXMP files and use AE Installer to rebuild the data files

Offline

#10 01/29/11 22:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Importing textures into game :/

Ok lost you at the end, but thanks if it looks good i might share it
(it's probably crap hmm)
Edit: Ok i see what you mean

Last edited by Lithium (01/29/11 22:01)


Oni IRC | Kumite! Kumite! Kumite!

Offline

#11 01/29/11 22:01

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Importing textures into game :/

I forgot to mention, if you get an error when trying to import your modified texture, remove the "%" from the name of the xml file and image file like this: TXMPTextures2Fbabapelvis.png, then once it is converted to TXMPTextures2Fbabapelvis.oni, add the "%" back: TXMPTextures%2Fbabapelvis.oni

Offline

#12 01/29/11 22:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Importing textures into game :/

Oh that might be my problem, thanks Edt


Oni IRC | Kumite! Kumite! Kumite!

Offline

#13 01/30/11 01:01

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Importing textures into game :/

Hey oxe, if you can't manage to import the textures, just keep working on them, and when you're done, I can give a shot at importing them.


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#14 01/30/11 01:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Importing textures into game :/

*uploads to mediafire*
I'll put the link tomorrow, Wii doesn't support links D:
I was gonna get Nitr0 to do it since i'm the equivalent of 2009 oxe and proper English when it comes to this neutral


Oni IRC | Kumite! Kumite! Kumite!

Offline

#15 01/31/11 00:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Importing textures into game :/

OK i put them into the game using a package, so he worked (missed the biceps)
but he has a lot of white around him, so i have 2 questions
What do i do to get transparency?
Or would i have to color that black so it doesn't stick out? D:


Oni IRC | Kumite! Kumite! Kumite!

Offline

#16 01/31/11 09:01

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Importing textures into game :/

You need to have an alpha channel with your texture.  When the texture is exported from Oni, it has an alpha channel, but, you need to make sure that your image program supports alpha channels and you save your modified texture with that channel.

Last edited by EdT (01/31/11 09:01)

Offline

#17 01/31/11 18:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Importing textures into game :/

Lol so it turns out 0, 0, 0 was actually the transparent color, whoops


Oni IRC | Kumite! Kumite! Kumite!

Offline

Board footer

Powered by FluxBB