Raised This Month: $ Target: $400
 0% 

Weapons' item definition indexes stay the same.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SadScrub
Member
Join Date: May 2014
Old 06-03-2014 , 11:16   Re: Weapons' item definition indexes stay the same.
Reply With Quote #4

Quote:
Originally Posted by WildCard65 View Post
what's index set to?
Index used to refer to a weapon index I set for the program (Primary slot, 45 (Force-a-Nature) to be precise). It's been now rewritten for 3 slots for more testing purposes.

Quote:
Originally Posted by Powerlord View Post
You're remembering to remove the previous weapon before giving them the new one?
Yes, in both my Post_Inventory_Application & Player_Spawn hooks. Here is the full code of the program, I apologize for not posting it sooner:

Spoiler


This force-spawns you as a Scout with the Force-a-Nature, Bonk! and Atomizer. They all do what they're supposed to (knockback, consumable/immunity and triple jump, respectively) and have proper skins, but, for example, the Atomizer still has the Bat taunt (that's how I noticed that the indexes differ in the first place).

Last edited by SadScrub; 06-03-2014 at 11:18.
SadScrub is offline
 



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 21:29.


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