Raised This Month: $214 Target: $400
 53% 

Showing results 1 to 25 of 39
Search took 0.01 seconds.
Search: Posts Made By: Zynda
Forum: General 06-15-2021, 23:11
Replies: 2
Views: 518
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: 391
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: 391
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,252
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: 58
Views: 17,131
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: 1,284
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,779
Views: 967,683
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: 240
Views: 93,013
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: 240
Views: 93,013
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: 6
Views: 810
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: 10
Views: 1,076
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: 10
Views: 1,076
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: 10
Views: 1,076
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: 378
Views: 172,314
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,663
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,663
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: 729
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: 729
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, 19:19
Replies: 6
Views: 729
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, 18:53
Replies: 8
Views: 896
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, 18:44
Replies: 7
Views: 634
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, 17:27
Replies: 7
Views: 1,663
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, 08:06
Replies: 7
Views: 634
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, 17:05
Replies: 4
Views: 322
Posted By Zynda
Re: GetGameDescription return differs

Much obliged; just what i need.
Forum: Scripting Help 06-05-2016, 11:18
Replies: 4
Views: 322
Posted By Zynda
Re: GetGameDescription return differs

I never said what i ultimately was trying to do, as it is not really important to the question.
My task is to get which hlmod is running and make decisions based on that.

Specifying the string...
Showing results 1 to 25 of 39

 
Forum Jump

All times are GMT -4. The time now is 18:30.


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