Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 138
Search took 0.02 seconds.
Search: Posts Made By: Earendil
Forum: Plugins 03-13-2024, 04:46
Replies: 15
Views: 5,608
Posted By Earendil
Forum: Scripting 02-21-2024, 13:17
Replies: 8
Views: 681
Posted By Earendil
Re: Is there a way to cancel revive attempt ?

An easy and dumb way to do that is to stagger the survivor performing the healing/reviving. Another way would be using OnPlayerRunCmd to cancel the +use button press to cancel the revive action as if...
Forum: Scripting 02-18-2024, 13:42
Replies: 8
Views: 681
Posted By Earendil
Re: Is there a way to cancel revive attempt ?

It depends, do you want to prevent revive or do you want to cancel a revive action at any moment of the progress.
Forum: Snippets and Tutorials 02-18-2024, 13:24
Replies: 1
Views: 1,515
Posted By Earendil
[L4D & L4D2] Plugin template

About:
When starting to write a new plugin there are a few things that always have to be added, and writing again and again, or making copy/paste and test the same piece of code constantly becomes...
Forum: Plugins 02-12-2024, 11:29
Replies: 229
Views: 294,086
Posted By Earendil
Re: [L4D(2)] Remove Lobby Reservation (When Full)

I don't know how to do it. And I don't know if that is even ethic or legal to do since you are starting to send fake data to Steam and other players.
Forum: Plugins 02-12-2024, 07:47
Replies: 229
Views: 294,086
Posted By Earendil
Re: [L4D(2)] Remove Lobby Reservation (When Full)

I think it was me who send you the modified the 8 slots by increasing it to 12. If it doesnt work is because the matchmaking system believes is a vs server up to 8 survivors. But even if you override...
Forum: Scripting 02-05-2024, 15:02
Replies: 10
Views: 936
Posted By Earendil
Re: L4D2 Infected

As far as I know you can't spawn more than 14 Special Infected bots in a vanilla server, console won't allow more. The max amount of zombies you can spawn is 28 but only if you use a server...
Forum: Scripting 02-05-2024, 14:58
Replies: 7
Views: 877
Posted By Earendil
Re: Clear() does not free the ArrayList memory in sourcemod?

All those things you are mentioning are Objects, once initialized with "new" a memory space is asigned to the object, using clear() will not free that memory space since objects still exist even if...
Forum: Scripting 12-07-2023, 18:13
Replies: 8
Views: 1,247
Posted By Earendil
Re: [L4D2] predicted_viewmodel can't set attach to other entity

You need to teleport your entity (use TeleportEntity), when parenting the entity will start moving from its origin relative to the player position and angles.
Forum: Scripting 12-07-2023, 18:07
Replies: 2
Views: 628
Posted By Earendil
Re: Normal function VS function inside a structure

I use enum struct methods/functions to process data inside my struct, its very useful because it encapsulates all the code and you know, when calling that method on an instance of that struct, it...
Forum: Plugins 05-12-2023, 11:35
Replies: 27
Views: 11,010
Posted By Earendil
Re: [L4D2] Zombie pets (v1.1.2) [08-Dec-2022]

Yes, only charger and jockey. Other special infected bots will run away from survivors because they are programmed to hide and ambush survivors when ability is ready, but since they can't use the...
Forum: General 05-04-2023, 17:33
Replies: 9
Views: 5,007
Posted By Earendil
Re: Best IDE for Sourcemod

Yes

