ESF Old Timer
βοΈ HL Verified
π Steam Linked
π Senior Member
I need some help with some coding stuff.
The problem I want to create a new weapon and want to use the specialbeamcannon to edit it. I allready tryed some stuff but it didnt work at all.
This is about ECX.
The charge is ok but when he release it nothing.
And goes back to the sbc.
I tryed this before just to see what would happen:
public @WeaponSBC ( Client, Weapon, const Class[] )
{
if ( equal( Class, "specialbeamcannon" ))
{
//attachWeaponHEAD( Weapon, "sprites/ecx-xp.bigbang.spr", kRenderTransAdd, 250.0, 1.0, 10.0 );
set_msg_arg_int( 2, ARG_SHORT, SPR_FS_S );
set_msg_arg_int( 3, ARG_SHORT, SPR_FS_S );
set_msg_arg_int( 4, ARG_SHORT, SPR_FS_S );
set_msg_arg_int( 5, ARG_SHORT, SPR_FS_S );
}
}
but like I said it didnt work and there where no changes.
All I need to know this part from the code:
/**
1 - LONG - Entity - do not edit
2 - SHORT - Head A
3 - SHORT - Head B
4 - SHORT - Size
5 - SHORT - Trail A
6 - SHORT - Trail B
7 - COORD - X - do not edit
8 - COORD - Y - do not edit
9 - COORD - Z - do not edit
**/
(this is just an example)
I hope there is someone here who can help me out.
Greets Sting
The problem I want to create a new weapon and want to use the specialbeamcannon to edit it. I allready tryed some stuff but it didnt work at all.
This is about ECX.
The charge is ok but when he release it nothing.
And goes back to the sbc.
I tryed this before just to see what would happen:
public @WeaponSBC ( Client, Weapon, const Class[] )
{
if ( equal( Class, "specialbeamcannon" ))
{
//attachWeaponHEAD( Weapon, "sprites/ecx-xp.bigbang.spr", kRenderTransAdd, 250.0, 1.0, 10.0 );
set_msg_arg_int( 2, ARG_SHORT, SPR_FS_S );
set_msg_arg_int( 3, ARG_SHORT, SPR_FS_S );
set_msg_arg_int( 4, ARG_SHORT, SPR_FS_S );
set_msg_arg_int( 5, ARG_SHORT, SPR_FS_S );
}
}
but like I said it didnt work and there where no changes.
All I need to know this part from the code:
/**
1 - LONG - Entity - do not edit
2 - SHORT - Head A
3 - SHORT - Head B
4 - SHORT - Size
5 - SHORT - Trail A
6 - SHORT - Trail B
7 - COORD - X - do not edit
8 - COORD - Y - do not edit
9 - COORD - Z - do not edit
**/
(this is just an example)
I hope there is someone here who can help me out.
Greets Sting