Quote:
Originally Posted by AfonsoTheEnthusiast
Some bugs I found while testing the plugin with bots:
|
Thanks for the input! Plugin in orignal post updated to version 1.11.
This version fixes bugs mentioned by AfonsoTheEnthusiast. It also adds a few features.
New convar:
sm_gimme_enforce_cosmetic_conflicts (0 allows cosmetics to overlap each other. 1(default) prevents overlapping of cosmetics)
New Player Command:
!clonep <source> - Makes you a permanent clone of the source player. You will have the same weapons and cosmetics as the source player, even if you die or touch a locker. Note, you retain the items at the time of the command. Meaning if you issue the command when the source player was a soldier you'll continue to be a soldier and have those same soldier items, even if the source player changes to a different class.
New Admin Commands:
!cloneothersp <targets> <source> - I changed the target/source order on cloning others to make more sense. This version of the command will permanently make all targets a clone of the source player. They will continue to spawn as the source class and have the source cosmetics and weapons, even if they die or touch a locker.
!stripall (targets) - Removes model from target player. Removes all cosmetics and wearable items, spellbook, and grappling hook from the target player. Removes all player weapons and replaces them with their class appropriate stock weapons.
!stripitems (targets) - Same as !stripall but only removes cosmetic and wearable items.
!stripweapons (targets) - Same as !stripall but only removes and replaces weapons.
!regen (targets) - Will regenerate the player the same as if they touched a resupply locker. Useful if you want to return the player to their originally equipped items.
New feature:
Banned items. You can edit the sourcecode to add banned items by item definition index. Your banned item index number goes into the bannedItems array. Be sure to increment the array number by the number of index items you are adding.
Paint IDs used by this plugin:
PHP Code:
1: A color similar to slate
2: A deep commitment to purple
3: A distinctive lack of hue
4: A manns mint
5: After eight
6: Aged Moustache Grey
7: An Extraordinary abundance of tinge
8: Australium gold
9: Color no 216-190-216
10: Dark salmon injustice
11: Drably olive
12: Indubitably green
13: Mann co orange
14: Muskelmannbraun
15: Noble hatters violet
16: Peculiarly drab tincture
17: Pink as hell
18: Radigan conagher brown
19: A bitter taste of defeat and lime
20: The color of a gentlemanns business pants
21: Ye olde rustic colour
22: Zepheniahs greed
23: An air of debonair
24: Balaclavas are forever
25: Cream spirit
26: Operators overalls
27: Team spirit
28: The value of teamwork
29: Waterlogged lab coat