AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Health Kits/Ammo Packs Model Lock! (https://forums.alliedmods.net/showthread.php?t=282374)

Benoist3012 05-05-2016 10:59

[TF2] Health Kits/Ammo Packs Model Lock!
 
2 Attachment(s)
[TF2] Health Kits/Ammo Packs Model Lock!

Decription:
-This plugin was originaly private, but after a scripting request, and how useful it could be for all servers I decided to make it public.
-This plugin blocks healkits and ammo packs from changing their models through different vision/gamemode.

Changelog:
Spoiler

Installation:
-Just drag and drop the .smx file into your plugins folder.

Total old download: 159

Chaosxk 05-05-2016 15:29

Re: [TF2] Health Kits/Ammo Packs Model Lock!
 
Nice plugin, now i know how override the models.

Also you can do this

FindEntityByClassname(healthammokit, "item_healthkit_*"))

to save a couple of lines.

Blinx 05-05-2016 16:24

Re: [TF2] Health Kits/Ammo Packs Model Lock!
 
Kudos for finding a way, my plugin was hooking OnEntityCreated, which only happens once per map, so it'll have slightly less overhead but that'll barely matter.

Powerlord 05-10-2016 17:48

Re: [TF2] Health Kits/Ammo Packs Model Lock!
 
Did you know that TF2 has a "powerup_model" KeyValue on all its ammo boxes and health kits explicitly so you can override the models on them?

Chaosxk 05-10-2016 20:13

Re: [TF2] Health Kits/Ammo Packs Model Lock!
 
Quote:

Originally Posted by Powerlord (Post 2418184)
Did you know that TF2 has a "powerup_model" KeyValue on all its ammo boxes and health kits explicitly so you can override the models on them?

From the last time i tested this, it didn't override the Halloween models.

Benoist3012 05-17-2017 14:32

Re: [TF2] Health Kits/Ammo Packs Model Lock!
 
Update, version 0.0.2 released.
Changelog:
-Improved model locking code.


All times are GMT -4. The time now is 22:46.

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