AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [TF2] Spawn ducks for duck journal (https://forums.alliedmods.net/showthread.php?t=252807)

404UserNotFound 12-09-2014 17:10

[TF2] Spawn ducks for duck journal
 
Snipping this as Valve is mad that they can't fix the duck spawning thing, and they view the whole duck spawning business as "cheating without hacking". Sorry Valve :(

404UserNotFound 12-09-2014 17:18

Re: [TF2] Spawn ducks for duck journal
 
Actually, the ducks this spawn seem to automatically respawn in place fairly quickly. Just spam-spawn about a hundred at your feet and stand somewhere.

Jessecar96 12-09-2014 17:20

Re: [TF2] Spawn ducks for duck journal
 
Wow rude

404UserNotFound 12-09-2014 17:30

Re: [TF2] Spawn ducks for duck journal
 
Quote:

Originally Posted by Jessecar96 (Post 2233096)
Wow rude

lol that's the 3rd time you've said that (twice in Scrap.tf chat)

RussianK 12-10-2014 00:27

Re: [TF2] Spawn ducks for duck journal
 
Hey umm, I'm new to the modding scene, and I was wondering if you could tell me how to run this, do I just paste it into the console? Do I do this in an online game? If you can, add me on steam, ID: krotovxxx

ddhoward 12-10-2014 00:47

Re: [TF2] Spawn ducks for duck journal
 
Quote:

Originally Posted by RussianK (Post 2233220)
Hey umm, I'm new to the modding scene, and I was wondering if you could tell me how to run this, do I just paste it into the console? Do I do this in an online game? If you can, add me on steam, ID: krotovxxx

https://wiki.alliedmods.net/Introduction_to_sourcepawn
https://wiki.alliedmods.net/Introduc...rceMod_Plugins

Astrak 12-10-2014 05:36

Re: [TF2] Spawn ducks for duck journal
 
1 Attachment(s)
Hmm... Is there any way you could modify this to make it spawn Quackston Hale ducks instead of the regular ducks?

Also, I fiddled with the code a bit and made a plugin out of it that spawns them where you're looking.

ddhoward 12-10-2014 06:04

Re: [TF2] Spawn ducks for duck journal
 
Quote:

Originally Posted by Astrak (Post 2233312)
Hmm... Is there any way you could modify this to make it spawn Quackston Hale ducks instead of the regular ducks?

Also, I fiddled with the code a bit and made a plugin out of it that spawns them where you're looking.

Please do not attach smx files when the .sp Get Plugin link works for that plugin.

404UserNotFound 12-10-2014 13:42

Re: [TF2] Spawn ducks for duck journal
 
Quote:

Originally Posted by Astrak (Post 2233312)
Hmm... Is there any way you could modify this to make it spawn Quackston Hale ducks instead of the regular ducks?

Also, I fiddled with the code a bit and made a plugin out of it that spawns them where you're looking.

I should've labelled things better:

PHP Code:

SetEntProp(entProp_Send"m_bSpecial"1); // 1 = 50XP "Quackston" duck, 0 = Normal duck
SetEntProp(entProp_Send"m_nSkin"21); // 21 = Quackston Hale skin 

Dunno how you didn't think to copy those two entprops.

Astrak 12-10-2014 23:11

Re: [TF2] Spawn ducks for duck journal
 
Quote:

Originally Posted by abrandnewday (Post 2233525)
I should've labelled things better:

PHP Code:

SetEntProp(entProp_Send"m_bSpecial"1); // 1 = 50XP "Quackston" duck, 0 = Normal duck
SetEntProp(entProp_Send"m_nSkin"21); // 21 = Quackston Hale skin 

Dunno how you didn't think to copy those two entprops.


Yep. I realized it pretty soon after posting that. I'll just blame it on a lack of sleep.


All times are GMT -4. The time now is 23:21.

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