Search found 262 matches
- Sun Jun 02, 2024 5:57 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Scope Detecting
- Replies: 7
- Views: 51936
Re: [CS:S] Scope Detecting
For CS:S you could try and check the FOV (m_iFOV) on the player, as that changes depending on scope level.
- Fri Feb 03, 2023 12:51 pm
- Forum: General Discussion
- Topic: warcraft-source wcs no-steam
- Replies: 3
- Views: 32534
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 ...
- Sun Jan 29, 2023 10:40 am
- Forum: Plugin Requests
- Topic: stirni_chat_bot evescriscrip
- Replies: 24
- Views: 60628
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...
- Sun Jan 22, 2023 9:29 pm
- Forum: Plugin Requests
- Topic: hl2:dm weapon shovel
- Replies: 13
- Views: 40058
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.
- Sun Jan 22, 2023 10:25 am
- Forum: Plugin Requests
- Topic: hl2:dm weapon shovel
- Replies: 13
- Views: 40058
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...
- Sat Jan 21, 2023 3:30 pm
- Forum: Plugin Requests
- Topic: hl2:dm weapon shovel
- Replies: 13
- Views: 40058
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...
- Fri Jan 20, 2023 11:35 am
- Forum: Plugin Requests
- Topic: hl2:dm weapon shovel
- Replies: 13
- Views: 40058
Re: hl2:dm weapon shovel
Assuming you are using customguns sourcemod plugin?
Is it working on enemies in Team Deathmatch?
Is it working on enemies in Team Deathmatch?
- Sat Mar 26, 2022 1:57 pm
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 95650
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 ...
- Fri Mar 25, 2022 5:31 pm
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 95650
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
You can find it here:
https://github.com/ThaPwned/WCS/blob/b3 ... 1275-L1304
- Sat Mar 19, 2022 8:05 pm
- Forum: Plugin Development Support
- Topic: Change View Coordinate of Csgo bots.
- Replies: 5
- Views: 11363
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...
- Fri Mar 04, 2022 7:23 pm
- Forum: Plugin Development Support
- Topic: Change View Coordinate of Csgo bots.
- Replies: 5
- Views: 11363
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.
This way the AI is disabled without the bots going crazy. Not sure if this will affect your ability to control the bots otherwise.
- Thu Feb 24, 2022 8:18 pm
- Forum: Plugin Development Support
- Topic: Change View Coordinate of Csgo bots.
- Replies: 5
- Views: 11363
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.
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.
- Wed Feb 23, 2022 5:24 pm
- Forum: API Design
- Topic: Where is the source code ?
- Replies: 6
- Views: 92246
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...
- Sat Dec 11, 2021 8:00 pm
- Forum: Plugin Development Support
- Topic: Creating a BeamRingPoint?
- Replies: 4
- Views: 17292
Re: Creating a BeamRingPoint?
Hey,
not sure if I'm right, but shouldn't the model be "sprites/lgtning.vmt" without the h?
not sure if I'm right, but shouldn't the model be "sprites/lgtning.vmt" without the h?
- Sat Aug 07, 2021 8:45 am
- Forum: Plugin Development Support
- Topic: [Cs:s] Drug Command
- Replies: 4
- Views: 9000
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 ...
- Tue Jul 27, 2021 6:50 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Effects showing certain user
- Replies: 10
- Views: 17286
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...
- Mon Jul 26, 2021 6:35 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Effects showing certain user
- Replies: 10
- Views: 17286
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...
- Mon Jul 26, 2021 5:30 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Effects showing certain user
- Replies: 10
- Views: 17286
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(...
- Mon Jul 26, 2021 4:20 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Effects showing certain user
- Replies: 10
- Views: 17286
Re: [Cs:s] Effects showing certain user
I guess you could just try and change
to
Syntax: Select all
yield i.userid
to
Syntax: Select all
yield i.index
- Mon Apr 05, 2021 11:33 am
- Forum: Plugin Releases
- Topic: Hostage Noblock
- Replies: 2
- Views: 8852
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...