Jump to content

Recommended Posts

Posted

I made some windows that when shot break. The problem is that the default bullet decals stay floating in the air even though the window has been destroyed. Is there a way to prevent the decals from being placed on a specific object? Or perhaps being removed somehow?

Posted

Thanks for the suggestion. Unfortunatly it seems to suggest that I would know the name of the decal. It was put there by a bullet not by my script. Is there a way to search for it?

Do decals become a 'child' of the surface they are on?

Posted

I have a similar problem and could not find a solution so far as well other than deactivating decals for objects that can be destroyed.

Decals are just objects with a coordinate in the world I think, the same way you place props in the world, you place them and they are there, minus the object inspector features.

Posted

I think the best solution might be to identify the material as one that doesn't use decals at all, while I don't know if it is in the engine or not (I don't use weapons) there is a resource somewhere that implements different decals on different materials, this should include a method to prohibit decals.

Posted

Maybe a stupid question but... this is a scripted object and the option is not available in the scene editor. I have tried setting it in the datablock but does nothing

Posted

Okay after looking in the code I see this is yet another thing that needs C++ code changes to achieve. :cry:

Only TSStatic apears to have a decalType property that allows the decals to be turned off.

The decal system itself is pretty lame. It does not make public any method of finding decals without an ID. The Decalmanager C++ code does contain a getClosestDecal function but it cannot be used by TS.

The more I try to use T3D the more I realize that in its current form even the most basic things require code changes :roll:

I am sure glad I did not have to pay for it or by now I would be pretty p'd @ff

Posted

I'm just gonna chime in here and say that when the engine was written people were happy just to have decals working - most didn't bother doing anything besides let the decals fade (like T3D does). Old code is old, bro.

Posted

I'm just gonna chime in here and say that when the engine was written people were happy just to have decals working - most didn't bother doing anything besides let the decals fade (like T3D does). Old code is old, bro.

Yes floppy disk were also great back then, but things have changed :lol:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...