Raised This Month: $ Target: $400
 0% 

Speed ​​and long jumps [Zombie Panic Source]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ORdli
Member
Join Date: Nov 2021
Old 12-13-2022 , 06:16   Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #1

I need a simple plugin that will allow the white zombie (Carrier) to jump a little further and move a little faster, I tried to take plugins from WC as a basis, but I don’t understand anything about it

I have the WC source but it doesn't work for Zombie Panic Source, I need only the white zombie to use it and the rest of the zombies are unchanged, I have the long jump source

#pragma semicolon 1
#include <sourcemod>
#include <sdktools>

#define PLUGIN_VERSION "1.0"

new Handle:g_hCVJumpBoost;

new Float:g_fPreviousVelocity[MAXPLAYERS+1][3];
new bool:g_bPlayerJumped[MAXPLAYERS+1];

public Plugin:myinfo =
{
name = "Long Jump White Zombie",
author = "WC",
description = "Boosts player jumps",
}

public OnPluginStart()
{
g_hCVJumpBoost = CreateConVar("sm_longjump_boost", "0.20", "Set to speed percentage to add to player jump speeds. (Default: 0.2)");

HookEvent("player_jump", Event_OnPlayerJump);
HookEvent("player_footstep", Event_OnPlayerFootstep);
}

public OnClientDisconnect(client)
{
g_bPlayerJumped[client] = false;
}

