Fish not showing up [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
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Fish not showing up [Solved]

Post by acryptozoo »

okay this is a probably a stupid question but ive been having troubles with
made a new tga power of 2 and all and refrenced it in my req but nothing ingame
any ideas on what I did wrong

thanks in advance

snippet of gsc.req
Hidden/Spoiler:
[code]ucft
{
REQN
{
"config"
}
REQN
{
"texture"
"bird"
"fish"
}

REQN
{
"texture"
"GSC_map"
[/code]
Last edited by acryptozoo on Fri Dec 17, 2010 8:47 pm, edited 1 time in total.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: fish not showing up

Post by Xavious »

Did you add these lines to your lua?

Code: Select all

SetNumFishTypes(1)
SetFishType(0,0.8,"fish")
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: fish not showing up

Post by acryptozoo »

Xavious wrote:Did you add these lines to your lua?

Code: Select all

SetNumFishTypes(1)
SetFishType(0,0.8,"fish")
ah thanks i knew i forgot something

EDIT: having another problem
trying to add more that than one
tryed this but

Code: Select all

SetNumFishTypes(2)
SetFishType(0,0.8,"fish",
SetFishType(0,0.8,"fish2")
that makes the LUA angry
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: fish not showing up

Post by AQT »

That , after "fish" should be a ).
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: fish not showing up

Post by acryptozoo »

AQT wrote:That , after "fish" should be a ).
hrmm they still dont show up :S
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: fish not showing up

Post by AQT »

Did any fishes show up at all when you only had one type? Did you forget to reference the second type in your REQ? In what folder did you put these TGA's? What does the error log have to say, if anything, about this problem of yours?
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: fish not showing up

Post by acryptozoo »

AQT wrote:Did any fishes show up at all when you only had one type? Did you forget to reference the second type in your REQ? In what folder did you put these TGA's? What does the error log have to say, if anything, about this problem of yours?
yep the first fish showed up
yep its there
put it in the world1 folder
and no errors in the munge log
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: fish not showing up

Post by AQT »

Try changing:

Code: Select all

SetNumFishTypes(2)
back to:

Code: Select all

SetNumFishTypes(1)
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: fish not showing up

Post by acryptozoo »

nope .. still only one
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: fish not showing up

Post by Xavious »

Do you have "fish2" in your req? The posted req only has "fish."
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: fish not showing up

Post by acryptozoo »

Xavious wrote:Do you have "fish2" in your req? The posted req only has "fish."
yeah added it after i got the 1st one to work
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: fish not showing up

Post by Xavious »

Ah, didn't see you had answered that already.

And it seems the first number in the SetFishType line is the type number. Try this:

Code: Select all

SetNumFishTypes(2)
SetFishType(0,0.8,"fish")
SetFishType(1,0.8,"fish2")
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: fish not showing up

Post by acryptozoo »

Xavious wrote:Ah, didn't see you had answered that already.

And it seems the first number in the SetFishType line is the type number. Try this:

Code: Select all

SetNumFishTypes(2)
SetFishType(0,0.8,"fish")
SetFishType(1,0.8,"fish2")
thanks that got them working
Post Reply