[TF2] Toss Buildings
Toss Buildings
Pretty simple idea: Engi can now throw his buildings while carrying them. To throw buildings, press your Reload key. They will construct while in air, bounce off walls and finally be usable at the desitnation. You can't throw during Waiting For Players, If a building lands in a spawn room or sticks into other things, it will blow up. Credits to zen for the idea :) Dependencies
ConVars
Custom Attribute This plugin also works as custom attribute. It is recommendedto use Hidden dev attributes, but custom attributes is also supported. I'm not too familiar with hidden dev attributes, but the entry should probably look something like this (Don't forget to give it a unique id aka number somewhere above 4000): PHP Code:
1 - Dispenser , 2 - Teleporter , 4 - Sentrygun. The attribute overrides the config value. Please tell me if somethings not working with that, I still might have to adjust some checks. Library Other plugins can listen to buildings being tossed and landing. For more info check the include. If you block a building from being tossed, maybe tell the player why it's blocked (UX is important, mmkay). Don't forget to to add the gamedata file :) |
Re: [TF2] Toss Buildings
Update 22w21b
* Fixed weird crash when no building is held by the build tool * Added Version ConVar |
Re: [TF2] Toss Buildings
damn this sounds funny
add a video to the post =P |
Re: [TF2] Toss Buildings
Is this similar to that old video of either FlaminSarge's or Pelipoikas where he whips a teleporter into the air and it still teleports a person while flying through the air?
|
Re: [TF2] Toss Buildings
No you have to pickup the buildings. While it's thrown, it's most likely still constructing. But if you manage to get a exit airborne for construction time + teleport cooldown, you might be able to tp through before it lands.
|
Re: [TF2] Toss Buildings
Update to 22w22a
* Added ConVars to control building types and force for tossing * Added forwards to integrate with other plugins |
Re: [TF2] Toss Buildings
Update to 22w23b
* Made tossing more reliable, landing on slopes * Buildings will only start building once they landed * Picking up airborn objects no longer leaves ghost props * Buildings can now be thrown through players but will break if landing in players |
Re: [TF2] Toss Buildings
Would it be possible to make it so people can't throw buildings out of bounds or pass things like player clips, func_respawnroomvisualizer, etc?
I had a user who kept throwing their sentries in inaccessibles area to keep killing players or to access offlimit areas via engineer teleport throwing. |
Re: [TF2] Toss Buildings
Definitely possible in numerous ways. Could use that electric fizzle-out death effect to fizzle out buildings of any variety that get tossed into a respawn room of an opposing team. That'd be the neatest way to handle it in my opinion. Or just re-use the functionality of the building breaking when it lands inside a player and do the same thing for if it lands in an enemy respawn room.
|
Re: [TF2] Toss Buildings
Quote:
|
All times are GMT -4. The time now is 21:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.