Jump to content
Sign in to follow this  
Binary

Half-Staff

Recommended Posts

Hello people.

Does anyone have any ideas on how to make a half-staff flag with custom texture?

Cheers

Share this post


Link to post
Share on other sites

I would try cheating by making two flagpoles. The first one at normal level without a flag and the second halfway down the ground with the flag on it. I dont remember exactly how to make a custom flag but Im sure someone else will tell you if you dont find out yourself first.

I hope I understood your question right since Ive never heard about "half-staff" before.   whistle.gif

Share this post


Link to post
Share on other sites
I would try cheating by making two flagpoles. The first one at normal level without a flag and the second halfway down the ground with the flag on it. I dont remember exactly how to make a custom flag but Im sure someone else will tell you if you dont find out yourself first.

I hope I understood your question right since Ive never heard about "half-staff" before. whistle.gif

Will try working around with that smile_o.gif

"Half-Staff" as in hoisting the flag half, to commemorate the death of someone.

Share this post


Link to post
Share on other sites

custom texture: use a flag object, like FlagCarrierWest, FlagCarrierNorth, FlagCarrierSouth, FlagCarrierEast?, FlagCarrier (last one is hidden in editor)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> switch (typeOf _flag) do

{

case 'FlagCarrierWest': {_image = 'west.jpg'};

case 'FlagCarrierNorth': {_image = 'east.jpg'};

case 'FlagCarrierSouth': {_image = ''};

};

_flag setFlagTexture format['Images\Flags\%1', _image];

The actual flag image can be jpg, paa.

In Jerry's flags.pbo addon, the flags are 256x256x24 and are stretched to flag ratio upon assigning. Not sure if having it a square sized or power of 2 sized image is a requirement though.

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  

×