Hard Light Productions Forums

Hosted Projects - FS2 Required => FreeSpace Conversion => Topic started by: Annorax on March 20, 2004, 01:11:16 am

Title: Disappearing Models
Post by: Annorax on March 20, 2004, 01:11:16 am
Using latest version of the Port and FS2_Open, there is no model for the GTC Leviathan [or GTC Fenris]. With no model, they can't be hit by weapons fire, and I had to ~K them to finish Silent Threat.
Title: Disappearing Models
Post by: Goober5000 on March 20, 2004, 01:53:13 pm
What are you talking about?  The Leviathan model is the same as the Fenris.

I played through both Silent Threat and the main campaign before releasing 2.3, so I know they work.
Title: Disappearing Models
Post by: Annorax on March 21, 2004, 02:59:59 am
Quote
Originally posted by Goober5000
What are you talking about?  The Leviathan model is the same as the Fenris.

I played through both Silent Threat and the main campaign before releasing 2.3, so I know they work.


Could be a table screwup or something. I know I wasn't hallucinating, so I'll reinstall and play Silent Threat again, and see if it happens again.

It was just kinda freaky, a Shivan Super Laser passing through the Vidar like it wasn't there... The @##%@# thing was targeted no more than 50 meters in front of me, and no model was showing. Same for the Odin and Vili. Ugh.
 (http://img29.photobucket.com/albums/v86/annorax/screen00.jpg)

EDIT: Screenie added.
Title: Disappearing Models
Post by: Goober5000 on March 22, 2004, 07:04:45 pm
Odd.  Are you using FS2_open?
Title: Disappearing Models
Post by: Annorax on March 23, 2004, 01:19:04 am
Yes. 3-5-2004 build.
Title: Disappearing Models
Post by: Goober5000 on March 23, 2004, 01:17:52 pm
Moving to the SCP forum.
Title: Disappearing Models
Post by: kasperl on March 23, 2004, 02:56:46 pm
are you sure you have nothing in your table dirs?
Title: Disappearing Models
Post by: StratComm on March 23, 2004, 03:07:16 pm
No the model is definately there in memory, as it's being used for both the thruster plumes and the target box.  The bigger question is why is it not being rendered.  Like there is a texture element missing or something (the Fenris textures have shine/glow maps, don't they?) Not that this has much to do with rendering, but have you created a new pilot recently?
Title: Disappearing Models
Post by: karajorma on March 23, 2004, 03:14:12 pm
Are you using the upgraded High Poly Fenris model?
Title: Disappearing Models
Post by: Bobboau on March 23, 2004, 07:39:39 pm
thruster is present, model is loaded, something funky going on,

was any texture replacement used on that ship?
Title: Disappearing Models
Post by: mrduckman on March 28, 2004, 06:25:36 am
I use mediavp356c. No other enhancements.
Title: Disappearing Models
Post by: Cyker on March 28, 2004, 06:56:10 am
I had this too with some Shivan craft, but this was after playing for ages. I suspect some sort of memory leak was preventing the model/textures/something from being loaded?
Title: Disappearing Models
Post by: redmenace on March 28, 2004, 09:07:39 am
what command line args are you using.
Title: Disappearing Models
Post by: mrduckman on March 28, 2004, 12:58:18 pm
C:\Games\FS2_Open\fs2_open_Bobboau_3-23-04.exe -spec -glow -pcx32 -dnoshowvid
Title: Disappearing Models
Post by: kasperl on March 28, 2004, 01:01:36 pm
pcx32 is something to be avoided, AFAIK. everyone uses -jpgtga anyway.
Title: Disappearing Models
Post by: mrduckman on March 28, 2004, 01:08:56 pm
Ah, ok. I'll try using jpgtga, and see what happens.

Quote
Originally posted by kasperl
pcx32 is something to be avoided, AFAIK. everyone uses -jpgtga anyway.
Title: Disappearing Models
Post by: Cyker on March 28, 2004, 03:09:50 pm
G:\Program Files\FreeSpace2\fs2_open_Bobboau_3-23-04.exe -spec -glow -pcx32 -jpgtga -phreak  -ambient_factor 85 -fov 0.39
Title: Disappearing Models
Post by: Lightspeed on March 28, 2004, 03:28:37 pm
-pcx32 is highly reccommended for those who want nice interface graphics

-jpgtga is for those that want special effects (like pretty much all of my stuff) or other hi-res images to work.
Title: Disappearing Models
Post by: mrduckman on March 29, 2004, 09:09:10 am
Here are the captures of the mission "The Return to Ross 128" and the one before that (where the Leviathan Vidar is)

http://webs.uolsinectis.com.ar/dsusman/screencaps/ (http://webs.uolsinectis.com.ar/dsusman/screencaps/)

Ah, the flags.

C:\Games\FS2_Open\fs2_open_Bobboau_3-23-04.exe -spec -glow -pcx32 -jpgtga -dnoshowvid  -mod fsport
Title: Disappearing Models
Post by: J3Vr6 on March 29, 2004, 09:47:03 am
so can you fly thru them or do you collide with them as if they're there?
Title: Disappearing Models
Post by: Cyker on March 29, 2004, 10:12:54 am
For me, I could fly through them.

Additionally, Beam cannons, and Primary weapons went right through. Dumb-fire missiles (i.e. Tempests) also went through. (All doing no damage. I think...)

