[HL2:DM] Longjump Modul

A place for requesting new Source.Python plugins to be made for your server.

Please request only one plugin per thread.
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

[HL2:DM] Longjump Modul

Postby Painkiller » Mon Apr 20, 2020 7:14 am

The long jump from HL1
with key combination you could use over-shift and space to use a longjump.

You had to collect it but it is located at different places on the map.

Would someone be kind enough to write a plugin for it ?
Is it possible to place this on the map without using the hammer?
Would it be possible to attach this to the model on her back when collecting it?


(I have a modelreplacement.py with which I can exchange things.
With which I can change every model and material on the map.
For example I could turn a bottle into a longjump module.)


Here are the materials, models and sounds.

Code: Select all

/4/hl2mp/models/items/item_longjump_r3.mdl
/4/hl2mp/models/items/item_longjump_r3.dx80.vtx
/4/hl2mp/models/items/item_longjump_r3.dx90.vtx
/4/hl2mp/models/items/item_longjump_r3.phy
/4/hl2mp/models/items/item_longjump_r3.sw.vtx
/4/hl2mp/models/items/item_longjump_r3.vvd
/4/hl2mp/materials/models/items/longjump_normals.vtf
/4/hl2mp/materials/models/items/longjump_diffuse.vtf
/4/hl2mp/materials/models/items/longjump_metal.vmt
/4/hl2mp/materials/models/items/longjump_rubber.vmt
/4/hl2mp/sound/items/longjump_pickup_vo.wav
/4/hl2mp/sound/items/longjump_pickup_sfx.wav
/4/hl2mp/sound/items/longjump1.wav
/4/hl2mp/sound/items/longjump2.wav


Thanks in Advance
Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Tue Apr 21, 2020 10:31 am

Is that honest? You suggest others write a plugin for you. Then you put it on the server on your behalf. Great idea xDDDDDD
Last edited by Sam on Tue Apr 21, 2020 10:31 am, edited 1 time in total.
Reason: Original post version
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] Longjump Modul

Postby Painkiller » Tue Apr 21, 2020 12:29 pm

Did I put it that way?
Then I'm sorry.
Am I in the wrong thraid to ask for a plugin?
I also didn't know that I was talking with a word from an info.ini that I was going to make it my plugin.
Corios where they take these baubles.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [HL2:DM] Longjump Modul

Postby Ayuto » Tue Apr 21, 2020 4:31 pm

Sam wrote:Is that honest? You suggest others write a plugin for you. Then you put it on the server on your behalf. Great idea xDDDDDD

This is exactly what this forum is made for - non-programmers can ask programmers to write a plugin for them. Everything is fine to request plugins here.
Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Wed Apr 22, 2020 2:04 am

Ayuto wrote:
Sam wrote:Is that honest? You suggest others write a plugin for you. Then you put it on the server on your behalf. Great idea xDDDDDD

This is exactly what this forum is made for - non-programmers can ask programmers to write a plugin for them. Everything is fine to request plugins here.

Oof...
Last edited by Sam on Wed Apr 22, 2020 2:04 am, edited 1 time in total.
Reason: Original post version
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Re: [HL2:DM] Longjump Modul

Postby satoon101 » Wed Apr 22, 2020 2:19 pm

I am not sure why you are so upset about someone requesting a plugin in the "Plugin Requests" forum. Once someone provides the plugin, the code for it will be in this thread, free for ANYONE to use, not just the requester. This has been a thing since forever, and a similar forum existed on the EventScripts forum and one currently exists on the SourceMod forums.
Image
Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Thu Apr 23, 2020 11:35 am

I'm just crazy about sitting at home. Sometimes I can carry nonsense. I apologize
Last edited by Sam on Thu Apr 23, 2020 11:35 am, edited 1 time in total.
Reason: Original post version
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] Longjump Modul

Postby Painkiller » Sat Apr 25, 2020 7:21 am

Would anyone be interested in taking up this project?
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] Longjump Modul

Postby Painkiller » Sun May 24, 2020 7:15 am

Good Morning @ all,
would anyone have the time and inclination to complete this?
Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Sun May 24, 2020 7:32 am

I have a desire to do it but there is no time and there is a less good alternative: AdvancedBunnyHop
Last edited by Sam on Sun May 24, 2020 7:32 am, edited 1 time in total.
Reason: Original post version
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] Longjump Modul

Postby Painkiller » Sun May 24, 2020 7:35 am

No, unfortunately this has nothing to do with it.
Straifjump and bunnyhop are available in HL2:DM from home.
Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Sun May 24, 2020 7:36 am

But you can rewrite this plugin (That's what I meant)
Last edited by Sam on Sun May 24, 2020 7:36 am, edited 1 time in total.
Reason: Original post version
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] Longjump Modul

Postby Painkiller » Sun May 24, 2020 7:39 am

I don't think you know which forum the request came from.

I think you've been confused since the beginning.

I hope you can locate the forum area.
Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Sun May 24, 2020 7:44 am

