AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Fake Gifts [v1.0.1] (https://forums.alliedmods.net/showthread.php?t=141880)

DarthNinja 10-30-2010 01:40

[TF2] Fake Gifts [v1.0.1]
 
1 Attachment(s)
[TF2] Fake Gifts!
Version 1.0.1
Credit to [NATO]Hunter's TF2 Ammopacks for ammopack spawning code


Description:
Spawn fake Halloween gifts or make yourself into a gift!

Spawned gifts are actually a small ammo-pack in disguise, if they vanish someone probably picked them up!

As a "gift" you are given godmode, this is removed when gift mode is toggled off.
Touching a resupply or respawning will remove your "gift" state in order to prevent graphical glitches with flying headgear.

Commands:
sm_fakegift - Spawns a fake gift!
sm_makemegift - Makes you into a gift!
Cvars:
sm_fakegifts_version - Plugin Version

Install Instructions:
  1. Place FakeGifts.smx into your addons/sourcemod/plugins/ folder.

Notes:
Default admin level is CHEATS.

Have fun!

ToDo:
  • -

Version History:
  • V1.0.0
    • Initial Release
  • V1.0.1
    • Now precaches model to prevent crashes

Downloads from 10/30/10 to 11/11/2010: 298

EHG 10-30-2010 02:06

Re: [TF2] Fake Gifts
 
I knew someone would make this xD
Not able to pick up the gift. It doesn't disappear. //EDIT - just realized that my ammo was full when testing, if you can pick up more ammo it works.

You can use
Code:

SetEntPropEnt(client, Prop_Data, "m_hObserverTarget", client);
SetEntProp(client, Prop_Data, "m_iObserverMode", 1);

to enable third person
and
Code:

SetEntProp(client, Prop_Send, "m_iObserverMode", 0);
to disable it.

you should also use TF2_AddCondition and TF2_RemoveCondition to manage those conditions.

Skyrider 10-30-2010 07:49

Re: [TF2] Fake Gifts
 
Quote:

sm_makemegift
Unknown command: sm_makemegift
Mmm.

Leonardo 10-30-2010 09:31

Re: [TF2] Fake Gifts
 
http://xpenia.pp.ru/upload/cp_manor_event0016_.jpg
lol'd.

XeonDead 10-30-2010 09:37

Re: [TF2] Fake Gifts
 
Aw, that's funny, but isn't it possible to make REAL gifts, not fake?

DarthNinja 10-30-2010 09:58

Re: [TF2] Fake Gifts
 
Quote:

Originally Posted by FF|Skyrider (Post 1337228)
Mmm.

Works fine here.
User error?

Quote:

Originally Posted by XeonDead (Post 1337291)
Aw, that's funny, but isn't it possible to make REAL gifts, not fake?

Nope.

FlaminSarge 10-30-2010 22:20

Re: [TF2] Fake Gifts
 
Maybe work with this guy or merge? http://forums.alliedmods.net/showthread.php?p=1337143

DarthNinja 10-31-2010 02:07

Re: [TF2] Fake Gifts
 
Quote:

Originally Posted by FlaminSarge (Post 1337915)

Now why would you propose something like that?
That plugin uses SDKHooks and only produces a solid, non-spinning gift box!
Anyway I was here first.... by 3 whole hours!

I'm planning to make an exploding version of the gift, as well as some other... "improvements". :grrr:

WiKer 10-31-2010 08:30

Re: [TF2] Fake Gifts
 
will it disapear?

Tom_007 10-31-2010 18:25

Re: [TF2] Fake Gifts
 
hi, can you make it stop spinning ?
like SetEntityMoveType(Ammopack, MOVETYPE_NONE);
but this doesn't work for me


All times are GMT -4. The time now is 08:20.

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