public Event_OnPlayerJump(Handle:event, const String:error[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
GetEntPropVector(client, Prop_Data, "m_vecVelocity", g_fPreviousVelocity[client]);
g_bPlayerJumped[client] = true;
}

public Event_OnPlayerFootstep(Handle:event, const String:error[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
g_bPlayerJumped[client] = false;
}

public OnGameFrame()
{
decl Float:vVelocity[3];
for(new i=1;i<=MaxClients;i++)
{
if(!IsClientInGame(i))
continue;

if(!g_bPlayerJumped[i])
continue;

GetEntPropVector(i, Prop_Data, "m_vecVelocity", vVelocity);
if(vVelocity[2] > g_fPreviousVelocity[i][2])
{
new Float:fIncrease = GetConVarFloat(g_hCVJumpBoost) + 1.0;
vVelocity[0] *= fIncrease;
vVelocity[1] *= fIncrease;

TeleportEntity(i, NULL_VECTOR, NULL_VECTOR, vVelocity);
g_bPlayerJumped[i] = false;
}
}
}



P.S
I would also like to understand why the forum is a marketplace for buying plugins, and are there any alternative sites that can help with plugins for free?

Last edited by ORdli; 12-13-2022 at 08:06. Reason: Plugin.sp
ORdli is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-13-2022 , 08:52   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #2

Quote:
Originally Posted by ORdli View Post
P.S
I would also like to understand why the forum is a marketplace for buying plugins, and are there any alternative sites that can help with plugins for free?
What ?

And where you have found these plugin what cost, from this forum ?
__________________
Do not Private Message @me
Bacardi is offline
Gummy6eaR
Junior Member
Join Date: Dec 2022
Old 12-13-2022 , 09:56   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #3

It’s true, if you immediately indicated the price in your request, you would immediately be answered, the higher the price, the more often they view the request, for a simple plugin you can be asked for money or ignored, always indicate the price in your request, this is the only way you can get an answer here , it sucks but it's true, you can also try to write on "World Source" maybe they will help you for free, they also help newbies who don't understand anything about it
Gummy6eaR is offline
ORdli
Member
Join Date: Nov 2021
Old 12-13-2022 , 10:00   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #4

how can I find this site, do you mean about World-Source ru?

I found this site but there is only a section on css and CS GO...

Last edited by ORdli; 12-13-2022 at 10:08. Reason: found
ORdli is offline
Gummy6eaR
Junior Member
Join Date: Dec 2022
Old 12-13-2022 , 10:15   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #5

Quote:
Originally Posted by ORdli View Post
how can I find this site, do you mean about World-Source ru?

I found this site but there is only a section on css and CS GO...
It is better to contact the person who will write the plugin to you for free via discord, you can ask your question in the discussions, you can also ask for help on hl mod, But I don't know if they will help you there for free.
Gummy6eaR is offline
ORdli
Member
Join Date: Nov 2021
Old 12-13-2022 , 10:17   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #6

Quote:
Originally Posted by Gummy6eaR View Post
It is better to contact the person who will write the plugin to you for free via discord, you can ask your question in the discussions, you can also ask for help on hl mod, But I don't know if they will help you there for free.
thank you, I didn't know about the existence of these sites, I'll try to ask my question there!
ORdli is offline
Gummy6eaR
Junior Member
Join Date: Dec 2022
Old 12-13-2022 , 10:30   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #7

Quote:
Originally Posted by ORdli View Post
thank you, I didn't know about the existence of these sites, I'll try to ask my question there!
I also recommend contacting _wS_ directly, he knows a lot about this and has helped many people for free, I also do not recommend you to use Warcraft mod sources if you don't understand anything about it, these plugins are not designed for your game, they were written for Counter Strike Source and v34!

Last edited by Gummy6eaR; 12-13-2022 at 10:45. Reason: do not use WC sources!
Gummy6eaR is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-13-2022 , 10:59   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #8

Quote:
Originally Posted by Gummy6eaR View Post
It’s true, if you immediately indicated the price in your request, you would immediately be answered, the higher the price, the more often they view the request, for a simple plugin you can be asked for money or ignored, always indicate the price in your request, this is the only way you can get an answer here , it sucks but it's true, you can also try to write on "World Source" maybe they will help you for free, they also help newbies who don't understand anything about it
Well, some forum users are asking small fee to take they time to make plugin.
- As long as you keep paying for that kind method,
there come more users asking money and maybe later demand payment in advance.

And we don't know, how many are using multiple-accounts, for one person to keep contact to plugin request.

All that payed stuff with you and plugin maker, should stay between you.
And forum only takes donations, if you want help devs for cost to keep site up.

If you not want pay for plugin, then don't.

You need wait, if someone is willing to make it.
Not everyone have much free time, or want to do something else.

Another thing is that game, I would say it is not as popular game as csgo or l4d2.
Plugin maker maybe need start learn how that game works.


Sorry for bad english

*edit
Second option is: Start coding yourself. It is not that hard.

Last edited by Bacardi; 12-13-2022 at 11:01.
Bacardi is offline
Gummy6eaR
Junior Member
Join Date: Dec 2022
Old 12-13-2022 , 11:08   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #9

Quote:
Originally Posted by Bacardi View Post
Well, some forum users are asking small fee to take they time to make plugin.
- As long as you keep paying for that kind method,
there come more users asking money and maybe later demand payment in advance.

And we don't know, how many are using multiple-accounts, for one person to keep contact to plugin request.

All that payed stuff with you and plugin maker, should stay between you.
And forum only takes donations, if you want help devs for cost to keep site up.

If you not want pay for plugin, then don't.

You need wait, if someone is willing to make it.
Not everyone have much free time, or want to do something else.

Another thing is that game, I would say it is not as popular game as csgo or l4d2.
Plugin maker maybe need start learn how that game works.


Sorry for bad english

*edit
Second option is: Start coding yourself. It is not that hard.

I know that most plugins cost money like the work itself, but asking for money for simple plugins is an abomination, on World Source plugin creators can also ask for money for creation, but they never ask for an advance payment, this is nonsense, how can you believe a person whom you don’t you know, if he can deceive you, first a plugin is created, then they contact the buyer directly via discord and show him that the plugin is ready and really works, only after that the deal goes through, unlike Alliedmodders where they first demand money from you, and they can ignore it, or just throw a smx file without the source, do not fool around.

edited
no one will contact you if you have a bad reputation and you take money for something that you can ask for free from others or find on other sites...

Last edited by Gummy6eaR; 12-13-2022 at 11:11. Reason: edited
Gummy6eaR is offline
Gummy6eaR
Junior Member
Join Date: Dec 2022
Old 12-13-2022 , 16:22   Re: Speed ​​and long jumps [Zombie Panic Source]
Reply With Quote #10

My God, I don’t believe that such petty people exist, who asked you for money for a plugin that can be written in 5 minutes, a person should have such an overestimated self-esteem to ask for money for such a plugin, give these dogs 2 dollars, let them buy themselves bone...

Take it for free...


public OnPluginStart()
{
HookEvent("player_spawn", Event_OnPlayerSpawn);
}

public Action:Event_OnPlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));

if(GetClientTeam(client) == 2) SetEntPropFloat(client, Prop_Data, "m_flLaggedMovementValue", 3.0);
}
Gummy6eaR is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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