Raised This Month: $62 Target: $400
 15% 

Half-Life: Snake vs Monkey


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Half-Life        Category:   Gameplay       
Gabe Iggy
Veteran Member
Join Date: Mar 2011
Location: Chile
Old 05-10-2019 , 12:40   Half-Life: Snake vs Monkey
Reply With Quote #1

[HLDM] Snake vs. Monkey
Author: Gabe Iggy
Version: 0.8.9 Beta

This project is an attempt to port the SVM gamemode from the game Half-Life 2: Jaykin' Bacon Source to Half-Life Deathmatch via AMXX.

Gamemode Description

In this gamemode, the players will rotate and one of them will become Snake and the rest will become soldiers (Monkey). The objective of the monkeys is to prevent Snake from reaching the Kerotan (Green Frog Dolls) either by laying traps or finding and killing snake outright. Snake wins either by killing all the monkeys or by reaching the Kerotan.

Snake is equipped with a Cardboard Box, a .357 revolver, grenades and satchel charges. The cardboard box allows him to hide and become unnoticeable as long he remains crouched and not moving.
The monkeys are equipped with Shotgun, 9mm Assault Rifle, 9mm Handgun and Tripmines.

This gamemode has a very strong Metal Gear Solid theming.

CS1.6's assassination maps (as_) are surprisingly good for this gamemode and it's recommended you use them whenever you can, although via console commands you can create support for virtually any map.

Dependencies

This plugin requires the following to work:
Console Variables
  • amx_svm_enable
    Enables the plugin. (Default 1)
  • amx_svm_round_time
    Each round time limit, in seconds. (Default 300)
  • amx_svm_round_freeze_time
    Round Freeze Time, in seconds. (Default 10)

Admin Console Commands
  • create_kerotan
    Spawns a Kerotan point in your position.
  • create_snake_spawn
    Spawns a Snake Spawn Point
  • svm_save_ents
    Saves all Kerotans and Snake Spawn Points in the map

Requisites

The following console variables are required to be set on a certain value for this gamemode to work
  • mp_welcomecam 0 (Only on Half-Life Bugfixed)
  • mp_teamplay 1
  • mp_allowmonsters 1
  • mp_teamlist "Snake;Monkey"

Tested Games
  • Half-Life (Only the custom bugfixed release was tested, but it should work with the vanilla binary)

Supported Games

The following games were not tested, but they should work.
  • Opposing Force
  • Adrenaline Gamer
  • Adrenaline Gamer Mini

Installation Instructions
  • Do not download the .amxx file from here. As the webcompiler lacks the includes needed to generate the plugin correctly.
  • Download and install the contents of assets.zip in your game directory.
  • Place the contents of scripts in your scripting directory.
  • Compile the .sma files (hldm_snake_vs_monkey.sma and box_philosophy.sma) and install the newly generated .amxx files. (Remember to install the latest version of Weapon Mod in your server)

Test it

This mod is part of my Multi Mod server, so you can test it there.



Just click the banner and you will join automatically.

Credits
  • The Podunkian
    HL2JKS creator, original gamemode creator.
  • Gabe Iggy
    Plugin Author
  • Th3-822
    Save file system (for entities)
  • Konami
    For Metal Gear Solid Series
  • Mementocity
    CSCZ SAS rigging to HLDM

Snake's model was taken from another mod (Ragnarok Arena). Going to add the author as soon I get home.

Additional Links

Bot Support

This gamemode has limited bot support.
  • Bots will never become Snake (as they are unable to hide or complete the objective).
  • They won't see Snake through the card board box. (as long the condition for hiding are met, ie: if Snake is moving they will attack him)
  • Even though it's technically an NPC monster, the bots will not try to attack the Kerotan.

Tested bots:
  • jk_botti

Change Log
  • 0.8.9
    • Initial public beta release
Attached Files
File Type: zip assets.zip (2.62 MB, 20 views)
File Type: zip scripts.zip (19.3 KB, 15 views)
__________________

Last edited by Gabe Iggy; 05-19-2019 at 22:53. Reason: More edits
Gabe Iggy is offline
Gabe Iggy
Veteran Member
Join Date: Mar 2011
Location: Chile
Old 05-10-2019 , 12:40   Re: Half-Life: Snake vs Monkey
Reply With Quote #2

reserved
__________________
Gabe Iggy is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 05-10-2019 , 13:54   Re: Half-Life: Snake vs Monkey
Reply With Quote #3

Any specific reason why you're using
PHP Code:
SND_SPAWNING 
?
PHP Code:
emit_sound(idCHAN_VOICESNAKE_PAINSOUND_1VOL_NORMATTN_NORMSND_SPAWNINGPITCH_NORM
I want to know what are changing this constants?
PHP Code:
#define SND_SPAWNING        (1<<8)      // we're spawing, used in some cases for ambients 
__________________
Check my new Zombie Mod (2019)
Based on best and fun half-life maps
Look at the video below

https://www.youtube.com/watch?v=bdvwxRujAl4&t=249s

Last edited by Krtola; 05-10-2019 at 13:54.
Krtola is offline
Send a message via Skype™ to Krtola
Gabe Iggy
Veteran Member
Join Date: Mar 2011
Location: Chile
Old 05-10-2019 , 20:19   Re: Half-Life: Snake vs Monkey
Reply With Quote #4

Quote:
Originally Posted by Krtola View Post
Any specific reason why you're using
PHP Code:
SND_SPAWNING 
?
PHP Code:
emit_sound(idCHAN_VOICESNAKE_PAINSOUND_1VOL_NORMATTN_NORMSND_SPAWNINGPITCH_NORM
I want to know what are changing this constants?
PHP Code:
#define SND_SPAWNING        (1<<8)      // we're spawing, used in some cases for ambients 
No real reason.

I did it because according to the documentation it required a parameter in flags but now that you mentioned it, it might as well be just 0.
__________________
Gabe Iggy 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 10:12.


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