Raised This Month: $ Target: $400
 0% 

Solved Fire sprite


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 06-06-2020 , 13:22   Fire sprite
Reply With Quote #1

We have the following sprite with such parameters



And its function
PHP Code:
public fire()
{
    
message_beginMSG_BROADCASTSVC_TEMPENTITY );
    
write_byteTE_FIREFIELD );
    
engfuncEngFunc_WriteCoordOriginC4] );
    
engfuncEngFunc_WriteCoordOriginC4] );
    
engfuncEngFunc_WriteCoordOriginC4] += 35.0 );
    
write_short);
    
write_shortg_FireSprites );
    
write_byte);
    
write_byteTEFIRE_FLAG_ALLFLOAT TEFIRE_FLAG_ALPHA );
    
write_byte20 ); 
    
message_end();

Why in the game do I see him on a black background?
I tried to redo the sprite with different formats ... no sense.
Maybe this is due to the number of frames, instead of one? (Delirium)

What is needed or is everything right?
PHP Code:
    write_byteTEFIRE_FLAG_ALLFLOAT TEFIRE_FLAG_ALPHA ); 

Last edited by MayroN; 06-06-2020 at 19:41.
MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode