Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 145
Search took 0.01 seconds.
Search: Posts Made By: PatriotGames
Forum: Plugin/Gameplay Ideas and Requests 02-04-2020, 21:43
Replies: 3
Views: 1,730
Posted By PatriotGames
Re: L4D2 Weapon damage

Survivor health after getting revived:
survivor_revive_health (default: 30) : How much temp health you get revived with.

Set it in your server.cfg or elsewhere:

sm_cvar survivor_revive_health...
Forum: Source Servers (SRCDS) 03-23-2019, 16:35
Replies: 3
Views: 1,360
Posted By PatriotGames
Re: High RAM in some servers

Are you servers running Linux or Windows? What version of SM and MM are they running?

PG
Forum: Source Servers (SRCDS) 03-23-2019, 16:26
Replies: 5
Views: 7,602
Posted By PatriotGames
Re: L4D2 Dedicated Server Network Tweaks

Excellent! Glad it helped!


That is a mistake in his server.cfg. There should be only one value for any given cvar. If multiple values are accidentally included only the last value will be...
Forum: Source Servers (SRCDS) 03-15-2019, 15:13
Replies: 5
Views: 7,602
Posted By PatriotGames
Re: L4D2 Dedicated Server Network Tweaks

Lag can be caused by many factors including plugins (most likely), network latency (your ISP), server resource constraints, etc. Without any information about these variables, I can only offer some...
Forum: Plugins 03-15-2019, 13:39
Replies: 1,753
Views: 513,048
Posted By PatriotGames
Re: [L4D & L4D2] Super Tanks++ (v8.58, 3-1-2019) [Human/AI Tanks Supported]

If a plugin author does not provide any of that information about their plugin's .cfg file (assuming it creates one, but that is not always the case), you can download the source file (.sp), which...
Forum: Plugins 03-13-2019, 15:50
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector (v1.2) [5-Mar-2019]

Hello Darkwob,



Yes, you can configure any combination of items, or nothing at all, for VIP/Admin, just like the base item selections for the other players.


A menu is not available in...
Forum: Plugins 03-05-2019, 19:17
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector (v1.2) [5-Mar-2019]

sIs Version 1.2 is out and includes a number of enhancements. Please be sure to download and install the updated translation file:

v1.2 (5-Mar-2019)
- Added cvar to choose which weapon is...
Forum: Plugins 03-03-2019, 17:45
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector (v1.1) [1-Mar-2019]

Marttt,

I'm going to go ahead and remove the duplicate chainsaw reference in l4d2_weapon_stocks_sis.inc as it's really not needed, so sIs will compile error-free on sm 1.10. This change will be...
Forum: Plugins 03-02-2019, 23:15
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector (v1.1) [1-Mar-2019]

You're welcome!

WEPID_CHAINSAW is used in l4d2_weapon_stocks_sis.inc 2x, but in different enums which are used by different functions. I didn't include the chainsaw as a weapon choice in the...
Forum: Plugins 03-02-2019, 20:07
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector (v1.1) [1-Mar-2019]

Respawned survivors are not receiving the configured primary because l4d2 has this default cvar:

survivor_respawn_with_guns 1 // (default: 1) 0: Just a pistol, 1: Downgrade of last primary...
Forum: Plugins 03-01-2019, 23:30
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector (v1.1) [1-Mar-2019]

lol! I reply to Marttt that the way to handle this issue is to manipulate the survivor's active weapon and you post some code to do just that...brilliant!

Thanks, Crasher.
Forum: Plugins 03-01-2019, 23:20
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector (v1.1) [1-Mar-2019]

Thanks again for your suggestions.

My thinking was the same, better to give them some melee weapon rather than none at all if they don't have the knife unlocked and accidentally select it in the...
Forum: Plugins 03-01-2019, 18:43
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector

Hi Marttt,

Thanks for your feedback. Glad the plugin is working well for you so far. Let me make sure I understand your suggestions:


