Jump to content
Sign in to follow this  
Guest BratZ

I mastered invisible sections!

Recommended Posts

Guest BratZ

Hey I have great news...during the course of making my multipart intricate landing gear on my F4U I have finally mastered hidden selections and how to make them disappear.

Before this I only had success in initially making them invisible,and they would turn white while trying to hide them again

Define the selections within your cfgvehicles:

hiddenSelections[]={"gearf","rwheel","lwheel"};

This will make the selection start hidden which is needed if you want to make it invisible again:

class CfgModels

{

class Default{};

class weapon : default {};

class Vehicle: Default{};

class iegf4u: Vehicle

{

sectionsInherit="Vehicle";

sections[]={"vrtule staticka","vrtule blur","rwheel","lwheel","gearf"};

};

So you may have to initially texture the object at game startup (init)

_plane setObjectTexture [0,"\iegf4u\wings.paa"]

and this will make it hidden again!!!!!

_plane setObjectTexture [0,""]

Woot! Woot!! This opens up many things depending on your imagination

You can just wait for my Corsair if you want to see multipart folding landing gear and wings and such or conjure up some masterpieces yourself

Share this post


Link to post
Share on other sites

IC, i always just used a small 8x8 pixel transparent texture.

Would doing it your way be any different? Because according

to the BIS team hidden selections aren't drawn in hardware

T&L mode until you apply a texture to them. So if i use

a transparent texture, the selection would still be drawn, you

just couldn't see it. perhaps setting it to (0,"") would make

it completely disappear?

Share this post


Link to post
Share on other sites
Guest BratZ

Yes correct...I was using the data/clear_empty.paa

But things just kept turing white,I even made some clear textures that were the same resolution and such.

Setting it to no texture makes it "Invisible" again.I believe hidden selections are still drawn tho and do count in the face count.But I still have a low face count anyways.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×