Visual Studio Code + THIS (https://marketplace.visualstudio.com/items?itemName=Sarrus.sourcepawn-vscode)

It just made my life a lot easier with Git integration.
Forum: Plugins 04-12-2023, 16:21
Replies: 15
Views: 5,608
Posted By Earendil
Forum: Plugins 04-12-2023, 05:10
Replies: 15
Views: 5,608
Posted By Earendil
Re: [L4D & L4D2] Explosive Shots (v1.0.1) [30-Mar-2023]

File data/l4d_explosiveshots.cfg:
"weapon_pistol"
{
"dmg_zombies" 60.0 // Damage to zombies at the center of the explosion
"dmg_humans" 1.80 //...
Forum: Plugins 04-04-2023, 16:50
Replies: 45
Views: 18,911
Posted By Earendil
Re: [L4D & L4D2] Loot Boxes(v1.2)[03-Apr-2023]

Show the console error, it should show the reason why it fails to load.
Forum: Plugins 04-03-2023, 17:34
Replies: 45
Views: 18,911
Posted By Earendil
Re: [L4D & L4D2] Loot Boxes(v103)[17-Apr-2022]

Sorry for the delay, I have udpated the plugin to v1.2 with new events and bug fixes.

1.2 (03-Apr-2023)
- Fixed code for SM 1.11.
- Lootbox event weights moved to a config file instead of...
Forum: Scripting 04-02-2023, 17:12
Replies: 13
Views: 1,458
Posted By Earendil
Re: Important question: How can newbies learn SourcePawn?

Its possible to learn SourcePawn without a programming basis, but it will be really hard.

I'm going to talk in my personal experience. I started making extremely simple scripts for L4D2 to...
Forum: Scripting Help 04-02-2023, 16:27
Replies: 2
Views: 398
Posted By Earendil
Re: Help with Compiling L4D Script

First of all, this is AMX Mod X subforum. Your question is about SourceMod, wrong forum.

SourceMod menus are paginated, you can put all elements in the same menu handler and SM will handle the...
Forum: Plugins 03-31-2023, 06:07
Replies: 15
Views: 5,608
Posted By Earendil
Re: [L4D & L4D2] Explosive Shots (v1.0.1) [30-Mar-2023]

There are 2 cvars for that. One that enables/disables the whole plugin and the other that enables it only in some game modes.
Forum: Plugins 03-30-2023, 06:07
Replies: 15
Views: 5,608
Posted By Earendil
Re: [L4D & L4D2] Explosive Shots (v1.0) [28-Mar-2023]

I completely forgot to add valid sounds for Left 4 Dead, now both games have explosion sounds and they are precached on plugin start or map start.
Forum: Unapproved Plugins 03-28-2023, 18:06
Replies: 10
Views: 7,497
Posted By Earendil
Re: [L4D2] Explosive AWP and Scout bullets(v1.0.1)[26-May-21]

This is a request to admins to unapprove this plugin.

It has been replaced by this one here: https://forums.alliedmods.net/showthread.php?p=2801901#post2801901
Forum: Plugins 03-28-2023, 18:01
Replies: 15
Views: 5,608
Posted By Earendil
[L4D & L4D2] Explosive Shots (v1.0.1) [30-Mar-2023]

About:
I made a much more limited plugin and only for Left 4 Dead 2. You can still find it here (https://forums.alliedmods.net/showthread.php?p=2747814). A lot of people requested more features,...
Forum: Scripting 03-17-2023, 08:03
Replies: 5
Views: 1,449
Posted By Earendil
Re: Need help with Knife Round Duels plugin (used CHAT GPT)

Use ChatGPT to make small pieces of code, or get simple algorythms to solve a very concrete problem, never a full working plugin, because you will get a piece of text with tons of errors. And always...
Forum: Plugins 03-15-2023, 18:35
Replies: 2
Views: 2,115
Posted By Earendil
Re: [L4D2] Simple Custom Respawn Health of Defibrillator/Rescue v1.0【2023-03-16】

Similar results can be achieved by modifying server ConVars:

sm_cvar survivor_revive_health -> Temporary
sm_cvar z_survivor_respawn_health -> Permanent and works for defib and closet rescue
Forum: Plugins 03-15-2023, 05:19
Replies: 45
Views: 18,911
Posted By Earendil
Re: [L4D & L4D2] Loot Boxes(v1.1.1)[17-Jun-2022]

Its a safety variable, used to check if the weapon has spawned outside the weapon spawn function and print messages and return to the caller function a true or false value, watch the code. There is a...
Showing results 1 to 25 of 138

 
Forum Jump

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


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