31
Add-Ons / Re: Grappling Hook
« on: March 17, 2018, 02:06:46 PM »
although i hate to say it hata is right
he deserves credit in the topic title
he deserves credit in the topic title
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
your goal is to make the hat bot invisible in first person, otherwise it will block your viewnotice how its a quote,
No, it would guarantee it will always show up in first person. Making the bounds big guarantees/increases visibility, which is important if you are doing something like a card mod where many bots are in your hand, and the renderer has problems realizing you can see them while facing certain angles and so skips rendering them.set the model bounds to be very large as well as the playertype bounds to be very large make sure the bot is dead so it is on the corpse typemask
just to clarify to some of you, the letter is still able to be used within a word. just not on it's own.
function rgbToHex( %rgb )
{
%r = _compToHex( 255 * getWord( %rgb, 0 ) );
%g = _compToHex( 255 * getWord( %rgb, 1 ) );
%b = _compToHex( 255 * getWord( %rgb, 2 ) );
return %r @ %g @ %b;
}
function _compToHex( %comp )
{
%left = mFloor( %comp / 16 );
%comp = mFloor( %comp - %left * 16 );
%left = getSubStr( "0123456789ABCDEF", %left, 1 );
%comp = getSubStr( "0123456789ABCDEF", %comp, 1 );
return %left @ %comp;
}