Search found 334 matches
- Sun Dec 20, 2020 5:30 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] How to block weapon pick up
- Replies: 4
- Views: 8866
Re: [Cs:s] How to block weapon pick up
There's an excellent post by satoon101 describing how weapon restriction works. This is what you're looking for: # ../weapon_restrict_example/weapon_restrict_example.py # Source.Python from filters.weapons import WeaponClassIter from weapons.restrictions import WeaponRestrictionHandler my_handler = ...
- Sun Dec 20, 2020 4:55 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Crossbow
- Replies: 96
- Views: 299872
Re: [HL2:DM] Crossbow
It appears you are running an older version of SP. Try running the sp update server command or update it manually to resolve the issue.
- Sat Dec 19, 2020 10:32 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Crossbow
- Replies: 96
- Views: 299872
Re: [HL2:DM] Crossbow
This should fix the error you received: # ../lights/lights.py # Python from random import choice from colorsys import hsv_to_rgb # Source.Python from colors import Color from effects.base import TempEntity from effects.hooks import TempEntityPreHook from engines.precache import Model from entities.c...
- Wed Dec 09, 2020 4:40 am
- Forum: Plugin Requests
- Topic: HL2DM - Grenade trails
- Replies: 4
- Views: 11100
Re: HL2DM - Grenade trails
I remember making something like this for Painkiller a few months back. I believe this should work: # ../nade_trail/nade_trail.py # Python from colorsys import hsv_to_rgb from random import choice # Source.Python from colors import Color from engines.precache import Model from entities.entity import...
- Tue Dec 01, 2020 6:25 am
- Forum: Plugin Development Support
- Topic: [HL2DM] Variant.type crashing
- Replies: 4
- Views: 8656
Re: [HL2DM] Variant.type crashing
Sorry for taking so long to reply, both int(value.type) and value.get_entity() cause a crash without print() as soon as the output fires.
- Tue Dec 01, 2020 6:18 am
- Forum: Plugin Requests
- Topic: [CSGO/ANY] Weather/Time Plugin.
- Replies: 3
- Views: 11549
Re: [CSGO/ANY] Weather/Time Plugin.
Wow that looks really cool! And it's nice to see NamedNPC make an appearance as well. :grin: I made a few minor edits like making the skybox a global variable so that it will constantly update for players when joining instead of returning the string set in the OnClientActive portion. Good thinking! ...
- Tue Nov 24, 2020 5:46 am
- Forum: Plugin Requests
- Topic: [CSGO/ANY] Weather/Time Plugin.
- Replies: 3
- Views: 11549
Re: [CSGO/ANY] Weather/Time Plugin.
Dang, this is a biggie. Lots of interesting problems to solve, and plenty of ways to do it. As I'm currently working on a few of my own plugins ( cough "few days" cough ) with what free time I have, I can't fulfill your request. But I can leave a few bits and pieces in case anyone else (or...
- Mon Nov 23, 2020 11:22 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 80
- Views: 218698
Re: [HL2:DM] Little Silent Hill
Found the bot plugin online, but sadly I wasn't able to get the bots to attack the NPCs. However, this should prevent the NPCs from attacking the bots: # ../silent_hill/silent_hill.py (npc edition) # Python import random # Source.Python from colors import Color from commands.server import Se...
- Mon Nov 23, 2020 3:46 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 80
- Views: 218698
Re: [HL2:DM] Little Silent Hill
It just came to mind that maybe it easyer to make the NPC's ignore bots and just attack human players ... Yep, you're spot on. The bots were probably made to only look for players when selecting their target. You could try asking the creator of the bot plugin to include additional targeting for NPC...
- Mon Nov 23, 2020 3:27 am
- Forum: Plugin Development Support
- Topic: [HL2DM] Variant.type crashing
- Replies: 4
- Views: 8656
Re: [HL2DM] Variant.type crashing
Ah, I see. Thank you for the detailed explanation. It's still crashing after casting it to an integer. The value is most likely invalid, as you pointed out. I wanted to avoid using my own loop for gathering conditions for the scanner (PlayerIter() -> range check -> line of sight check), but I guess ...
- Tue Nov 17, 2020 3:43 am
- Forum: Plugin Development Support
- Topic: [HL2DM] Variant.type crashing
- Replies: 4
- Views: 8656
[HL2DM] Variant.type crashing
Running the following code with an npc_cscanner that's set to hate players (e.g. temp_scanner ) causes a crash: # ../scanner_output/scanner_output.py # Source.Python from listeners import OnEntityOutput @OnEntityOutput def on_entity_output(output, activator, caller, value, delay): if 'On...
- Tue Nov 17, 2020 3:28 am
- Forum: Plugin Requests
- Topic: Killcam
- Replies: 20
- Views: 50742
Re: Killcam
Phew, it's finally working as it should.daren adler wrote:Works greatThank you
![]()

No problem, I'm glad you like it.PEACE wrote:I like it to and using it as well....
Thanks VinciT :)

