Raised This Month: $51 Target: $400
 12% 

[TF2] Horseless Headless Horsemann


Post New Thread Reply   
 
Thread Tools Display Modes
h00x
Senior Member
Join Date: Jun 2009
Old 12-04-2010 , 01:58   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #111

So we can spawn the HHH now and let him round around killing players using this plugin, but is there anyways to spawn the ghost from last year aswell? I'd like this opition if its possible?
h00x is offline
Geit
Senior Member
Join Date: Oct 2009
Location: Home
Old 12-04-2010 , 09:45   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #112

Quote:
Originally Posted by h00x View Post
So we can spawn the HHH now and let him round around killing players using this plugin, but is there anyways to spawn the ghost from last year aswell? I'd like this opition if its possible?
The ghost is on a track that is pre-built into maps and everything it does is essentially scripted. It is not an NPC.
Geit is offline
h00x
Senior Member
Join Date: Jun 2009
Old 12-04-2010 , 14:36   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #113

Yeah, figured as much... Anyways, thanks for the reply!
h00x is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 12-04-2010 , 15:13   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #114

naris I've figured out where the plugin crashes. If you load the plugin then spawn a horsemann with a different model, it crashes. Always. The first horsemann spawned has to always be a normal horsemann.... Something weird is happening in the precache otherwise.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-04-2010 , 19:37   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #115

Quote:
Originally Posted by h00x View Post
So we can spawn the HHH now and let him round around killing players using this plugin, but is there anyways to spawn the ghost from last year aswell? I'd like this opition if its possible?
You can specify the ghost's model for the horsemann using this plugin...
naris is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-08-2010 , 12:09   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #116

Quote:
Originally Posted by FlaminSarge View Post
If you load the plugin then spawn a horsemann with a different model, it crashes.
It was setting the new model AFTER calling DispatchSpawn(), so it needed the original model to spawn, hence the crash

So, I have fixed it again to set the model BEFORE calling DispatchSpawn().
Try this one and let me know if it fixes the crashes.

Last edited by naris; 12-11-2010 at 18:38.
naris is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 12-11-2010 , 16:56   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #117

Now it's only spawning with the horsemann model (I think when its an invalid model it does, too, instead of just canceling the spawn).

I haven't had the chance to look at the code (laziness, sorry :C ) but I think that some check is showing false at that point.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 12-11-2010 at 16:58.
FlaminSarge is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-11-2010 , 18:40   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #118

Quote:
Originally Posted by FlaminSarge View Post
Now it's only spawning with the horsemann model
Well now I know why it set the model After DispatchSpawn()...

So this version should work, it always precaches the regular model in addition to whichever model you use, which it sets AFTER DispatchSpawn().
Attached Files
File Type: sp Get Plugin or Get Source (horsemann.sp - 724 views - 16.5 KB)
File Type: inc horsemann.inc (810 Bytes, 255 views)

Last edited by naris; 12-11-2010 at 18:44.
naris is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 12-12-2010 , 01:47   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #119

naris, I got it working where it set model before dispatchspawn at one point.

Also apparently DispatchKeyValue(entity, "modelname", model) autoprecaches, according to javalia (I looked at the code in his plugin, he's not doing precaching yet any model seems to work).
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 12-13-2010 , 11:00   Re: [TF2] Horseless Headless Horsemann
Reply With Quote #120

Can someone please find a way to get rid of:
Quote:
YOU ARE IT! MELEE HIT AN ENEMY TO TAG THEM IT!
You are no longer IT.
YOU ARE IT! MELEE HIT AN ENEMY TO TAG THEM IT!
You are no longer IT.
YOU ARE IT! MELEE HIT AN ENEMY TO TAG THEM IT!
You are no longer IT.
YOU ARE IT! MELEE HIT AN ENEMY TO TAG THEM IT!
H
in chat, and the annoying sounds as well when you are it.. I'm getting spammed here.
__________________
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
Reply



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 13:57.


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