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

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Eagle Eye
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Nov 01, 2007 12:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Belgium
Contact:

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

Post 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?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

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

Post 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?
User avatar
Eagle Eye
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Nov 01, 2007 12:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Belgium
Contact:

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

Post 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.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

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

Post by SBF_Dann_Boeing »

i'm assuming you forgot to copy the effects, torchflame.fx specifically
User avatar
Eagle Eye
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Nov 01, 2007 12:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Belgium
Contact:

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

Post 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:
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

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

Post 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.
User avatar
Eagle Eye
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Nov 01, 2007 12:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Belgium
Contact:

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

Post 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...
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

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

Post 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.
User avatar
Eagle Eye
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Nov 01, 2007 12:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Belgium
Contact:

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

Post by Eagle Eye »

thanks u very much again, got all what i need now
Post Reply