AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Kind've covered but not exactly.. (gun model) (https://forums.alliedmods.net/showthread.php?t=25617)

Shoyu 03-17-2006 05:24

Kind've covered but not exactly.. (gun model)
 
I've seen there are posts about how to change how gun models look, and how to do all that.. But I'm looking to create a all new weapon IE, for admins in place of an awp they could buy an old AWM (would look different and deal different damage) or something along those lines... Clueless to coding so it's very tough for me here...

Shoyu 03-18-2006 10:37

forgot to mention...
 
This is for counter-strike 1.6

[ --<-@ ] Black Rose 03-18-2006 11:00

i think T(+)rget is working on WTF module, wich can create weapons i belive.

also i found this in csx.inc
Code:

/* Custom Weapon Support */
/* function will return index of new weapon */
native custom_weapon_add( wpnname[],melee = 0,logname[]="" );
/* Function will pass damage done by this custom weapon to stats module and other plugins */
native custom_weapon_dmg( weapon, att, vic, damage, hitplace=0 );
/* Function will pass info about custom weapon shot to stats module */
native custom_weapon_shot( weapon,index ); // weapon id , player id

/* function will return 1 if true */
native xmod_is_melee_wpn(wpnindex);

/* Returns weapon name. */
native xmod_get_wpnname(wpnindex,name[],len);

/* Returns weapon logname. */
native xmod_get_wpnlogname(wpnindex,name[],len);

/* Returns weapons array size */
native xmod_get_maxweapons();


Twilight Suzuka 03-18-2006 11:06

That is just for statistics.


All times are GMT -4. The time now is 16:41.

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