Search found 261 matches

by Kami
Fri Feb 03, 2023 12:51 pm
Forum: General Discussion
Topic: warcraft-source wcs no-steam
Replies: 3
Views: 9127

Re: warcraft-source wcs no-steam

you will tell me that it is not good to bring in pirated players but know that the community is large compared to legal games, some have lost the steam passwords of another stolen steam account and do not want to repay another account closed for disputes that led to insults and threats force steam ...
by Kami
Sun Jan 29, 2023 10:40 am
Forum: Plugin Requests
Topic: stirni_chat_bot evescriscrip
Replies: 24
Views: 20601

Re: stirni_chat_bot evescriscrip

SourcePython and the emulator can use pickle with no problems, the code just had some errors (I guess due to the changes from python versions) You can try this version for the emulator: import es, cmdlib, random, playerlib, os, path, pickle, popuplib from configobj import ConfigObj s_info = es.Addon...
by Kami
Sun Jan 22, 2023 9:29 pm
Forum: Plugin Requests
Topic: hl2:dm weapon shovel
Replies: 13
Views: 11701

Re: hl2:dm weapon shovel

The name shown in the weapon wheel is defined in the script file, so changing the smx file will not change the weapon name. In your first post you showed your script file and it says "name" "Shovel" You need to change this to whatever you want the weapon wheel to show.
by Kami
Sun Jan 22, 2023 10:25 am
Forum: Plugin Requests
Topic: hl2:dm weapon shovel
Replies: 13
Views: 11701

Re: hl2:dm weapon shovel

I'm a bit confused as the weapon_shovel is clearly a shovel and not a knife. https://i.imgur.com/8HiJGjX.jpeg Edit: If you just changed the model to a knife and want to show a different name ingame you can change "name" "Shovel" to "name" "Knife" in the weapon...
by Kami
Sat Jan 21, 2023 3:30 pm
Forum: Plugin Requests
Topic: hl2:dm weapon shovel
Replies: 13
Views: 11701

Re: hl2:dm weapon shovel

You can download an older sourcemod version here https://www.sourcemod.net/downloads.php?branch=1.9-dev&all=1# Then you download the custom guns plugin https://github.com/Alienmario/customguns-hl2dm and copy everything from there to the addons/sourcemod folder you downloaded first. Then you shou...
by Kami
Fri Jan 20, 2023 11:35 am
Forum: Plugin Requests
Topic: hl2:dm weapon shovel
Replies: 13
Views: 11701

Re: hl2:dm weapon shovel

Assuming you are using customguns sourcemod plugin?

Is it working on enemies in Team Deathmatch?
by Kami
Sat Mar 26, 2022 1:57 pm
Forum: Plugin Requests
Topic: Half-Life 2 Deathmatch - God mode
Replies: 44
Views: 45587

Re: Half-Life 2 Deathmatch - God mode

I played around with the smokestack a bit and it seems you have to make the speed really fast for the ring to stay perfectly around the player. Might be a bit distracting. I made one that looks like a forcefield around the player: from events import Event from filters.players import PlayerIter from ...
by Kami
Fri Mar 25, 2022 5:31 pm
Forum: Plugin Requests
Topic: Half-Life 2 Deathmatch - God mode
Replies: 44
Views: 45587

Re: Half-Life 2 Deathmatch - God mode

Warcraft Source by Tha Pwned has a ring level up effect done with a smokestack, that is parented by the player so it follows you around.

You can find it here:

https://github.com/ThaPwned/WCS/blob/b3 ... 1275-L1304
by Kami
Sat Mar 19, 2022 8:05 pm
Forum: Plugin Development Support
Topic: Change View Coordinate of Csgo bots.
Replies: 5
Views: 3904

Re: Change View Coordinate of Csgo bots.

I'm sorry, I didn't see that you were trying this on CS:GO. I did some more testing and could not find a solution. I guess that the idle animation just always kicks in so if you can somehow disable that you should be able to change the viewangle. I don't know how to do that though, maybe someone els...
by Kami
Fri Mar 04, 2022 7:23 pm
Forum: Plugin Development Support
Topic: Change View Coordinate of Csgo bots.
Replies: 5
Views: 3904

Re: Change View Coordinate of bots.

I just did some testing and the solution to this seems to be to set bot_flipout to 1 and at the same time change the movetype to NONE.

