cci .classextension

New Member
Joined
Jul 14, 2010
Messages
7
Best answers
0
I'm trying to create a model and I want the this attack: super ghost kamikaze attack
what sentence or word do I write in "over here"
...
public @ClassWeaponUpdate ( Client, Level )
{
switch ( Level )
{
case 0: // Buu Gotenks
{
addClassItem( Client, "weapon_melee", true );
addClassItem( Client, "weapon_kiblast" );
addClassItem( Client, "weapon_regeneration" );
addClassItem( Client, "weapon_candy" );
addClassItem( Client, "weapon_genericbeam" );
addClassItem( Client, "weapon_mouthblast" );
addClassSpecial( Client, "over here" );

...
 
Active Member
✔️ HL Verified
💻 Oldtimer
Joined
Mar 13, 2005
Messages
3,877
Best answers
0
Well first you need to write the codes for the new special.
 
New Member
Joined
Jul 14, 2010
Messages
7
Best answers
0
Look at my avatar
I included the kaioken in majinbuu
but I want to include super ghost kamikaze attack
see my classextension

/*
** << Evolution Class Extension >>
**
** Copyright (C) 2005 - 2007 Corona Bytes .NET
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation; either version 2
** of the License, or (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

new const CX_Plugin[] = "CX.Buu Gotenks";
new const CX_Version[] = "1.0";
new const CX_Author[] = "";

#define MOD_SOUND 1
#define MOD_CHARGE 1
#define MOD_WEAPON 1

// << Implement CX Interface >>
#include <xtension/class/main>

PluginInit ()
register_plugin( CX_Plugin, CX_Version, CX_Author );

public @ClassCreation ()
{
createClass( { MOD_SOUND, MOD_CHARGE, MOD_WEAPON },
"Buu Gotenks", true, false, "" );

// Buu Gotenks
addClassLevel( "Buu Gotenks", "ecx.buu-gotenks", 10.0, 1.5, 5000000, 25500000, 1.0,
320, 170, bool:{ false, false }, 0.0, { 200, 100 }, { 0, 0, 0, 0, 0, 0, 0 }, 1.0, Float:{ 100.0, 0.0 } );
addClassEffect( "models/evolution/Auras/shape_01.mdl", Float:{ 255.0, 128.0, 255.0, 50.0 }, 2, kRenderTransAdd,
{ 255, 128, 255 }, { 0, 0, 0, 0 }, Float:{ 0.0, 0.0, 0.0, 0.0 } );
}

public @ClassWeaponUpdate ( Client, Level )
{
switch ( Level )
{
case 0: // Buu Gotenks
{
addClassItem( Client, "weapon_melee", true );
addClassItem( Client, "weapon_kiblast" );
addClassItem( Client, "weapon_regeneration" );
addClassItem( Client, "weapon_candy" );
addClassItem( Client, "weapon_genericbeam" );
addClassItem( Client, "weapon_mouthblast" );
addClassSpecial( Client, "kaioken" );

}
}
}

PluginPreCache ()
{
precache_model( "models/player/ecx.buu-gotenks/ecx.buu-gotenks.mdl" );
precache_model( "models/evolution/Auras/shape_01.mdl" );
}

What words I put in place of kaioken for I have super ghost kamikaze attack in this part of code:

"addClassSpecial( Client, "___________" );"

I included kaioken to give a exemple

the question is confusing cause i'm not good in English
sorry
 
Last edited:
New Member
Joined
Jul 14, 2010
Messages
7
Best answers
0
I got it!!
the sentense is:
"addClassSpecial( Client, "sgka" );"
 
New Member
Joined
Jul 27, 2010
Messages
18
Best answers
0
leonel sorry that im posting here but can uh help me i dont know how to give gokuu the kaioken atack X(
 
New Member
Joined
Jul 14, 2010
Messages
7
Best answers
0
no problem FuRry
you must open the classextension and write it:

public @ClassWeaponUpdate ( Client, Level )
{
switch ( Level )
{
case 0: // Saiya-jin
{
addClassItem( Client, "weapon_melee", true );
addClassItem( Client, "weapon_solarflare" );
addClassItem( Client, "weapon_kiblast" );
addClassItem( Client, "weapon_spiritbomb" );
addClassItem( Client, "weapon_genericbeam" );
addClassItem( Client, "weapon_kamehameha" );
addClassItem( Client, "weapon_kametorpedo" );
addClassSpecial( Client, "kaioken" );
}
 
Last edited:

Users who are viewing this thread

Top Bottom