Search found 141 matches

by stonedegg
Tue Mar 31, 2015 1:24 pm
Forum: Plugin Development Support
Topic: Check if entity exists?
Replies: 4
Views: 3968

Any, but in my case I'm looking for hl2mp_ragdoll. I'm looking to do some delayed stuff on it, means I'm using the BaseEntity instance of a ragdoll and want to do stuff with it later. Problem is, if it's already removed, the server crashes. Is there something similar to BaseEntity.exists or do I hav...
by stonedegg
Tue Mar 31, 2015 1:22 pm
Forum: Code examples / Cookbook
Topic: Particle effects!
Replies: 36
Views: 89802

L'In20Cible wrote:The root (index 0) is returned if the given attachment name is not found.


Okay, well looks like the hl2mp player models are setup different then.

L'In20Cible wrote:No special reason, I simply didn't take the time to grab a signature for it yet.


Ah okay, thought it wouldn't be possible or so.
by stonedegg
Tue Mar 31, 2015 12:00 pm
Forum: Code examples / Cookbook
Topic: Particle effects!
Replies: 36
Views: 89802

Easiest way to do that from what I remember is to open the model in the HL Model Viewer, it lists the attachment points and shows you where they are on the model. Okay, thanks! The attachment index. For example, if you want to attach to the right foot of the player: [python]particle.set_parent(play...
by stonedegg
Tue Mar 31, 2015 11:57 am
Forum: Plugin Development Support
Topic: Check if entity exists?
Replies: 4
Views: 3968

Check if entity exists?

Is there a way to check if an entity still exists without using EntityIter()?
by stonedegg
Sat Mar 28, 2015 12:50 pm
Forum: Code examples / Cookbook
Topic: Particle effects!
Replies: 36
Views: 89802

Ah nice, didn't know it works like that. Is there any way I can find all attachment points (and their indexes) of any entity? Tried googling, couldn't find anything.
by stonedegg
Sat Mar 28, 2015 12:14 pm
Forum: Code examples / Cookbook
Topic: Particle effects!
Replies: 36
Views: 89802

Thanks, will test later. What is the -1 for?
by stonedegg
Fri Mar 27, 2015 7:09 pm
Forum: Code examples / Cookbook
Topic: Particle effects!
Replies: 36
Views: 89802

Hey I made it work again with the following code: from entities.entity import BaseEntity from entities.helpers import create_entity from entities.helpers import spawn_entity from players.entity import PlayerEntity from players.helpers import index_from_userid from events import Event from listeners....
by stonedegg
Sun Mar 15, 2015 4:02 pm
Forum: Plugin Development Support
Topic: Giving information to a player
Replies: 4
Views: 3602

There's also the I believe it is KeyHudHint usermessage or something to that effect, in CS:S it shows up on the right hand side of the screen close to the middle and can show quite a few lines of text. That's not available in cs:go afaik. @arawra: you could use hudhint as well, but in cs:go it allo...
by stonedegg
Sat Mar 14, 2015 3:44 pm
Forum: Plugin Development Support
Topic: Player Buttons
Replies: 10
Views: 6509

Okay, thanks!
by stonedegg
Fri Mar 13, 2015 10:49 pm
Forum: Plugin Development Support
Topic: Player Buttons
Replies: 10
Views: 6509

Okay, thanks. How would I be able to check those at all? Is it like "if <PlayerEntity>.buttons == PlayerButtons.JUMP"? (Unable to test now :( )
by stonedegg
Fri Mar 13, 2015 7:49 pm
Forum: Plugin Development Support
Topic: Player Buttons
Replies: 10
Views: 6509

Player Buttons

I see you have exported player buttons constants here. How would I use those? Am I able to check if a player is holding down a button?
by stonedegg
Sat Mar 07, 2015 12:04 pm
Forum: News & Announcements
Topic: Feature Requests
Replies: 28
Views: 60362

Good job! I guess this will work with BaseEntity as well (freezing prop physics for example)?
by stonedegg
Sun Feb 08, 2015 1:15 pm
Forum: General Discussion
Topic: Unable to load sourcepython.
Replies: 24
Views: 16219

Mine is 14kb as well and it loads fine.
by stonedegg
Sun Feb 08, 2015 12:15 am
Forum: General Discussion
Topic: Unable to load sourcepython.
Replies: 24
Views: 16219

Doublecheck if everything is correctly uploaded to your server
by stonedegg
Wed Feb 04, 2015 4:51 pm
Forum: Plugin Development Support
Topic: How to reset the player's sound to normal on player_blind?
Replies: 55
Views: 29085

You can most likely have this if you can find out which functions the game calls to play a sound and then block or modify them with SP. from engines.sound import engine_sound from filters.recipients import RecipientFilter from memory import Argument from memory import Convention from memory import ...
by stonedegg
Tue Feb 03, 2015 7:29 pm
Forum: Plugin Development Support
Topic: How to reset the player's sound to normal on player_blind?
Replies: 55
Views: 29085

Maybe we can have a soundhook like sourcemod it has: https://github.com/pmrowla/sourcemod-central/blob/master/extensions/sdktools/vsound.cpp

Simple example here: https://forums.alliedmods.net/showthread.php?t=252979

That would be nice
by stonedegg
Sat Jan 17, 2015 12:59 pm
Forum: Plugin Development Support
Topic: unloading a sub module?
Replies: 3
Views: 3377

Oh well, I could have guessed that myself.. thanks :D
by stonedegg
Sat Jan 17, 2015 12:23 pm
Forum: Plugin Development Support
Topic: unloading a sub module?
Replies: 3
Views: 3377

unloading a sub module?

Hello, I'm currently working on a project with multiple submodules and I'm running into a problem. Let's say I have it set up like this: plugins/test/test.py plugins/test/modules/module.py And I'm importing module.py in test.py like this: from test.modules import module Now when I unload the main sc...
by stonedegg
Wed Sep 17, 2014 3:56 pm
Forum: Plugin Development Support
Topic: Prehook PlayerRunCmd & TraceAttack
Replies: 4
Views: 4810

Thanks, I will try it out soon! Could you show me an example for prehooking TraceAttack too? I'm trying to find out if a player was hit by a flashbang (and on which hitbox). Would need that for cs:s only.
by stonedegg
Wed Sep 17, 2014 3:32 pm
Forum: Plugin Releases
Topic: EZSP - Libary to easily access SP modules & functions
Replies: 11
Views: 12043

Hey, I didn't have time to reply earlier, sorry for that. First of all, no it wasn't my intention to be included to SP, I just didn't know that this forum was made just for that. To the simplifactions you made, I can't confirm that they all work. I have tried earlier methods like PlayerEntity().heal...

Go to advanced search