Page 1 of 1

Fish not showing up [Solved]

Posted: Fri Dec 17, 2010 3:59 pm
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]

Re: fish not showing up

Posted: Fri Dec 17, 2010 4:12 pm
by Xavious
Did you add these lines to your lua?

Code: Select all

SetNumFishTypes(1)
SetFishType(0,0.8,"fish")

Re: fish not showing up

Posted: Fri Dec 17, 2010 4:38 pm
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

Re: fish not showing up

Posted: Fri Dec 17, 2010 5:43 pm
by AQT
That , after "fish" should be a ).

Re: fish not showing up

Posted: Fri Dec 17, 2010 6:03 pm
by acryptozoo
AQT wrote:That , after "fish" should be a ).
hrmm they still dont show up :S

Re: fish not showing up

Posted: Fri Dec 17, 2010 6:11 pm
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?

Re: fish not showing up

Posted: Fri Dec 17, 2010 6:21 pm
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

Re: fish not showing up

Posted: Fri Dec 17, 2010 6:48 pm
by AQT
Try changing:

Code: Select all

SetNumFishTypes(2)
back to:

Code: Select all

SetNumFishTypes(1)

Re: fish not showing up

Posted: Fri Dec 17, 2010 7:14 pm
by acryptozoo
nope .. still only one

Re: fish not showing up

Posted: Fri Dec 17, 2010 7:35 pm
by Xavious
Do you have "fish2" in your req? The posted req only has "fish."

Re: fish not showing up

Posted: Fri Dec 17, 2010 7:41 pm
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

Re: fish not showing up

Posted: Fri Dec 17, 2010 8:04 pm
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")

Re: fish not showing up

Posted: Fri Dec 17, 2010 8:42 pm
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