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

Showing results 1 to 25 of 89
Search took 0.03 seconds.
Search: Posts Made By: wgooch
Forum: TF2Items 01-23-2014, 13:57
Replies: 10
Views: 5,021
Posted By wgooch
Re: Change item name, and change attribute though code?

That's a whole lot of useful information, awesome work finding all that.

Given all that you wrote, I reworked the CAttribute_String structure and then tried creating a new "taunt success sound"...
Forum: TF2Items 01-16-2014, 09:45
Replies: 10
Views: 5,021
Posted By wgooch
Re: Change item name, and change attribute though code?

I was unaware that there were attributes used solely by the server. You're right, in the case of those it would be safe to change them assuming the client is never given the opportunity to read them....
Forum: TF2Items 12-25-2013, 10:22
Replies: 10
Views: 5,021
Posted By wgooch
Re: Change item name, and change attribute though code?

The bottom line with string attributes is that they cannot safely be changed or added by the server.
String attribute values are actually pointers to a CAttribute_String object that stores...
Forum: Extensions 02-12-2013, 16:51
Replies: 362
Views: 228,687
Posted By wgooch
Re: SendProxy Manager

I don't believe doing so would be possible with this extension right now. You could however use TF2Items and apply the "hide enemy health" attribute (336) to one of the player's weapons.
Note that...
Forum: Scripting 08-21-2012, 13:09
Replies: 3
Views: 1,177
Posted By wgooch
Re: [TF2] Getting Wave Acquired Credits

new ent = FindEntityByClassname(-1, "tf_mann_vs_machine_stats");
if( IsValidEntity(ent) )
{
new offs = FindSendPropInfo("CMannVsMachineStats", "nCreditsDropped");
PrintToServer("%d",...
Forum: Scripting 04-10-2011, 19:11
Replies: 9
Views: 6,692
Posted By wgooch
Re: Force TF2 bot to build sentry at location

You could try creating a prop_dynamic with a model and teleporting that instead, however I'm not seeing any problems with the code though.

You could try teleporting the entity before...
Forum: Scripting 04-09-2011, 20:51
Replies: 9
Views: 6,692
Posted By wgooch
Re: Force TF2 bot to build sentry at location

You could try messing with the "bot_hint_sentrygun" entity used in tr_dustbowl.
I assume that if you spawn it somewhere, the nearest bot on the specified team (TeamNum keyvalue) would build there.
...
Forum: Scripting 07-03-2009, 21:11
Replies: 2
Views: 1,714
Posted By wgooch
Re: [L4D] Stripping CHEAT Flag of 'respawn'?

That's pretty awesome, is there by any chance a way to force the player into a ghost state? (Infected spawning state)
The ghost command and respawn command cannot be stripped of cheat flags.
Forum: Scripting 07-03-2009, 21:08
Replies: 1
Views: 1,125
Posted By wgooch
[L4D]GiveNamedItem

Just before June 25's l4d update, I had plugins
using GiveNamedItem to create an item and then WeaponEquip to force them to use it, after the update it is unable to create an entity with...
Forum: Scripting 05-26-2009, 21:18
Replies: 2
Views: 1,319
Posted By wgooch
Re: [L4D] Changing spawn times?

Problem being that with that it sets a constant spawn time for every player, I'd like to only set a single player's spawn time, I did try playing with that for some time though.
Forum: Scripting 05-14-2009, 18:06
Replies: 2
Views: 1,319
Posted By wgooch
[L4D] Changing spawn times?

I've been trying to find a way to change the time till a player enters ghost without altering it for any other player, I've found the netprop m_ghostSpawnClockCurrentDelay, but it always seems to...
Forum: Scripting 05-14-2009, 12:07
Replies: 5
Views: 2,232
Posted By wgooch
Re: Removing cheat flags from all commands for admins.

That's the current solution I'm using, it has downsides though, all cheat vars such as z_common_limit will reset to the default and you wont get survival medals if you use it once during the round.
Forum: Scripting 05-13-2009, 23:18
Replies: 4
Views: 1,770
Posted By wgooch
Re: [L4D] cmd respawn without sv_cheats

respawn, fire, ghost, and boom do not have flags. I was only able to accomplish an admin command for them by turning sv_cheats on without a notification executing the command then resting it to its...
Forum: Scripting 05-13-2009, 23:14
Replies: 5
Views: 2,232
Posted By wgooch
Re: Removing cheat flags from all commands for admins.

Does removing the cheat flag from boom and fire even work? Last I checked it was like ghost and respawn. It doesn't appear to have any flags at all, seems like it's hard coded into sv_cheats
Forum: Plugins 05-10-2009, 21:37
Replies: 62
Views: 59,776
Posted By wgooch
Re: L4D Ledge Release

Found a small bug, don't know if it's been mentioned or patched yet, but here it is.
If the value of health that you have set for the player to lose when dropping is more than the amount of health...
Forum: Scripting 05-05-2009, 18:13
Replies: 8
Views: 7,513
Posted By wgooch
Re: Getting the entity index of a player

AHA! Thank you, just what I was searching for
Forum: Scripting 05-04-2009, 19:49
Replies: 8
Views: 7,513
Posted By wgooch
Re: Getting the entity index of a player

I'm looking for the entity index of the player, for example, if I enter find_ent weapon_ into the console, I will get something like this

'weapon_molotov_spawn' : '' (entindex 28)
...
Forum: Scripting 05-03-2009, 19:04
Replies: 8
Views: 7,513
Posted By wgooch
Re: Getting the entity index of a player

Let me revise the question. I'm looking for a way to get the entity index of a player entity, such as using GetClientAimTarget and looking at an entity but instead simply targeting the player with a...
Forum: Scripting 05-03-2009, 18:18
Replies: 8
Views: 7,513
Posted By wgooch
Getting the entity index of a player

Ok really, I have absolutely no idea how I can accomplish this without aiming at the client and using GetClientAimTarget
Forum: Scripting 05-02-2009, 23:43
Replies: 4
Views: 2,302
Posted By wgooch
Re: Getting a weapons ent index

Very helpful, thanks!

I'm still stumped on how to get the ent index of a weapon a player is holding
Forum: Scripting 05-02-2009, 20:47
Replies: 4
Views: 2,302
Posted By wgooch
Re: Getting a weapons ent index

I've got this code up for equipping a player with a weapon
public Action:EquipPlayer(client, args)
{
if (args < 2)
{
ReplyToCommand(client, "[SM] Usage: sm_equip <#userid|name>...
Forum: Scripting 05-02-2009, 18:53
Replies: 4
Views: 2,302
Posted By wgooch
Getting a weapons ent index

I'm trying to write a plugin for sourcemod that allows you to equip a weapon to a player and remove weapons from players using RemovePlayerItem and EquipPlayerWeapon, I need to know how to create the...
Forum: Plugins 04-30-2009, 19:31
Replies: 638
Views: 392,410
Posted By wgooch
Re: L4D Vote Manager 2

If I have an admin with an access level of z and set l4d_custom_vote_access to c to allow any admins with vote access to call a l4dvote, they get the message "
[SM] <name> tried to start a Custom...
Forum: Scripting 04-30-2009, 18:15
Replies: 14
Views: 5,555
Posted By wgooch
Re: Counting players ingame (Left 4 Dead voting plugin inside)

Wow, never noticed that plugin anywhere, thanks!
Forum: Scripting 04-23-2009, 22:49
Replies: 14
Views: 5,555
Posted By wgooch
Showing results 1 to 25 of 89

 
Forum Jump

All times are GMT -4. The time now is 17:51.


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