putting fire textures in custom pack

Discussions about Coding and Scripting
User avatar
Rakiayn
Masterful
Posts: 550
Joined: Fri Aug 28, 2009 3:33 pm

putting fire textures in custom pack

Post by Rakiayn »

Is it possible to export firetextures into a custom U file?
User avatar
Creavion
Godlike
Posts: 4497
Joined: Sun Feb 17, 2008 7:23 pm
Personal rank: About to be non-act.
Location: Germany, Lower Saxony

Re: putting fire textures in custom pack

Post by Creavion »

Rakiayn wrote:Is it possible to export firetextures into a custom U file?
You can use the obj load file command to transfer a utx package with firetextures into an U file. It was not done any different with Unreal for example.

#exec obj load file="Insert_Name_of_your_package_here.utx" Package="insert_name_of_destination_package_here"
Either you use the command line below (without "#exec") in the editor or you write a simple "importer script", expanding/extending from which ever class, could be Actor for example.
About to be non-active
My very last UT map project: CTF-FacePalm (tropical CTF-Face remake)
Why do I leave? click here
What I want to do next: Joining an UDK team (uncertain however) and improve 3D modelling and texture editing skills
Thanks to those who visibly supported me until/at the end!
My reactivated account on indiedb.com.
JackGriffin
Godlike
Posts: 3829
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: putting fire textures in custom pack

Post by JackGriffin »

Ferali explained this to me. You can import wet textures into a U but you can't exec import them, they won't work right. You also can't export them without rebuilding them by hand.
So long, and thanks for all the fish
User avatar
Feralidragon
Godlike
Posts: 5503
Joined: Wed Feb 27, 2008 6:24 pm
Personal rank: Work In Progress
Location: Liandri

Re: putting fire textures in custom pack

Post by Feralidragon »

I think it's possible to export them into an isolated utx file, then imported into a .u file, here's how:
- First, open Ued, make a new level, MyLevel the package with the textures you want, subtract a cube (or another brush) using that texture (or textures), close the Ued;
- Then open Ued again, open the previouslly saved map, go to the textures, choose MyLevel, save the texture package as a new package (save it as MyLevel.utx, and then rename to another package).

Now, you have the textures isolated.

- To import into a .u file, in your package source, make a new folder named Textures for instance (it's not mandatory, but I use "Textures" so I know they are utx packs, as I constantly do animated and fx textures in Ued and then import to my .u file), and place this where you generally have your "exec" imports:

Code: Select all

#exec OBJ LOAD FILE=TEXTURES\WhateverFXTextures.utx PACKAGE=YourPackageFile.SomeGroup
Let's say your package is named Jack, and the FX texture package Griffin :P :
#exec OBJ LOAD FILE=TEXTURES\Griffin.utx PACKAGE=Jack.MyFireTextures


I hope I didn't miss anything.
User avatar
FraGnBraG
Inhuman
Posts: 930
Joined: Sun Jun 13, 2010 5:13 pm
Personal rank: Good news everyone!
Location: Canada

Re: putting fire textures in custom pack

Post by FraGnBraG »

of course, if all you wanted was something like a differently coloured "flame" for torches, it's probably less time just to make it in ued :) I have a tutorial somewhere on making fire and water textures in ued, iirc it was pretty simple...
-=FraGnBraG Level Design=- ***UPDATED! even works on your phone!***
User avatar
Rakiayn
Masterful
Posts: 550
Joined: Fri Aug 28, 2009 3:33 pm

Re: putting fire textures in custom pack

Post by Rakiayn »

thx all

@fragnbrag. now that you menstion it. I made an animated texture once for a ghost roaming in one of my maps. but in this case I only want some nice animated colored textures imported in my own mod.
using textrures from other texturepacks then unreali,unrealshare and botpack wont work right