You are correct. I made changes in the cvar values but...
Forum: Plugins 02-27-2019, 13:13
Replies: 36
Views: 19,001
Posted By PatriotGames
Re: [l4d2] Smart Item Selector

Thanks, Sev. Let me know if you have any issues.


Thanks, Crasher_3637. Appreciated you help with the code!
Forum: Plugins 02-24-2019, 19:47
Replies: 36
Views: 19,001
Posted By PatriotGames
[l4d2] Smart Item Selector (v1.2) [5-Mar-2019]

Introduction
Smart Item Selector (sIs) is based on [L4D & L4D2] Round Start Items Giver by kwski43 (https://forums.alliedmods.net/showthread.php?p=1131184), but takes "item giving" to another level....
Forum: Scripting 02-17-2019, 23:23
Replies: 8
Views: 2,579
Posted By PatriotGames
Re: How to return multiple values and apply conditionals for all possible combination

nosoop,

Thank you for those suggestions. Now that you've pointed them out they seem obvious :oops:

After making those changes in this section, I went through the rest of the item selection...
Forum: Scripting 02-15-2019, 20:46
Replies: 11
Views: 2,755
Posted By PatriotGames
Re: To hook or not to hook, that is the question.

Thanks for that practical example. Having run public co-op and versus servers for years, I can appreciate the ability to force or lock the server's game mode.

PG
Forum: Scripting 02-15-2019, 20:41
Replies: 11
Views: 2,755
Posted By PatriotGames
Re: To hook or not to hook, that is the question.

Thanks for the explanation, Crasher_3637, and no need to apologize. I just appreciated your taking the time to review my code and offer suggested changes. Sure, comments would have been helpful,...
Forum: Scripting 02-15-2019, 17:07
Replies: 8
Views: 2,579
Posted By PatriotGames
Re: How to return multiple values and apply conditionals for all possible combination

Thanks so much for all of the help and code examples. Once I recognized it was unnecessary to return multiple values from the GetUpgrdType function, I adapted nosoop's example code. Here's the...
Forum: Scripting 02-12-2019, 16:56
Replies: 8
Views: 2,579
Posted By PatriotGames
How to return multiple values and apply conditionals for all possible combinations?

My plugin needs to check a survivor's primary weapon, if they have one, for any upgrades (laser, incendiary ammo or explosive ammo) and then decide if an upgrade should be given or not.
Peace-Maker...
Forum: Scripting 02-11-2019, 14:32
Replies: 11
Views: 2,755
Posted By PatriotGames
Re: To hook or not to hook, that is the question.

Thanks, Dragokas, that makes sense.

PG
Forum: Scripting 02-05-2019, 21:37
Replies: 11
Views: 2,755
Posted By PatriotGames
Re: To hook or not to hook, that is the question.

Thank you, impossible_cc. So the IntValue methodmap property can work like both GetConVarInt and SetConVarInt functions even in the same statement. Interesting...



So there's no performance...
Forum: Scripting 02-05-2019, 14:52
Replies: 11
Views: 2,755
Posted By PatriotGames
To hook or not to hook, that is the question.

Please help a new coder understand the current recommended practice for tracking convar changes in both transitional and methodmap syntax.

In this example we have several different approaches:
...
Forum: Scripting 01-31-2019, 01:02
Replies: 3
Views: 1,600
Posted By PatriotGames
Re: How to compare enum value from an include to a plugin cvar value?

I created the cvar-to-enum value cross-reference with a switch statement for each of the weapon slot groups (primary, secondary, healthpack, throwable, etc.). Probably not the best solution but it...
Forum: Scripting 01-29-2019, 17:14
Replies: 4
Views: 2,026
Posted By PatriotGames
Re: L4d2 equipment control (help)

If I understand you correctly, the issue is players getting switched to the wrong team between rounds or on map change. This is a common problem in versus, especially for modified servers (8+...
Showing results 1 to 25 of 145

 
Forum Jump

All times are GMT -4. The time now is 02:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode