Raised This Month: $18 Target: $400
 4% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Marttt
Forum: Plugin/Gameplay Ideas and Requests 12-06-2022, 13:29
Replies: 21
Views: 5,922
Posted By Marttt
Re: [L4D2] Who called the horde?

#include <sourcemod>

public void OnPluginStart()
{
HookEvent("create_panic_event", Event_Panic);
}

void Event_Panic(Event event, const char[] name, bool dontBroadcast)
{
int client...
Forum: Scripting 12-03-2022, 10:41
Replies: 2
Views: 132
Posted By Marttt
Re: [L4D2]How to find which player deploy the upgradeAmmo pack

I believe you can get that by storing the userid in the event below:

Server event "upgrade_pack_used", Tick 77782:
- "upgradeid" = "234"
- "userid" = "2"
Forum: Scripting 12-03-2022, 10:08
Replies: 3
Views: 112
Posted By Marttt
Re: [L4D2]Another method used to get the m_strMapSetScriptName of a melee weapon

I have noticed another prop m_hMeleeWeaponInfo (Prop_Send) buy maybe comparing it with the meleeweapons table could find something.

These are my debug values:

Using on c5m1_waterfront map

...
Forum: Scripting 12-03-2022, 09:55
Replies: 3
Views: 112
Posted By Marttt
Re: [L4D2]Another method used to get the m_strMapSetScriptName of a melee weapon

the other method that I usually use is checking by its model name.


"models/weapons/melee/w_tonfa.mdl"


in this case.
Forum: Plugin/Gameplay Ideas and Requests 12-03-2022, 09:24
Replies: 5
Views: 246
Posted By Marttt
Re: [L4D2] Back 4 Blood Corruption cards Plugin Idea

You may try [L4D2] Chaos Mod (https://forums.alliedmods.net/showthread.php?t=340681)
Forum: Plugin/Gameplay Ideas and Requests 12-01-2022, 08:25
Replies: 4
Views: 274
Posted By Marttt
Re: A Christmas tank plugin ?

Just download some tank custom model and use FastDL+Random Tank plugin
Forum: Plugin/Gameplay Ideas and Requests 11-30-2022, 06:48
Replies: 2
Views: 152
Posted By Marttt
Re: Most simple way to build an extra ladder (without recompile)

Usually you use stripper to change a func_simpleladder (https://developer.valvesoftware.com/wiki/Func_simpleladder) to everyone

Something like


modify:
{
match:
{
"classname"...
Forum: Plugin/Gameplay Ideas and Requests 11-28-2022, 17:28
Replies: 4
Views: 253
Posted By Marttt
Re: [L4D2] Plugin to fix windows ledge grab

Works for things like env_player_blocker / trigger_multiple / similar entities (only in local/listen server)

This may help too to find: [ANY] ent_text - More Commands...
Forum: General 11-28-2022, 14:39
Replies: 1
Views: 272
Posted By Marttt
Forum: Plugin/Gameplay Ideas and Requests 11-28-2022, 12:30
Replies: 4
Views: 253
Posted By Marttt
Re: [L4D2] Plugin to fix windows ledge grab

Don't know if is related but, as you can see in this screenshot:

https://imgur.com/gzdhPLy.png

What I have notice is that the upper floor blockers have different "positions", the upper ones...
Forum: Plugins 11-28-2022, 09:34
Replies: 7
Views: 4,139
Posted By Marttt
Re: [L4D2]HUD with player list & kill list info like cs

Nice, I'm also making an include with lots of options to use this HUD, probably will share soon.
Also worth mentioning in the main post, that the HUD string text is limited to 127 characters, so if...
Forum: HL1 Servers (HLDS) 11-25-2022, 08:46
Replies: 1
Views: 238
Posted By Marttt
Re: How do i launch perks mod in l4d2

https://www.sourcemod.net/plugins.php?cat=0&mod=6&title=Perk&author=&description=&search=1
Forum: Scripting 11-22-2022, 17:46
Replies: 6
Views: 304
Posted By Marttt
Re: [L4D2]Shockwave?

So the video is from your utube channel,

Didn't you already accomplished that, or is some kind of private plugin that you don't have the source code.
Forum: Scripting 11-22-2022, 15:16
Replies: 6
Views: 304
Posted By Marttt
Re: [L4D2]Shockwave?

I don't think the engine will handle like that. Physics are expensive.

Maybe you can do something with the explosion (env_explosion) or breaking a propane + Gravity Physics extension.
Forum: Plugin/Gameplay Ideas and Requests 11-20-2022, 19:53
Replies: 3
Views: 239
Posted By Marttt
Re: [L4D2] Tank bot nav patch

[L4D1 & L4D2] Tank anti-stuck (anti-block)
(https://forums.alliedmods.net/showthread.php?t=314741)
Forum: Plugin/Gameplay Ideas and Requests 11-18-2022, 06:21
Replies: 5
Views: 306
Posted By Marttt
Re: [L4D2] Help fix the Game Crash when chainsaw on witch

May be related to both issues below:

https://github.com/ValveSoftware/Source-1-Games/issues/2526
https://github.com/ValveSoftware/Source-1-Games/issues/3607
Forum: Scripting 11-17-2022, 22:37
Replies: 10
Views: 503
Posted By Marttt
Re: [L4D2]How to get the hit group in SDKHook_OnTakDamage?

Maybe is better to check damagetype
AFAIK shove is always DMG_CLUB and a valid client index for inflictor.
unless you have some plugin or addon that changes that.
Forum: Scripting 11-17-2022, 13:53
Replies: 10
Views: 503
Posted By Marttt
Re: [L4D2]How to get the hit group in SDKHook_OnTakDamage?

Don't know for what use it is for, but you can try using the events below:


player_shoved (https://wiki.alliedmods.net/Left_4_Dead_2_Events#player_shoved)
entity_shoved...
Forum: Scripting 11-16-2022, 16:20
Replies: 10
Views: 503
Posted By Marttt
Re: [L4D2]How to get the hit group in SDKHook_OnTakDamage?

You can use also the event player_hurt but is kinda the last event, if you need modify something then goes for TraceAttack/TakeDamage
Forum: Scripting 11-16-2022, 09:30
Replies: 10
Views: 503
Posted By Marttt
Re: [L4D2]How to get the hit group in SDKHook_OnTakDamage?

use SDKHook_TraceAttack


// TraceAttack
function Action (int victim, int &attacker, int &inflictor, float &damage, int &damagetype, int &ammotype, int hitbox, int hitgroup);


It usually runs...
Forum: Scripting 11-15-2022, 08:59
Replies: 14
Views: 503
Posted By Marttt
Re: SQL duplicate entry

The error is self explanatory:

SQL Error: Incorrect integer value: 'NULL' for column 'Id' at row 1

Means that you are passing "null" to the Id column

When the table is created, the column is...
Forum: General 11-14-2022, 18:29
Replies: 3
Views: 406
Posted By Marttt
Re: How to disable logs in /logs dir?

maybe the "log" cvar.


log : cmd : : Enables logging to file, console, and udp < on | off >


"log off"

At least on my server...
Forum: Scripting 11-14-2022, 16:40
Replies: 1
Views: 168
Posted By Marttt
Re: VipIcon problem CSGO(display only for teammates)

You should include a logic based on team/spec logic in Should_TransmitW
(the model stuff doesn't make much sense)
Forum: Scripting 11-11-2022, 15:54
Replies: 1
Views: 202
Posted By Marttt
Re: [L4D2]Is there a way to calculate fall damage corresponding to height

Left 4 DHooks Direct

// Returns the estimated fall damage of a player.
native float L4D_EstimateFallingDamage(int client);
Forum: Plugins 11-10-2022, 11:48
Replies: 0
Views: 110
Posted By Marttt
[ASWRD] Door Seal Time Duration [v1.0.0 | 10-November-2022]

Alien Swarm: Reactive Drop ONLY

Description

This plugin manage the duration to seal doors.

Features

Allow enabling/disabling the plugin.
Allow to set a default seal duration to all...
Showing results 1 to 25 of 500

 
Forum Jump

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


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