- Fri Nov 13, 2020 11:11 pm
- Forum: Plugin Requests
- Topic: Killcam
- Replies: 20
- Views: 50742
Re: Killcam
Grab the updated plugin and tell me if it works for you.daren adler wrote:ok
- Wed Nov 11, 2020 10:40 pm
- Forum: Plugin Requests
- Topic: Killcam
- Replies: 20
- Views: 50742
Re: Killcam
OK i will check it out :smile: . Thank you again :cool: :cool: :cool: **update** I put it to 0 and i still have to hit w or a or d to spawn, (was hoping for mouse button 1) but if not thats ok,,i get no errors, thank you. :cool: Huh, that's odd.. On my server left click (+attack) respawns me. Headi...
- Wed Nov 11, 2020 10:32 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Deathmsg Help
- Replies: 53
- Views: 441470
Re: [HL2:DM] Deathmsg Help
I noticed that my deathmessage no longer works. I probably noticed it quite late, maybe something was changed in SP? Maybe someone could fix it. The channel used for the HudMsg() in this plugin conflicts with npc_points - they both use channel 1. You could change the channel to 0 and see if it work...
- Tue Nov 10, 2020 9:01 pm
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 50134
Re: HL2:DM Npc points/score
Seems to work so far except for the crowbar. I have a plugin with which you can throw the crowbar. Unfortunately it does not count there. Would it be possible that it will increase with ? If the crowbar throwing plugin is using prop_physics_override entities, it should already be working. As can be...
- Tue Nov 10, 2020 8:44 pm
- Forum: Plugin Requests
- Topic: Killcam
- Replies: 20
- Views: 50742
Re: Killcam
I get this now in killcam log. and if you could, could you make it so you have to use mouse button 1 to spawn? I am using the 2nd script on on this page, the one that gives black and white. [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\packages\sour...
- Sat Nov 07, 2020 5:24 am
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 50134
Re: HL2:DM Npc points/score
I've included a possible fix for this issue (appears to be Linux only), grab the latest version of the plugin and tell me if phys/gravity gun kills work now.Painkiller wrote:- physics does not yet count as kill
(that means physicgun kills, saw blades, barrels)
- Thu Nov 05, 2020 8:25 pm
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 50134
Re: HL2:DM Npc points/score
I have to say WoW you fixed it fast , great work as always VinciT , I just tested it and works perfect and realy like the notifications you added , nice touch for sure . Extremely impressed with your work :) At 1st I was like what is going on and was turning off plugins in SM and ES thinking there ...
- Wed Nov 04, 2020 9:35 pm
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 50134
Re: HL2:DM Npc points/score
I've modified the plugin a bit to resolve the issue you encountered. While fixing that issue, I also added better notifications when killing another player (it now uses the player's name instead of just being 'the player'), as well as a notification when the player commits suicide.