Search found 331 matches
- Wed Dec 09, 2020 4:40 am
- Forum: Plugin Requests
- Topic: HL2DM - Grenade trails
- Replies: 4
- Views: 3993
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: 2900
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: 3341
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: 3341
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: 77
- Views: 48247
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: 77
- Views: 48247
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: 2900
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: 2900
[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: 23751
Re: Killcam
Phew, it's finally working as it should.daren adler wrote:Works great Thank 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: 23751
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: 23751
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: 47
- Views: 49056
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: 13468
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: 23751
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: 13468
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: 13468
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: 13468
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.
- Wed Nov 04, 2020 12:23 am
- Forum: Plugin Requests
- Topic: [Cs:s] chat command to change map
- Replies: 13
- Views: 7883
Re: [Cs:s] chat command to change map
As promised, albeit with a small delay, I've implemented Kami's excellent suggestion: # ../change_map/change_map.py # Source.Python from commands import CommandReturn from commands.say import SayCommand from engines.server import queue_command_string from engines.sound import Sound from listeners.ti...
- Mon Nov 02, 2020 6:56 am
- Forum: Plugin Requests
- Topic: [Cs:s] chat command to change map
- Replies: 13
- Views: 7883
Re: [Cs:s] chat command to change map
Hey VinciT, nice work! Since this is for CS:S you could handle the "be more specific" part with a popup menu. This way the user could quickly decide which map to choose without having to retype the map name. If the user searches for a very broad term like de_ or for example bhop_ on a Bun...
- Mon Nov 02, 2020 6:38 am
- Forum: Plugin Requests
- Topic: Crowbar throw
- Replies: 12
- Views: 10754
Re: Crowbar throw
new error 2020-11-01 16:27:54 - sp - EXCEPTION [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\plugins\throwables\throwables.py", line 92, in on_button_state_changed PlayerT(player.index).throw() File "..\addons\source-python\plugins\throwab...