Raised This Month: $209 Target: $400
 52% 

[HL] Barnacle Grapple


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Half-Life        Category:   Gameplay        Approver:   ConnorMcLeod (74)
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 11-27-2012 , 03:25   [HL] Barnacle Grapple
Reply With Quote #1

Barnacle Grapple [AGHL.ru link]
version 1.1
by KORD_12.7



Needed modules:

Description:
The Barnacle Grapple, also known as Specimen 1176, is a detached Barnacle which can be used as both a weapon and a grappling hook. Its tongue can be shot out to latch onto organic objects, such as enemies. In Opposing Force, it is learned that the Black Mesa scientists working in Sector E's Biodome Complex have been able to successfully detach a Barnacle (named "Specimen 1176") from its point of gestation, in good health, and were able to coerce it into latching onto organic materials, such as creatures, fungi and moss, and convert it as a portable weapon.

Settings:
Code:
// Weapon settings
#define WEAPON_NAME 			"weapon_grapple"
#define WEAPON_SLOT			1
#define WEAPON_POSITION			5
#define WEAPON_PRIMARY_AMMO		"" // NULL
#define WEAPON_PRIMARY_AMMO_MAX		-1
#define WEAPON_SECONDARY_AMMO		"" // NULL
#define WEAPON_SECONDARY_AMMO_MAX	-1
#define WEAPON_MAX_CLIP			-1
#define WEAPON_DEFAULT_AMMO		-1
#define WEAPON_FLAGS			0
#define WEAPON_WEIGHT			21

// Grapple settings
#define GRAPPLE_FLY_VELOCITY		1500
#define GRAPPLE_PULL_VELOCITY		400.0

// Hud
#define WEAPON_HUD_TXT			"sprites/weapon_grapple.txt"
#define WEAPON_HUD_SPR			"sprites/weapon_grapple.spr"

// Models
#define MODEL_VIEW			"models/v_bgrap_koshak.mdl"
#define MODEL_WORLD			"models/w_bgrap.mdl"
#define MODEL_PLAYER			"models/p_bgrap.mdl"
#define MODEL_TONGUE_TIP		"models/shock_effect.mdl"

// Sprites
#define SPRITE_TONGUE			"sprites/tongue.spr"

// Sounds
#define SOUND_DRAW			"weapons/alienweap_draw.wav"
#define SOUND_WAIT			"weapons/bgrapple_wait.wav"
#define SOUND_PULL			"weapons/bgrapple_pull.wav"
#define SOUND_FIRE			"weapons/bgrapple_fire.wav"
#define SOUND_COUGH			"weapons/bgrapple_cough.wav"
#define SOUND_CHEW_1			"barnacle/bcl_chew1.wav"
#define SOUND_CHEW_2			"barnacle/bcl_chew2.wav"
#define SOUND_CHEW_3			"barnacle/bcl_chew3.wav"
#define SOUND_IMPACT			"weapons/bgrapple_impact.wav"
#define SOUND_RELEASE			"weapons/bgrapple_release.wav"

// Animation
#define ANIM_EXTENSION			"gauss"

Credits:
  • Gearbox - for great mod Opposing Force.
  • Koshak - for model edit.

Video:

Changelog:
1.0
  • First release.
1.1
  • Fixed TraceTexture crash (thanks to GordonFreeman for tests).
Note:
Do not use webcompiler aka "Get Plugin" button. Get Source and compile it manually.
Attached Files
File Type: zip resources.zip (346.4 KB, 560 views)
File Type: sma Get Plugin or Get Source (wpn_grapple.sma - 1364 views - 19.1 KB)
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community

Last edited by KORD_12.7; 01-06-2013 at 02:47.
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 12-08-2012 , 21:06   Re: [HL] Barnacle Grapple
Reply With Quote #2

Yeah... You really need to start making CS compatible plugins... MORE AUDIENCE
__________________
BLacking98 is offline
nagile
Member
Join Date: Dec 2012
Location: Norway
Old 01-04-2013 , 17:37   Re: [HL] Barnacle Grapple
Reply With Quote #3

My server crash when i attach to spore ammo with the weapon.
i cannot compile local so i did online. when i try to compile local i get:
[IMG]http://img577.**************/img577/622/skjermbilded.png[/IMG]
I just disable the plugin until i get it fixed.

Last edited by nagile; 01-04-2013 at 17:37.
nagile is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 01-04-2013 , 22:08   Re: [HL] Barnacle Grapple
Reply With Quote #4

Update Beam Entities include on your machine: https://forums.alliedmods.net/showthread.php?t=184780
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
nagile
Member
Join Date: Dec 2012
Location: Norway
Old 01-05-2013 , 05:28   Re: [HL] Barnacle Grapple
Reply With Quote #5

It worked but my server still crash when i try to grapple on spore ammo i get

Runtime error
R6025
-pure virtual function call

Last edited by nagile; 01-05-2013 at 05:32.
nagile is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 01-05-2013 , 06:10   Re: [HL] Barnacle Grapple
Reply With Quote #6

I dont know, my test server works fine, without crashes. Can your provide information about your server (version, list of installed plugins and etc)?
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
nagile
Member
Join Date: Dec 2012
Location: Norway
Old 01-05-2013 , 13:20   Re: [HL] Barnacle Grapple
Reply With Quote #7

Code:
Protocol version 48
Exe version 1.1.2.1/2.0.1614.192 (valve)
Exe build: 10:44:50 Aug 28 2012 (5758)


Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.1.3  ini  Start ANY  
 [ 2] HPB_Bot          RUN   -    hpb_bot_mm.dll    v4.0.4    ini  Start ANY  
 [ 3] Fun              RUN   -    fun_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
 [ 4] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.1.3  pl1  ANY   ANY  
 [ 5] HL Weapon Mod    RUN   -    weaponmod_amxx.d  v0.7      pl1  ANY   ANY  
 [ 6] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.1.3  pl1  ANY   ANY  
 [ 7] Engine           RUN   -    engine_amxx.dll   v1.8.1.3  pl1  ANY   ANY
nagile is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 01-06-2013 , 02:48   Re: [HL] Barnacle Grapple
Reply With Quote #8

Plugin updated: fixed TraceTexture crash (thanks to GordonFreeman for tests).
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
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 02:19.


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