Raised This Month: $51 Target: $400
 12% 

[TF2] Portable Dispenser?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Legendoniance
Junior Member
Join Date: Oct 2013
Old 04-25-2020 , 04:57   [TF2] Portable Dispenser?
Reply With Quote #1

Hello!

I was recently playing through Machine Attacks with a group of friends, and I thought that one of the custom powerup mechanics was really cool.

Basically, it's where you pick up a powerup (visually the bomb or briefcase model in game), and it gives you a random custom powerup.

One of them is a dispenser, which attaches to the player's back.
Would anyone be able to replicate this?

Only the dispenser-on-the-back part, not the picking up of powerups and stuff, and it is to be triggered/done with commands (defaulting to admin only access).
The dispenser must work like a normal dispenser, and not just for visual appearance.

Thank you in advance!

If screenshot below doesn't work, use: 119.74.217.29/Capture.PNG


Last edited by Legendoniance; 04-25-2020 at 05:03. Reason: Added screenshot
Legendoniance is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 04-25-2020 , 11:06   Re: [TF2] Portable Dispenser?
Reply With Quote #2

I made this https://github.com/Pelipoika/TF2BackpackDispenser a long time ago, it has some bugs IIRC and needs a gamedata update.

You can get updated gamedata from https://asherkin.github.io/vtable/

Press RELOAD + ATTACK2 at same time while looking at your dispenser to equip it
__________________

Last edited by Pelipoika; 04-25-2020 at 11:07.
Pelipoika is offline
Legendoniance
Junior Member
Join Date: Oct 2013
Old 04-26-2020 , 06:38   Re: [TF2] Portable Dispenser?
Reply With Quote #3

L 04/26/2020 - 187:56: [SM] Exception reported: Failed To create SDKCall for CBaseObject::MakeCarriedObject offset
L 04/26/2020 - 187:56: [SM] Blaming: backpackdispenser.smx
L 04/26/2020 - 187:56: [SM] Call stack trace:
L 04/26/2020 - 187:56: [SM] [0] SetFailState
L 04/26/2020 - 187:56: [SM] [1] Line 31, backpackdispenser.sp::OnPluginStart
[SM] Plugin backpackdispenser.smx failed to load: Error detected in plugin startup (see error logs).

Sorry I have 0 knowledge of SourcePawn and have no idea how to fix this, would it be possible for you to do a little tweak to make it work?
Legendoniance is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 04-26-2020 , 07:04   Re: [TF2] Portable Dispenser?
Reply With Quote #4

Ok, i updated the gamedata. redownload tf2.backpackdispenser.txt
__________________
Pelipoika is offline
Legendoniance
Junior Member
Join Date: Oct 2013
Old 04-26-2020 , 07:16   Re: [TF2] Portable Dispenser?
Reply With Quote #5

Still gives me the same error
Legendoniance is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 04-26-2020 , 08:44   Re: [TF2] Portable Dispenser?
Reply With Quote #6

Works just fine
__________________
Pelipoika 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 21:39.


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