Page 1 of 1

How to add birds, fish and fire torches to my map? [Solved]

Posted: Thu Nov 22, 2007 11:53 am
by Eagle Eye
I want to add birds, fish and fire torches to my map, the fire torches have to burn.
Anyone know how to add these items?

Re: How to add birds, fish and fire torches to my map?

Posted: Thu Nov 22, 2007 12:17 pm
by Caleb1117
For birds and fish, there are lines in the lua, along with some bird and fish textures.

Look at the kasyyk Lua, in Assets/scripts/KAS for instance.
-- Birdies
SetNumBirdTypes(1)
SetBirdType(0,1.0,"bird")

-- Fishies
SetNumFishTypes(1)
SetFishType(0,0.8,"fish")
Then you would just need the corresponding textures, in assets/worlds/KAS/world1

I don't know what you mean about the torches though, you want torches that eventually burn out?

Re: How to add birds, fish and fire torches to my map?

Posted: Thu Nov 22, 2007 2:14 pm
by Eagle Eye
I just want burning torches that always burn like in endor.
i tryed already to take assets/worlds/END/msh/end_prop_ewok_fire.msh, but thats only a torch without fire... I need maybe some kind of animation.. I dont know

i do like u said for the birds and fish and i see them in my map but they arent coloured.. I used the bird.tga and fish.tga from the assets/worlds/KAS/word2 folder. And i added the lua lines to my lua script.

Re: How to add birds, fish and fire torches to my map?

Posted: Thu Nov 22, 2007 2:25 pm
by SBF_Dann_Boeing
i'm assuming you forgot to copy the effects, torchflame.fx specifically

Re: How to add birds, fish and fire torches to my map?

Posted: Thu Nov 22, 2007 2:52 pm
by Eagle Eye
i placed whole the effects folder of endor in my world map but nothing changed... no fire, only torches without fire :cry:

Re: How to add birds, fish and fire torches to my map?

Posted: Thu Nov 22, 2007 3:14 pm
by AceMastermind
Create an "effects" folder in:
  • data_ABC\Worlds\ABC
and place torchflame.fx in that folder then munge and see if you get flames ingame.
Sometimes the game can't find effects that are in your world1 folder, they are nested too deep.

Re: How to add birds, fish and fire torches to my map?

Posted: Thu Nov 22, 2007 3:24 pm
by Eagle Eye
thanks very much AceMastermind, the torches are burning now

now i just need to find out how i can get my birds and fish coloured...

Re: How to add birds, fish and fire torches to my map?

Posted: Thu Nov 22, 2007 3:43 pm
by AceMastermind
Go to your <modID>.req file in your world1 folder and open it with notepad.
Inside you will see a section like this:

Code: Select all

REQN
	{
		"texture"
   }
List the bird and fish texture names under "texture" like this:

Code: Select all

REQN
	{
		"texture"
      "bird"
      "fish"
   }
Make sure you have your bird and fish textures in your world1 folder.

Re: How to add birds, fish and fire torches to my map?

Posted: Thu Nov 22, 2007 3:54 pm
by Eagle Eye
thanks u very much again, got all what i need now