Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 106
Search took 0.01 seconds.
Search: Posts Made By: Luke Penny
Forum: Scripting 10-04-2012, 02:21
Replies: 9
Views: 2,351
Posted By Luke Penny
Need help optimizing a function

I call this function on round start, and it occasionally causes a bit of lag when it's called. It's basically making absolute sure that the map is loaded and the entities exist, and then looping...
Forum: Scripting 04-02-2011, 21:36
Replies: 4
Views: 3,321
Posted By Luke Penny
Re: "Error 010: Invalid function or declaration" on include line

I do believe you need quotes when including files not in the /include/ folder?

#include "tf2adventure/npc_talk"
#include "tf2adventure/npc_actors"
etc
Forum: Scripting 03-12-2011, 16:52
Replies: 6
Views: 1,134
Posted By Luke Penny
ConVar Handles Optimization

I'm doing a lot of convar changes frequently - wondering what would be the most efficient way to do this. Over the course of months I've used three different methods but I'm not sure which would be...
Forum: Scripting 01-25-2011, 06:15
Replies: 1
Views: 910
Posted By Luke Penny
[L4D] Removing Versus Survival Multiplier

I'm trying to remove the survival multiplier in versus, which multiplies the teams score depending on how many survivors were alive when the round ended. I've tried a bunch of netprops that seem to...
Forum: Plugins 01-23-2011, 00:12
Replies: 53
Views: 69,158
Posted By Luke Penny
Forum: Scripting 01-18-2011, 23:41
Replies: 52
Views: 19,488
Posted By Luke Penny
Re: Showing sprites above players head

What issues exactly?
//This after creating the sprite
SDKHook(ent, SDKHook_SetTransmit, SetTransmit);

