scripting questions
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. |
Re: scripting questions
AddFx(bla, bla, blub...) is a custom function...which is called...
Do you have the sourcecode or only the amxx plugin? greetz regalis |
Re: scripting questions
no we create the plugin. and im still learning this. also, how would i determine what the source code?
|
Re: scripting questions
Source code is the .sma file with scripting code!
|
Re: scripting questions
i dont have one. i think it is compiling a cxi file plus 5 core files. mod.sound/mod.charge/fx/mod.weapon/.classextension.
|
Re: scripting questions
raven released an fx tutorial.
corona-bytes.net forums -> CCI -> tutorials -> fxlib |
| All times are GMT -4. The time now is 21:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.