This way the AI is disabled without the bots going crazy. Not sure if this will affect your ability to control the bots otherwise.
by Kami
Thu Feb 24, 2022 8:18 pm
Forum: Plugin Development Support
Topic: Change View Coordinate of Csgo bots.
Replies: 5
Views: 3904

Re: Change View Coordinate of bots.

You can try to change the MoveType of the bot, so it cannot move on its own.

Search the wiki for "MoveType" ans "move_type" and you should be able to find what you Need.

I'd suggest MoveType.NONE as I think it prohibits any movement. After that you can change the View angle.
by Kami
Wed Feb 23, 2022 5:24 pm
Forum: API Design
Topic: Where is the source code ?
Replies: 6
Views: 28786

Re: Where is the source code ?

Hey, for your iteration problem you can try http://wiki.sourcepython.com/developing/modules/filters.players.html?highlight=playeriter#filters.players.PlayerIter You can do something simple like: for player in PlayerIter('bot'): player.set_team(2) # move player to terrorist te...
by Kami
Sat Dec 11, 2021 8:00 pm
Forum: Plugin Development Support
Topic: Creating a BeamRingPoint?
Replies: 4
Views: 5078

Re: Creating a BeamRingPoint?

Hey,

not sure if I'm right, but shouldn't the model be "sprites/lgtning.vmt" without the h?
by Kami
Sat Aug 07, 2021 8:45 am
Forum: Plugin Development Support
Topic: [Cs:s] Drug Command
Replies: 4
Views: 3411

Re: [Cs:s] Drug Command

You could try to set the angle using http://wiki.sourcepython.com/developing/modules/entities.entity.html?highlight=teleport#entities.entity.Entity.teleport I did not test this, but you might get the idea: from mathlib import QAngle import rpglib, random from colors import Color from players.entity ...
by Kami
Tue Jul 27, 2021 6:50 pm
Forum: Plugin Development Support
Topic: [Cs:s] Effects showing certain user
Replies: 10
Views: 5724

Re: [Cs:s] Effects showing certain user

Glad you got it working! This way could potentialy be more stressful on the server as you are now creating a new beam for every person that has effects enabled. If you got 10 players on the server that have effects enabled that would make 10 beams instead of just one beam that shows to all players t...
by Kami
Mon Jul 26, 2021 6:35 pm
Forum: Plugin Development Support
Topic: [Cs:s] Effects showing certain user
Replies: 10
Views: 5724

Re: [Cs:s] Effects showing certain user

Okay, so I tried to think of a quick fix and this is what I came up with. You can add this new function that will either create a new list of indexes or use an existing list of userids to create a list of corresponding indexes. def getIndexList(list=None): if list == None: for i in PlayerIte...
by Kami
Mon Jul 26, 2021 5:30 pm
Forum: Plugin Development Support
Topic: [Cs:s] Effects showing certain user
Replies: 10
Views: 5724

Re: [Cs:s] Effects showing certain user

Yeah, that's because you use the same function somewhere else in your code too. Didn't think about that. You could instead revert your getUseridList and simply create a new function: def getIndexList(): for i in PlayerIter.iterator(): yield i.index then you do def getEffectUsers(...
by Kami
Mon Jul 26, 2021 4:20 pm
Forum: Plugin Development Support
Topic: [Cs:s] Effects showing certain user
Replies: 10
Views: 5724

Re: [Cs:s] Effects showing certain user

I guess you could just try and change

Syntax: Select all

yield i.userid


to

Syntax: Select all

yield i.index
by Kami
Mon Apr 05, 2021 11:33 am
Forum: Plugin Releases
Topic: Hostage Noblock
Replies: 2
Views: 4757

Re: Hostage Noblock

You can simplify this a little by using an is_filter for EntityIter like this: from events import Event from filters.entities import EntityIter from entities.constants import CollisionGroup @Event('round_start') def round_start(args): for i in EntityIter('hostage_enti...
by Kami
Thu Apr 01, 2021 7:56 pm
Forum: Plugin Requests
Topic: HL2:DM - RANDOM BOT WEAPONS
Replies: 2
Views: 2995

Re: HL2:DM - RANDOM BOT WEAPONS

Hey daren, you can give this a try: import random from events import Event from listeners import OnLevelInit from engines.server import queue_command_string types = ['pistol','crowbar','stunstick','frag','smg1','ar2','shotgun','rpg',...

Go to advanced search