//Return Plugin_Handled for clients who shouldn't see it
public Action:SetTransmit(entity,...
Forum: Scripting 01-18-2011, 23:23
Replies: 52
Views: 19,488
Posted By Luke Penny
Re: Showing sprites above players head

When you say anything, do you also mean non-player entities that have no parent? If so then I'd think the problem is the sprite entity itself.

Otherwise, in TF2 anything parented to a player (and...
Forum: Scripting 01-18-2011, 22:29
Replies: 52
Views: 19,488
Posted By Luke Penny
Re: Showing sprites above players head

Hmm...The Admin ESP (http://forums.alliedmods.net/showthread.php?t=112254) plugin for CS:S accomplished roughly this, however i'm not sure if the differences between the two games prevent using the...
Forum: Scripting 01-18-2011, 21:59
Replies: 52
Views: 19,488
Posted By Luke Penny
Re: Showing sprites above players head

I believe env_sprite can not be parented (or rather should not) - it simply will not display if you parent it to anything. Use env_sprite_oriented instead, and it should properly move with the parent...
Forum: Metamod:Source Plugins 11-09-2010, 21:19
Replies: 1,843
Views: 1,275,251
Posted By Luke Penny
Re: Stripper:Source (Mac support added)

Many thanks psychonic, much appreciated!
Forum: General 11-07-2010, 02:59
Replies: 25
Views: 6,702
Posted By Luke Penny
Re: Valve update 1.0.2.2

It isn't related to stripper.

Stripper is as far as I know still 100% broken on Linux L4D1. Not sure about Windows.
No word on a fix/update of any sort really.
Forum: Metamod:Source Plugins 10-30-2010, 20:57
Replies: 1,843
Views: 1,275,251
Posted By Luke Penny
Re: Stripper:Source (Mac support added)

All my linux L4D1 servers have stripper not working since the recent update.

Any chance of a fix?
Forum: Extensions 10-30-2010, 18:47
Replies: 2,726
Views: 2,778,299
Posted By Luke Penny
Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)

SDKHooks wont load since the latest L4D update...

And of course what psychonic posted on the last page...Get the same error as others
Any way to fix it?
Forum: General 10-29-2010, 19:45
Replies: 25
Views: 6,702
Posted By Luke Penny
Re: Valve update 1.0.2.2

Nothing seems to be working in L4D1 after this update. SDKhooks, Stripper, Left4Downtown...any word on these getting updated to accommodate this? Basically everything on my servers depend on them so...
Forum: Scripting 10-16-2010, 20:04
Replies: 0
Views: 782
Posted By Luke Penny
[L4D] Hook Slot Commands

I am trying to hook whenever a player presses their 6, 7, 8 keys etc, which by default are bound to the commands "slot6" "slot7" "slot8" and so on. I've tried AddCommandListener, RegConsoleCmd and so...
Forum: Scripting 10-13-2010, 20:46
Replies: 4
Views: 5,587
Posted By Luke Penny
Re: Get Entity Targetname [L4D]

Sorry about that - Wrong copy paste! I am using Get, not Set. The property not found must have been somewhere else in my code...

However, I'm still having trouble getting this name...Stuff's...
Forum: Scripting 10-13-2010, 20:26
Replies: 4
Views: 5,587
Posted By Luke Penny
Get Entity Targetname [L4D]

I've tried everything I can think of, but I simply can not get the targetname of props/brush entities. From what I can find with the lovely search feature, people have used m_iName and m_target, both...
Forum: Scripting 10-06-2010, 20:46
Replies: 11
Views: 3,703
Posted By Luke Penny
Re: Get World Bounds

Depends on the game - If the spawn area is defined with a brush entity it's most likely possible using the same thing as above, if not then you could try defining a certain area around the...
Forum: Scripting 10-06-2010, 20:32
Replies: 11
Views: 3,703
Posted By Luke Penny
Re: Get World Bounds

Apparently, it is. Did a little tinkering, and this works.


new Float:maxbounds[3];
GetEntPropVector(0, Prop_Data, "m_WorldMaxs", maxbounds);
Before I was trying to get the worlds edict by...
Forum: Scripting 10-06-2010, 19:44
Replies: 11
Views: 3,703
Posted By Luke Penny
Get World Bounds

I'm trying to get the world min and max bounds and store them in a vector, but I'm not sure where to start. All I know is there is an m_WorldMins and m_WorldMaxs but I'm not sure how I would get them.
Forum: Scripting 09-30-2010, 21:57
Replies: 3
Views: 1,573
Posted By Luke Penny
HeadShot Only?

I'm trying to make Tanks only take damage from headshots in L4D, but it doesn't seem to work.

Here's what I have:


public Action:Event_Player_Hurt(Handle:event, const String:name[],...
Forum: Plugin/Gameplay Ideas and Requests 09-27-2010, 01:09
Replies: 7
Views: 1,994
Posted By Luke Penny
Re: How to make a command run each "x" seconds

I'm not entirely sure what you want here - But I quickly made this in a few seconds because I'm lazy. Simply make a file called repeatedcommands.cfg in your cfg/sourcemod/ folder, and it will be...
Forum: Scripting 09-22-2010, 19:42
Replies: 3
Views: 1,305
Posted By Luke Penny
Vertical Space Above Player

I'm trying to check if a player is inside a building or not, so I want to check the vertical space above them for a roof or some sort of shelter above them. I'm not entirely sure how I would go about...
Forum: Scripting 09-19-2010, 03:16
Replies: 3
Views: 948
Posted By Luke Penny
Re: Understanding Natives?

Thanks, I finally understand it! Got a little confused about what to do in the second plugin.
Forum: Scripting 09-18-2010, 18:20
Replies: 3
Views: 868
Posted By Luke Penny
Re: Compile manually?

You can also (on windows) just drag the .sp file onto compile.exe, and it will compile that single file. (the include/ directory stuff still applies)
Showing results 1 to 25 of 106

 
Forum Jump

All times are GMT -4. The time now is 04:54.


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