Quote:
Originally Posted by Mr. Zero
Ah sorry I thought you were more versed in SourcePawn.
If you wish to compile a plugin yourself I would consider reading the wiki as it contains everything you could possibly need.
Otherwise if you know exactly how you want this spitter projectile plugin, then I will gladly compile you a plugin. Attached is a simple admin plugin that allows spawning of spitter projectiles using the commands sm_throwspit and sm_createspit.
Code:
sm_throwspit <#userid|name> [velocity] - Throws a spitter projectile as a Spitter Special Infected would.
sm_silentthrowspit <#userid|name> [velocity] - Throws a spitter projectile as a Spitter Special Infected would, without showing activity.
sm_createspit <#userid|name> [x] [y] [z] - Creates a spitter projectile at location of thrower or specified coordinates.
sm_silentcreatespit <#userid|name> [x] [y] [z] - Creates a spitter projectile at location of thrower or specified coordinates, without showing activity.
Depending on how you imagine the plugin to work, let me know if you wish to change the setup of the commands.
Gamedata from the above spitter projectile include is still required on the server!
|
I do indeed have the gamedata from the original post, as well as the original spitter .include file too.
The commands load up in console, but when typed it it appears their function does not... function.
It says [SM] Forced <user> to throw spit. However, no actual spit is ejected from the player nor spawned at their feet with either command.
It even says that message when I use the sm_createspit command but I'm sure that's on purpose and doesn't actually matter.
If you can't think of what might be wrong I suppose I could try a fresh install of sourcemod and use just this plugin, which should tell me that I have a confliction of some sort.
Edit: And now that I think about actually applying this, what would be a lovely addition is if the throwspit command in particular made the hock-up sound from the player who "threw" the spit. On top of this, a variable to turn this off should it be annoying to others would also be lovely.
A new command to turn on and off the actual spitter spit noise for the sm_throwspit command. If it as simple as I hope it is, would you mind?