Raised This Month: $ Target: $400
 0% 

[TF2] Making a Building Level 3


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Alfonso Crawford
Member
Join Date: Feb 2012
Old 06-27-2014 , 01:04   [TF2] Making a Building Level 3
Reply With Quote #1

I want to mod the Southern Hospitality so that its buildings are level 3 from the get-go. (The counter-balance is that it won't be able to accelerate build time at all.)

I can't figure out how to grab ahold of the building and set its level: everything else in this idea is nothing to implement. Preferrably, the building would be subject to the full construction time, and not the faster redeploy duration.

UPDATE: as soon as I post this, I see player_builtobject. Of course. That's one aspect down, but does anyone know how to affect the level value?

ANOTHER UPDATE: I've learned that setting the upgrade level of the entity directly is a bad idea, but HL-SDK's Spawn Sentry on death mod has shown me how to access a bunch of sentry attributes! What I would like to do is have a building cycle through each level's animation, as though being redeployed, but at the speed of an initial putting up: is this possible, through entity attributes alone?

Last edited by Alfonso Crawford; 06-27-2014 at 02:46.
Alfonso Crawford 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:28.


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