Raised This Month: $10 Target: $400
 2% 

Showing results 1 to 25 of 40
Search took 0.00 seconds.
Search: Posts Made By: Zynda
Forum: Scripting 09-10-2021, 05:35
Replies: 5
Views: 722
Posted By Zynda
Re: L4D2 Muzzleflash

To clarify, are you looking for a client side or a server side solution?
Forum: General 06-16-2021, 00:11
Replies: 2
Views: 642
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, 06:49
Replies: 4
Views: 511
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, 23:38
Replies: 4
Views: 511
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, 23:54
Replies: 4
Views: 2,418
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, 06:48
Replies: 58
Views: 19,033
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, 09:46
Replies: 1
Views: 1,909
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, 04:16
Replies: 1,794
Views: 1,009,780
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, 08:15
Replies: 260
Views: 111,627
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, 05:50
Replies: 260
Views: 111,627
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, 12:28
Replies: 5
Views: 953
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, 15:35
Replies: 11
Views: 1,693
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, 15:12
Replies: 11
Views: 1,693
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, 01:06
Replies: 11
Views: 1,693
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, 19:04
Replies: 380
Views: 184,458
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, 06:43
Replies: 7
Views: 1,736
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, 06:18
Replies: 7
Views: 1,736
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, 06:07
Replies: 6
Views: 828
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, 20:46
Replies: 6
Views: 828
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.
Forum: Scripting Help 07-11-2016, 20:19
Replies: 6
Views: 828
Posted By Zynda
Reasoning behind log_amx > log_to_file

After reviewing this sticky in the new plugins submission forum:
https://forums.alliedmods.net/showthread.php?t=21956

Most of the rules are self-explanatory or just makes sense as they are.
But...
Forum: Scripting Help 07-11-2016, 19:53
Replies: 8
Views: 952
Posted By Zynda
Re: Colors don't work.

From the API on client_print_color:

This only works in Counter-Strike 1.6 and Condition Zero.

So it must be either one of those i assume.
Forum: Scripting Help 07-11-2016, 19:44
Replies: 7
Views: 707
Posted By Zynda
Re: fllow ent (RPG Rocket)?

Updated and tested as per request.

Now godmode is enabled just as the rocket explodes ( touches a wall, player etc.. ) then i set a timer to remove godmode after 0.5 seconds.

Also, that stock...
Forum: Code Snippets/Tutorials 07-11-2016, 18:27
Replies: 7
Views: 1,736
Posted By Zynda
Console Formatting: Creating Tables

Introduction

I've mapped the width of the most basic characters ( Basically ASCII 32 to 126 )
and developed a function to easily calculate the amount of whitespaces
required to pad a string in...
Forum: Scripting Help 07-08-2016, 09:06
Replies: 7
Views: 707
Posted By Zynda
Re: fllow ent (RPG Rocket)?

This sparked my interest because is just sounds so fun, so i whipped this up just now.
It is far from foolproof, but this will make the owner of any rpg_rocket 'follow' by copying the velocity to...
Forum: Scripting Help 06-05-2016, 18:05
Replies: 4
Views: 368
Posted By Zynda
Re: GetGameDescription return differs

Much obliged; just what i need.
Showing results 1 to 25 of 40

 
Forum Jump

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


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