Lock Aquiring Missiles did detonate on 'impact' and, curiously, Flak weapons also seemed to do damage.
Title: Disappearing Models
Post by: mrduckman on March 29, 2004, 01:32:31 pm
Well, now I don't remember, and can't check again. (I'm at work)
I think I collided with the Fenris.
But when I fired on the Fenris, there was no impact from the Promethius or the missiles.
Furthermore, the Fenris always kept at 100%

Mr. Duckman
Title: Disappearing Models
Post by: Bobboau on March 29, 2004, 01:34:13 pm
I think it failed to load the textures
Title: Disappearing Models
Post by: mrduckman on March 29, 2004, 05:20:12 pm
In the FSPort, for those two missions? Perhaps.
Because in the non-ST stuff works just fine. And in the ST mission where you have to escort a Fenris and two Chronos, the model works.
I didn't finish to check the whole FS2 Campaign to see if in other place fails.

Quote
Originally posted by Bobboau
I think it failed to load the textures
Title: Disappearing Models
Post by: StratComm on March 29, 2004, 06:00:58 pm
Does a similar problem happen with the Lilith?  I can't see why using the same model for two ships would cause a problem, but it obviously isn't something wrong with the model or textures if the Fenris variant works.
Title: Disappearing Models
Post by: mrduckman on March 29, 2004, 07:04:16 pm
I wish. At least that would be consistant :D
Title: Disappearing Models
Post by: redmenace on March 29, 2004, 07:54:26 pm
have you mantised this bug yet?
Title: Disappearing Models
Post by: mrduckman on March 29, 2004, 10:06:23 pm
Nope.
I didn't know if this is a FSPort bug. If so, it should not be posted on the Mantis.

By the way, what's the conclusion? Is not a FSPort bug, is it?
Title: Disappearing Models
Post by: StratComm on March 29, 2004, 10:09:30 pm
If you are using the SCP, and the Fenris model works, then it is a SCP bug.  Unless of course there is a different model in use for the Leviathan, though I don't have the port so I can't answer that one on my own.  If you're using the SCP, Mantis it regardless as a null texture is a bug no matter how you cut it, it should produce some sort of more visable error.
Title: Disappearing Models
Post by: Bobboau on March 29, 2004, 10:26:22 pm
I don't think anyone answered my question on if this was useing any textur replacement ype stuff.
Title: Disappearing Models
Post by: Annorax on March 30, 2004, 08:10:44 am
Fenris works, Leviathan doesn't. I didn't adjust anything, change tables, or add any new textures. The only installed mod was FSPort 2.3. No flags were enabled in the launcher. I collided with the Leviathans, but my Proms and even SSL's passed through them.
Title: Disappearing Models
Post by: mrduckman on March 30, 2004, 08:15:18 am
I didn't. Only the Port.

Quote
Originally posted by Bobboau
I don't think anyone answered my question on if this was useing any textur replacement ype stuff.
Title: Disappearing Models
Post by: mrduckman on March 30, 2004, 08:33:09 am
I fixed it. The table of the Port was using the model cruiser01b.pof, which doesn't work.
I changed it to cruiser01.pof and now works fine.

The table is uploaded at
http://webs.sinectis.com.ar/dsusman/ships.tbl

A better explanation:

I checked the mission file to see if there would be calling for a specific model/texture. Found nothing. Then I checked the table and saw that the Fenris was using model cruiser01.pof and the Leviathan was using cruiser01b.pof. Since there are no actual difference in the model I only saw fit to change it to the model of the Fenris.

At least these things are easy to debug. The binary always is much more complicated. I've neved learnt to use gdb for example :P
Title: Disappearing Models
Post by: redmenace on March 30, 2004, 09:01:59 am
does cruiser01b.pof exist?
Title: Disappearing Models
Post by: mrduckman on March 30, 2004, 09:10:12 am
Yeap. This was the thing.

sparkee_fs2.vp has the textures (ultra hi-res) for the port.
I didn't extract them, since I may not have processor to run them.
And, since the fs_port.vp doesn't have the textures either, the Leviathan is not shown. Because it's hardcoded in the table.
(Another thing that has no use, either, though it's nice to see a little difference between the Fenris and the Leviathan. One has red spots. The other, blues)

Perhaps should be better to add the model and textures in a future mediavp. Since the FS2 Campaign also uses both classes, the Leviathan textures won't be thrown away. And there will be a difference in both classes :D

I think this should be moved back to FS Conversion. It has no business here any more.

DarĂ­o
Title: Disappearing Models
Post by: mrduckman on March 30, 2004, 09:11:19 am
It does, but the textures should be extracted from sparkee_fs2.vp
of the port.

Quote
Originally posted by redmenace
does cruiser01b.pof exist?
Title: Disappearing Models
Post by: redmenace on March 30, 2004, 10:58:06 am
so technically it is still a problem then.
Title: Disappearing Models
Post by: mrduckman on March 30, 2004, 11:28:22 am
Well, I dunno.  Because, as for me, I didn't extracted the hi-res vp.
I thought I shouldn't because of the media356c.vp.
But since the Leviathan used *another* texture, it became a problem.

Quote
Originally posted by redmenace
so technically it is still a problem then.
Title: Disappearing Models
Post by: redmenace on March 30, 2004, 01:23:50 pm
why shouldn't you extract it from the vp because of the media VP?
Title: Disappearing Models
Post by: mrduckman on March 30, 2004, 04:30:15 pm
Well, at the time I thought why should I?  I had the mediavp and the fsport.vp was optional. There wasn't going to be much difference since it was based ont he mediavp.

Besides, I think I got mixed up with stuff. The readme said to extract from many files and perhaps I missed it :P

I'm new on this, so... Again, this is not an SCP problem
Title: Disappearing Models
Post by: redmenace on March 30, 2004, 04:37:08 pm
I am interested because I once had a arcadia and every other ship missing the main hull textures and such. and only displaying the turrets.
Title: Disappearing Models
Post by: Goober5000 on March 30, 2004, 06:15:25 pm
Whoops, this is a Port bug after all.  Sorry, guys... the root VP doesn't include the blue Leviathan textures in it.  I'll add them to the VP ASAP.