PDA

View Full Version : Help FX.core



Goku SSJ5
01-10-2008, 05:30 PM
Hi! I have make my first charachter with the ECX models. I have modified Radditz and i have "Create" Radditz SSJ. The char runs, but the specials effects of the trasformation doesn't work!
This is my Fx.core:

public fxBlow( Core[] )
{
AddFx( Core[0], "fxBlow" );
return 1;
}

public fxAura( Core[] )
{
AddFx( Core[0], "fxModelEntity", "models/evolution/Auras/shape_05.mdl", 0, 0, 50.0, 0, 0, 0, 1.0, 0.3, 0, 4 );
AddFx( Core[0], "fxPowerup", 238, 253, 2 );
return 1;
}

public FX_off( Client)
{
RemFx( Client, "fxModelEntity", 0);
RemFx( Client, "fxPowerup", 0);
return 1;
}

What is the problem??? Thank in anticipation, and sorry again for my bad english.

yassin-mocro
01-11-2008, 01:13 PM
Anny errors?

chayny_143
01-11-2008, 01:46 PM
you know you must put the effects in .ClassXtension ?

yassin-mocro
01-11-2008, 07:51 PM
i know what im doing im middel/pro skilled CCI Character making

Grega
01-11-2008, 08:27 PM
i know what im doing im middel/pro skilled CCI Character making


Just for your info. The CCI alone is nowhere near Pro. The best you can get with just the CCI is about average. But you cant get to pro with that tool. Once you can do a character without the CCI then you may say above average.

In any case. Those atributes after the path to the model file.

What are they?

Be sure you didnt set transparency to low.

Legendary_Saiyan
01-12-2008, 02:18 PM
well that's not a big problem


public fxBlow( Core[] )
{
AddFx( Core[0], "fxBlow" );
return 1;
}

public fxAura( Core[] )
{
AddFx( Core[0], "fxModelEntity", "models/evolution/Auras/shape_05.mdl", 0, 0, 50.0, 0, 0, 0, 1.0, 0.3, 0, 4 );
AddFx( Core[0], "fxPowerup", 238, 253, 2 );
return 1;
}

public FX_off( Client)
{
RemFx( Client, "fxModelEntity", 0);
RemFx( Client, "fxPowerup", 0);
return 1;
}


ur fx are good there's no problem there
now open your .ClassExtension
u need to precache your aura, your caracter model, your trans sound, and your sprites u want to use
for example i will use my precache of my yamcha


PluginPreCache ()
{
precache_model( "models/player/ecx.yamcha/ecx.yamcha.mdl" );

precache_model( "models/evolution/Auras/shape_05.mdl" );
precache_model( "models/evolution/us_aura.mdl" );
precache_model( "sprites/xflare1.spr" );

precache_sound( "ecx.yamcha/t_unlock.wav" );
}

that's just a part of my pluginprecache

now

BE SURE u change this : public @ClassInitTransformation ( Client, Level, bool:Perfect)

TO THIS : public @ClassInitiateTransformation ( Client, Level, bool:Perfect )

its really important or your transformation won't work
and the last part


public @ClassInitiateTransformation ( Client, Level, bool:Perfect )
{
new CORE[ 1 ];
CORE[ 0 ] = Client;

if ( Perfect )
{
switch ( Level )
{
case 1:
{
emit_sound( Client, CHAN_ITEM, "ecx.yamcha/t_unlock.wav",
1.0, ATTN_NORM, 0, PITCH_NORM );
setClientHiddenPOWERUP( Client, true );
AddFx( Client, "fxAvatar", "create", 101, 1.0 );
set_task( 0.1, "fxBlow", uniqueTaskID( Client,100 ), CORE, 1, "a",1 );
set_task( 0.1, "fxAura", uniqueTaskID( Client,100 ), CORE, 1, "a",1 );
set_task( 0.5, "fxBlow", uniqueTaskID( Client,100 ), CORE, 1,
"a",1 );
}


well that's how it need to look's like ^^

Grega
01-12-2008, 02:20 PM
Heh i get it.

He forgot to prechache the aura model ^^

Legendary_Saiyan
01-12-2008, 02:28 PM
Heh i get it.

He forgot to prechache the aura model ^^

well actually yes and he forgot to replace

public @ClassInitTransformation ( Client, Level, bool:Perfect )

for that

public @ClassInitiateTransformation ( Client, Level, bool:Perfect )

without this replacement it's impossible to trans with the effect's

Goku SSJ5
01-12-2008, 03:26 PM
Thank you very much! I'll try this code immediately!

.:Menjoso:.
01-17-2008, 07:51 PM
Hi all guys. I'm a Goku SSJ5 friend.

We used the code that Legendary_Buddy told us, but it doesn't work. During compilating the Amxx file with CCI, we had some errors and we don't know what codeline we wrang.. Can some one see this Radditz?

http://www.mediafire.com/?24bchply4xi

Thanks however. Cya