Raised This Month: $ Target: $400
 0% 

[resolved] Custom Weapon Slots in The Specialists


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
stupok
Veteran Member
Join Date: Feb 2006
Old 01-04-2007 , 16:36   [resolved] Custom Weapon Slots in The Specialists
Reply With Quote #1

I have a question about custom weapons in the specialists. I've searched the specialists forums and amx forums, but I can't find any information on custom weapon slots. In the tsconst.inc file, there is this line:

Code:
#define TSMAX_WEAPONS 44	// 37 + throwing knife + brekable + 5 custom weapon slots
This seems to suggest that there is some way to add custom weapons... I'm just wondering if this actually bears any significance. I'd like to attempt to make a custom weapon for The Specialists, and I thought there may be some method I'm unaware of since there are slots dedicated to "custom weapons".

Last edited by stupok; 01-05-2007 at 02:11.
stupok is offline
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 01-04-2007 , 17:09   Re: Custom Weapon Slots in The Specialists
Reply With Quote #2

I like how they misspelled breakable.

I really don't know if you could make official custom weapons, but I know you could emulate some weapons fairly convincingly, it would just be a lot of work.
Bad_Bud is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-04-2007 , 19:33   Re: Custom Weapon Slots in The Specialists
Reply With Quote #3

The custom weapons are used for stat tracking. It doesn't create a weapon for you.

IE: If you have a plugin that makes you blow up on death, you can register a custom weapon for that explosion with custom_weapon_add, and when someone gets damaged by the explosion, use custom_weapon_dmg so that stats (and other plugins) can track it.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 01-04-2007 at 19:37.
XxAvalanchexX is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 01-04-2007 , 19:42   Re: Custom Weapon Slots in The Specialists
Reply With Quote #4

tsx.inc doesn't have that function. Interesting anyways, thanks Avalanche.

Last edited by stupok; 01-04-2007 at 20:20.
stupok is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-04-2007 , 20:40   Re: Custom Weapon Slots in The Specialists
Reply With Quote #5

Quote:
Originally Posted by stupok69 View Post
tsx.inc doesn't have that function.
Mine does. But it's not listed in the funcwiki.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:30.


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