Search found 322 matches
- Sun Sep 20, 2020 2:41 pm
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13468
Re: HL2:DM Npc points/score
Do you want these to NOT count as kills? Because right now I'm getting notifications whenever I kill an NPC with a prop. How about something like this? https://www.youtube.com/watch?v=5caVlc2EwcI # ../npc_points/npc_points.py # Python from collections import deque from colorsys import hsv_to_rgb fr...
- Sun Sep 20, 2020 2:35 pm
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13468
Re: HL2:DM Npc points/score
physics does not yet count as kill (that means physicgun kills, saw blades, barrels) Do you want these to NOT count as kills? Because right now I'm getting notifications whenever I kill an NPC with a prop. - a line break of the current font (+3 points for killing the zombie) Example: How to proceed...
- Sun Sep 20, 2020 1:53 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
they all work, they just get spawned right on top of each other sometimes. I'll modify the spawning function tomorrow to lower (maybe even remove) the chance of that happening. some things you might not want to spawn is antlionguard, at least not right now,,when spawns,,he dont move till he sees yo...
- Sun Sep 20, 2020 1:39 pm
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13468
Re: HL2:DM Npc points/score
physics does not yet count as kill (that means physicgun kills, saw blades, barrels) Do you want these to NOT count as kills? Because right now I'm getting notifications whenever I kill an NPC with a prop. - a line break of the current font (+3 points for killing the zombie) Example: How to proceed...
- Sun Sep 13, 2020 2:52 am
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13468
Re: HL2:DM Npc points/score
VinciT wrote:I'll try to finish your requests tomorrow if I have time, but I can't promise anything.
No problem
- Sun Sep 13, 2020 2:48 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
VinciT wrote: Can you show me which NPCs you've added to the tuple? I believe this is caused by an invalid NPC classname. I've updated the plugin in this post to make it easier to spot such errors. YES. I added NPCS = ( 'npc_zombie', 'npc_rollermine', 'npc_poisonzombie', 'npc_manhack', 'npc_headcrab...
- Sat Sep 12, 2020 3:09 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
Here you go guys: # ../silent_hill/silent_hill.py (npc edition) # Python import random # Source.Python from colors import Color from commands.server import ServerCommand from core import PLATFORM from engines.precache import Model from engines.server import server from engines.sound import ...
- Sat Sep 12, 2020 2:15 am
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13468
Re: HL2:DM Npc points/score
Hi daren, try this for getting points from NPCs: # ../npc_points/npc_points.py # Source.Python from entities.entity import BaseEntity from events import Event from messages import HudMsg from players.entity import Player # Send a message to the player when they kill an NPC? (True/False) NOT...
- Wed Sep 09, 2020 2:47 am
- Forum: Plugin Requests
- Topic: HL2:DM Npc points/score
- Replies: 24
- Views: 13468
HL2:DM Npc points/score
Hello python script makers :cool:, Is there a way to get points/score from killing npc ?. ( like you do in coop). or a plugin already made ?. Also, I was wandering if there was a way to have a scanner spawn at every map also ?. Just 1 at a time per map. Thank you python script makers for all the hel...
- Wed Sep 09, 2020 2:29 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
manhack = super().create('npc_manhack') Would have the same result because super is super. :tongue: Whoops! I thought it would create a BaseEntity and not a Manhack instance. While I have you here L'In20Cible, any ideas as to why SetServerHibernation doesn't work on Linux? I...
- Mon Sep 07, 2020 9:31 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
I believe I know what the issue was: def _gather_data_think(self): for edict in PlayerGenerator(): player = PlayerSH(index_from_edict(edict)) # Is this player dead? if player.dead: return new_origin = player.origin + NPC_ORIGIN_OFFSET # Go through previously added sp...
- Mon Sep 07, 2020 9:08 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
I believe I know what the issue was: def _gather_data_think(self): for edict in PlayerGenerator(): player = PlayerSH(index_from_edict(edict)) # Is this player dead? if player.dead: return new_origin = player.origin + NPC_ORIGIN_OFFSET # Go through previously added sp...
- Mon Sep 07, 2020 9:00 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
As of #292 , BaseEntity.create is a classmethod so you could use super() directly. :smile: manhack = super().create('npc_manhack') Nice! Thanks for the tip. THANK YOU VinciT :cool: :cool: ........Its works great, Thank you Great job :smile: :smile: :smile: PS-- Could you add...
- Mon Sep 07, 2020 8:37 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
[SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\packages\source-python\listeners\tick.py", line 80, in _tick self.pop(0).execute() File "..\addons\source-python\packages\source-python\listeners\tick.py", line 161, in execute return self...
- Mon Sep 07, 2020 4:43 pm
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
THANK YOU VinciT :cool: :cool: ........Its works great, Thank you Great job :smile: :smile: :smile: PS-- Could you add the zombie for me please? i tryed and messed it all up...im not so good as ur. and how to/or if you will,,lower the amount of manhacks please,,,i would like if the manhack/zombies s...
- Mon Sep 07, 2020 7:20 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
Will give that a try. THANK YOU VinciT ...Ok i tryed it and ........Its works great, Thank you Great job
PS-- Could you add the zombie for me please? i tryed and messed it all up...im not so good as ur.
PS-- Could you add the zombie for me please? i tryed and messed it all up...im not so good as ur.
- Sun Sep 06, 2020 6:41 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
"Yes"... your thought is right,,i do not have that no more PailKiller, If you could send me it or where to grab it again that would be a start. If i remember right, never could get that mod to work back then, but heck man i will give it a try again,,would be nice to have them come out afte...
- Sun Sep 06, 2020 12:49 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
I was thinking :confused: :confused: , I am trying to figure out a way so when the silent hill starts, npc will spawn. I am using a cheats plugin, and i know how to have npc spawn and work. Here is the cfg of one of the npc's sm_rcon sv_cheats 1 sk_manhack_health "100" sk_manhack_melee_dmg...
- Fri Sep 04, 2020 2:19 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Little Silent Hill
- Replies: 77
- Views: 48243
Re: [HL2:DM] Little Silent Hill
Hello python scripters..I tryed the plugin and it works, GOOD job VinciT, My server is windows.Painkiller,, maybe thats why yours dont work. Idk tho, i am not the maker or even a maker at all,just guessing that. but If i remember right you are not a windows right?, anyway works for me(ps) i made sur...
- Fri Aug 21, 2020 1:50 am
- Forum: Plugin Requests
- Topic: Crowbar throw
- Replies: 12
- Views: 10753
Re: Crowbar throw
satoon101 wrote:I tried to achieve this for my ThrowMelee plugin, but never could get any of the hl2dm melee weapons to work, iirc. Not saying it can't be done, though, but I did try a number of things to get it to work.
Ok, thanks for the info, I tryed the sourcemod ones and also failed on them.