AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Half-Life: Snake vs Monkey (https://forums.alliedmods.net/showthread.php?t=316156)

gabuch2 05-10-2019 12:40

Half-Life: Snake vs Monkey
 
2 Attachment(s)
[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.

https://gamemonitoring.net/en/banner560x95-201408.png

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

gabuch2 05-10-2019 12:40

Re: Half-Life: Snake vs Monkey
 
reserved

Krtola 05-10-2019 13:54

Re: Half-Life: Snake vs Monkey
 
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 


gabuch2 05-10-2019 20:19

Re: Half-Life: Snake vs Monkey
 
Quote:

Originally Posted by Krtola (Post 2651130)
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.


All times are GMT -4. The time now is 03:38.

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