Raised This Month: $ Target: $400
 0% 

scripting questions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ChaosPriest
Member
Join Date: May 2005
Old 06-20-2007 , 01:30   scripting questions
Reply With Quote #1

pretty much self explanatory. i need to decompile an amxx file to be able to understand a certain sprite and its vaules in the game.
this is for esf (ecx RC2) and its a character plugin for it.
the character is goku and im trying to figure out how i need to set a sprite of lightning bolts (that appears during his ssj tranformation)effect outside of the character model.
basically we are creating the plugin with a creator and then compiling it into amxx.


i can post the codes i am using and maybe someone can help me that way.


for ( new Float:i=5.0; i<=5.0; i++ )
set_task( i, "fxLight", uniqueTaskID( Client,100 ), CORE, 1, "a",1 );


not sure what the numbers mean exactly but it tells the mod.fx to use the effects from the fxlight line in the mod.fx which is this

public fxLight( Core[] )
{
AddFx( Core[0], "fxWorldLight", 100, 100, 55, 10, 2.1, 0.2 );
AddFx( Core[0], "fxSpriteEntity", "sprites/lgtning.spr", 100, 200, 100.0, 20.0, 1.0, 0.1, 0.0, 10.0 );
return 1;

since im not sure what the values after the sprite mean, maybe someone can help me with that.
__________________
ChaosPriest is offline
 



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 21:32.


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