OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Jimpy on 09 Feb 2005, 22:07:52

Title: My spiffy new model causes a CTD
Post by: Jimpy on 09 Feb 2005, 22:07:52
Hello, I've been trying my hand at modelling a complex
object for the first time but am having a problem.
Please could one of you more experienced guys tell
me a possible reason for OFP crashing to desktop when my
model is suposed to appear in game? In particular is it
likely that if I try to "set Texture" in a config.cpp on an
object that doesn't actually exist, is this likely to have
that behaviour? Sorry if this post seems garbled - all
this 3D modelling stuff is very new to me.
Title: Re:My spiffy new model causes a CTD
Post by: Pilot on 09 Feb 2005, 23:07:35
Is there any error message when the game crashes?

About settexturing, I don't know anything about it, but I would think if you settexture an object that isn't there, the game could mess up.  Why would you settexture an object that doesn't exist in the first place?

Also, if you can, please post the config.
Title: Re:My spiffy new model causes a CTD
Post by: Jimpy on 10 Feb 2005, 04:31:32
Thanks for the quick reply.

I have in the meantime satisfied myself that texturing a nonexistent
surface was indeed the problem. All seems to be working now.
I was texturing stuff that wasn't there because I was trying
to do something [too] clever with the model, with parts that
would appear and disappear on command. Phew, I think I'd
better stick to the simple stuff for now.