Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 46
Search took 0.01 seconds.
Search: Posts Made By: Zynda
Forum: Plugin/Gameplay Ideas and Requests 08-10-2022, 18:46
Replies: 4
Views: 270
Posted By Zynda
Re: [CS:GO] hitbox manipulator / changer

Hitboxchanger (https://forums.alliedmods.net/showthread.php?t=329554) for changing hitboxes per model. Having a specific player with custom hitboxes seems non-trivial to me if they share their...
Forum: Scripting 08-06-2022, 05:08
Replies: 3
Views: 274
Posted By Zynda
Re: Dhooks passing int reference to detour

public MRESReturn GetPlayerLimits(Address pThis, DHookParam hParams)
{
Address a1 = hParams.Get(1);
Address a2 = hParams.Get(2);
Address a3 = hParams.Get(3);

// dereference
...
Forum: Scripting 08-05-2022, 13:47
Replies: 3
Views: 274
Posted By Zynda
Re: Dhooks passing int reference to detour

There's a global instance g_ServerGameClients (gameinterface.cpp...
Forum: Scripting 08-02-2022, 10:47
Replies: 4
Views: 254
Posted By Zynda
Re: Checking files on connection

Plugin on the server you saw might be similar to:
https://github.com/SirPlease/L4D2-Competitive-Rework/blob/master/addons/sourcemod/scripting/sv_consistency_fix.sp
Forum: Plugin/Gameplay Ideas and Requests 07-25-2022, 01:25
Replies: 5
Views: 351
Posted By Zynda
Re: cl_fullupdate on client

Use the engine fuction CBaseClient::OnRequestFullUpdate
Forum: Plugins 12-14-2021, 21:40
Replies: 4
Views: 2,644
Posted By Zynda
Re: [L4D2] CAI Concept Vocalize API

The plugin does nothing in and of itself, it's intended to be used by other plugins.
Forum: Scripting 09-10-2021, 04:35
Replies: 5
Views: 1,007
Posted By Zynda
Re: L4D2 Muzzleflash

To clarify, are you looking for a client side or a server side solution?
Forum: General 06-15-2021, 23:11
Replies: 2
Views: 850
Posted By Zynda
Re: [SM Extensions] Need help with compilation!

Makefiles are deprecated, it says so on the very page you linked.

Here is the steps I use to build the sample extension, SDK is l4d2 only because that's what I have at hand.
...
Forum: Scripting 06-07-2021, 05:49
Replies: 4
Views: 593
Posted By Zynda
Re: [L4D] Detect the bot intention

These are all linux offsets by the way (should be in gamedata really but it's all hardcoded here).

Small methodmap for the Actions:

#define OFFSET_BEHAVIOR 8
#define...
Forum: Scripting 06-05-2021, 22:38
Replies: 4
Views: 593
Posted By Zynda
Re: [L4D] Detect the bot intention

You can look for the current behavior of the NextBot.
The boomer has a couple of behaviors you can check:

BoomerRetreatToCover (I'm exposed and my vomit is recharging)
BoomerAttack (Victim is...
Forum: Scripting 05-31-2021, 22:54
Replies: 4
Views: 2,736
Posted By Zynda
Re: [CS:GO] Add lifetime to sprays/decals

infodecals emits a CTEProjectedDecal to all players when they are activated, then deletes themselves, so probably no shot there.

Clients can clear these decals with "r_cleardecals permanent"...
Forum: Extensions 05-13-2021, 05:48
Replies: 59
Views: 21,948
Posted By Zynda
Re: [EXTENSION] Late Downloads

Building against SM 1.11 requires -std=c++14 because of changes to amtl I believe.

Update AMBuildScript...
Forum: Off-Topic 05-06-2021, 08:46
Replies: 1
Views: 2,053
Posted By Zynda
Re: What Kind of Scripting is Required For Foundry?

Javascript seems to be your poison, it's very popular and there is surely a ton of tutorials and other resources if you want to learn programming in JS. As for the difficulty of tweaking existing...
Forum: Metamod:Source Plugins 04-24-2021, 03:16
Replies: 1,807
Views: 1,071,479
Posted By Zynda
Re: Stripper:Source (Updated 2011-04-15)

You're creating an entity with no classname, AlexAlcala probably meant for it to be added to a trigger_* or logic_* type entity because of the OnTrigger output.
Forum: Metamod:Source Plugins 04-12-2021, 07:15
Replies: 289
Views: 140,450
Posted By Zynda
Re: L4D/L4D2 Tickrate Enabler

Yes exactly, I just suggested it in order to better "see" the way changes to nb_update_frequency affect the infected.

As for what you should put the value of nb_update_frequency to that's up to...
Forum: Metamod:Source Plugins 04-11-2021, 04:50
Replies: 289
Views: 140,450
Posted By Zynda
Re: L4D/L4D2 Tickrate Enabler

Note that common infected updates are bound by the CVAR

// Default 0.1
nb_update_frequency


Use a low cl_interp on your client and lower nb_update_frequency on the server until you see...
Forum: Scripting 04-06-2021, 11:28
Replies: 5
Views: 1,563
Posted By Zynda
Re: [L4D2] How to force proceed + How to tell if Survivor is in safe room / group are

Should be easy to reconfigure that plugin for the group up points in non finale levels, just provide it with the hammerid of the trigger_multiple for the group up point and modify the plugin to...
Forum: Scripting 03-18-2021, 14:35
Replies: 11
Views: 2,170
Posted By Zynda
Re: [L4D2] How to scale the gas can goal in scavenge finales to number of survivors?

Here is a snippet I made for the VScript File Replacer that sets the cans required from the value of a ConVar (mine is named "l4d2_cans" in this case).


"c1m4_atrium"
{
"c1m4_atrium_finale"...
Forum: Scripting 03-18-2021, 14:12
Replies: 11
Views: 2,170
Posted By Zynda
Re: [L4D2] How to scale the gas can goal in scavenge finales to number of survivors?

Since the entity we're targeting is most likely always a singleton it should be safe to skip checking the targetname anyway.

Something like this should suffice:


int index = -1;

while...
Forum: Scripting 03-18-2021, 00:06
Replies: 11
Views: 2,170
Posted By Zynda
Re: [L4D2] How to scale the gas can goal in scavenge finales to number of survivors?

m_nScavengeItemsGoal is probably for the scavenge gamemode only.

Scavenge in coop is purely Director VScripts with the HUD element controlled by a game_scavenge_progress_display...
Forum: Extensions 02-03-2021, 18:04
Replies: 391
Views: 205,235
Posted By Zynda
Re: Accelerator - Crash Reporting That Doesn't Suck

These commands are available on some source games:
crash : cmd : , "cheat" : Cause the engine to crash (Debug!!)
sv_crash ...
Forum: Code Snippets/Tutorials 07-12-2016, 05:43
Replies: 7
Views: 1,856
Posted By Zynda
Re: Console Formatting: Creating Tables

I'm not sure i follow your thinking, could you enlighten me with an example of how that would be done?
Forum: Code Snippets/Tutorials 07-12-2016, 05:18
Replies: 7
Views: 1,856
Posted By Zynda
Re: Console Formatting: Creating Tables

Initially i did look into changing the font as a user but i remeber not finding much. As a mod developer it is possible for sure, Sven-Coop got an option to use an monospaced font for example.
I'll...
Forum: Scripting Help 07-12-2016, 05:07
Replies: 6
Views: 939
Posted By Zynda
Re: Reasoning behind log_amx > log_to_file

Okay, that makes sense to me, thanks for your input.
Forum: Scripting Help 07-11-2016, 19:46
Replies: 6
Views: 939
Posted By Zynda
Re: Reasoning behind log_amx > log_to_file

I am aware of what both functions does, I am simply questioning the ruling in this case.
Showing results 1 to 25 of 46

 
Forum Jump

All times are GMT -4. The time now is 00:21.


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