Question about birds

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
{JT}Tim
Private Recruit
Posts: 29
Joined: Sun Mar 12, 2006 10:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Question about birds

Post by {JT}Tim »

Could someone maybe tell me how I might be able to change the bird tga, I've tried replacing the bird.tga by erasing its contents and placing a new image in its file, but when I go in-game the bird appears as another bird, one which isn't even in my world folder. So if anyone has any ideas of how I can accomplish this, it would be most appreciated, thank you for your time.

P.S. I have already added the necessary information to the ***.req file, the lua files and the tga of my new bird is in my world file as well.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: Question about birds

Post by woner11 »

I didn't understand all of that, but this should work. Open the tga in gimp, then edit it and save it without RLE compression.
{JT}Tim
Private Recruit
Posts: 29
Joined: Sun Mar 12, 2006 10:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Question about birds

Post by {JT}Tim »

lawl that might help if i had gimp :| i used photoshop
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: Question about birds

Post by woner11 »

In this case :google: .
{JT}Tim
Private Recruit
Posts: 29
Joined: Sun Mar 12, 2006 10:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Question about birds

Post by {JT}Tim »

.... o i forgot to mention I'm not trying to change the bird to a bird, I'm trying to make a bird into a non-bird object
User avatar
tsurugi13
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Mon Dec 17, 2007 6:16 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: Battling the ISA menace on Helghan.

Re: Question about birds

Post by tsurugi13 »

{JT}Tim wrote:.... o i forgot to mention I'm not trying to change the bird to a bird, I'm trying to make a bird into a non-bird object
For that, just create a new .odf with the bird .msh.
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "prop"
GeometryName = "add_your_msh_name_here.msh"


[Properties]

GeometryName = "add_your_msh_name_here"[/code]
{JT}Tim
Private Recruit
Posts: 29
Joined: Sun Mar 12, 2006 10:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Question about birds

Post by {JT}Tim »

as far as i know the 2-D birds don't have a msh or and odf, unless they have them hidden somewhere?

unless by me saying object you interpreted it that way, in which case its my fault for misinterpreting your reply, I'll rephrase it, I'm trying to change one of the 2-D birds into another 2-D .tga, a non-bird one
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: Question about birds

Post by SBF_Dann_Boeing »

well some how, foolis got a new bird skin (or new model? i can't tell, it was in glamour skins) set up, as you can see:
Image

So it's possible... but I don't know how. The only file that i can see relating to the bird is just the texture. But apparantly there's a model somewhere that goes with it?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Question about birds

Post by Maveritchell »

Unless you add memorypools for birds, nothing's going to show up. Same for fish. Check out Kashyyyk's .lua.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Question about birds

Post by Teancum »

{JT}Tim wrote:lawl that might help if i had gimp :| i used photoshop
Photoshop will work just fine. You just gotta make sure you uncheck RLE compression.... always :thumbs:
{JT}Tim
Private Recruit
Posts: 29
Joined: Sun Mar 12, 2006 10:57 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Question about birds

Post by {JT}Tim »

i think i did that, but I'll try again to be sure... and in response to Maveritchell i added the

Code: Select all

--  Birdies
    SetNumBirdTypes(1)
    SetBirdType(0,1.0,"bird")
to the lua and i also added the bird to the texture section in the world.req file, showing up isn't the problem, the birds show up but (i just noticed this) they are a bird shaped thing with no textures.

Image

Image
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: Question about birds

Post by SBF_Dann_Boeing »

Regardless of what texture you put, it has a bird shape/model. The question is whether you can actually change the model to something else...and where the model actually is in the first place. Doesn't seem to be in common/mshs or anything. It may be hard coded.
Post Reply