I don’t think everything is so complicated to rewrite the plugin... For this reason, most requests will be ignored.
If I find some free time. I will deal with your inquiries.
Last edited by Sam on Sun May 24, 2020 7:44 am, edited 1 time in total.
Reason: Original post version
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] Longjump Modul

Postby Painkiller » Sun May 24, 2020 7:46 am

Yes that would be great but then you can save yourself the power of the confused statements.
Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Sun May 24, 2020 9:12 am

Can you give me the resources? (Sounds, models, etc.)
Last edited by Sam on Sun May 24, 2020 9:12 am, edited 1 time in total.
Reason: Original post version
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] Longjump Modul

Postby Painkiller » Sun May 24, 2020 9:17 am

Sam wrote:Can you give me the resources? (Sounds, models, etc.)


Are you kidding me?

Painkiller wrote:The long jump from HL1
with key combination you could use over-shift and space to use a longjump.

You had to collect it but it is located at different places on the map.

Would someone be kind enough to write a plugin for it ?
Is it possible to place this on the map without using the hammer?
Would it be possible to attach this to the model on her back when collecting it?


(I have a modelreplacement.py with which I can exchange things.
With which I can change every model and material on the map.
For example I could turn a bottle into a longjump module.)


Here are the materials, models and sounds.

Code: Select all

/4/hl2mp/models/items/item_longjump_r3.mdl
/4/hl2mp/models/items/item_longjump_r3.dx80.vtx
/4/hl2mp/models/items/item_longjump_r3.dx90.vtx
/4/hl2mp/models/items/item_longjump_r3.phy
/4/hl2mp/models/items/item_longjump_r3.sw.vtx
/4/hl2mp/models/items/item_longjump_r3.vvd
/4/hl2mp/materials/models/items/longjump_normals.vtf
/4/hl2mp/materials/models/items/longjump_diffuse.vtf
/4/hl2mp/materials/models/items/longjump_metal.vmt
/4/hl2mp/materials/models/items/longjump_rubber.vmt
/4/hl2mp/sound/items/longjump_pickup_vo.wav
/4/hl2mp/sound/items/longjump_pickup_sfx.wav
/4/hl2mp/sound/items/longjump1.wav
/4/hl2mp/sound/items/longjump2.wav


Thanks in Advance


http://178.63.54.240:8080/178_63_54_240 ... /hl2mp.rar
Last edited by Painkiller on Sun May 24, 2020 9:27 am, edited 1 time in total.
Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Sun May 24, 2020 9:21 am

The resources themselves, not their location...
Last edited by Sam on Sun May 24, 2020 9:21 am, edited 1 time in total.
Reason: Original post version
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] Longjump Modul

Postby Painkiller » Sun May 24, 2020 9:28 am

Sam
Senior Member
Posts: 100
Joined: Tue Jul 03, 2018 3:00 pm
Location: *DELETED*
Contact:

Re: [HL2:DM] Longjump Modul

Postby Sam » Mon May 25, 2020 1:43 pm

# For devs
My disk has serious problems, and I can’t do this work for a long time, and I give this code to everyone who wants to continue it. (Sorry for it)

Syntax: Select all

from plugins.info import PluginInfo
from cvars import ConVar
from listeners import OnConVarChanged
from cvars.flags import ConVarFlags
from entities.hooks import EntityPreHook, EntityCondition
from entities.entity import Entity
from memory import make_object
from players.entity import Player
from entities.constants import MoveType
from players.constants import PlayerStates, PlayerButtons
from mathlib import Vector, QAngle
from players import UserCmd

plugin = PluginInfo(
'LongJump',
'LongJump',
'NoName',
'Long Jump Module',
'1.0',
'',
)

PLAYER_LONGJUMP_SPEED = 350
CanSuperJump = [ 0 ] * 32

@EntityPreHook(EntityCondition.is_human_player, 'run_command')
def PreRunCommand(args):
player = make_object(Player, args[0])
if CanSuperJump[player.index] != 1:
return
if player.dead:
return
if player.move_type & MoveType.LADDER:
return
if player.water_level > 1:
return
if player.flags & PlayerStates.ONGROUND:
return
user_cmd = make_object(UserCmd, args[1])
vel = player.velocity
forward = Vector(0, 0, 0)
user_cmd.view_angles.get_angle_vectors(forward, None, None)
if (vel.length > 50) & (player.is_ducking):
punch = player.get_network_property_vector('localdata.m_Local.m_vecPunchAngle')
punch[0] = -5
vel[0] = forward[0] * PLAYER_LONGJUMP_SPEED * 1.6
vel[1] = forward[1] * PLAYER_LONGJUMP_SPEED * 1.6
vel[2] = (2 * 800 * 56.0) ** (1 / 2)
player.set_network_property_vector('localdata.m_Local.m_vecPunchAngle', punch)
player.teleport(None, None, vel)
return
Last edited by Sam on Mon May 25, 2020 1:43 pm, edited 1 time in total.
Reason: Original post version

Return to “Plugin Requests”

Who is online

Users browsing this forum: No registered users and 34 guests