Raised This Month: $12 Target: $400
 3% 

[HL] M249: Squad Automatic Weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Half-Life        Category:   Gameplay        Approver:   Arkshine (91)
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 04-21-2012 , 03:55   [HL] M249: Squad Automatic Weapon
Reply With Quote #1

M249: Squad Automatic Weapon [AGHL.ru link]
version 1.0
by KORD_12.7



Supported mods:
  • Half-Life only.

Needed modules:

Description:
This plugin will add new weapon to game: the M249 Squad Automatic Weapon, also known as the M249 SAW or simply SAW, is a weapon featured in Half-Life: Opposing Force. It is a powerful automatic weapon used by the HECU. The M249 is a machine gun that offers squad-level support. However, it also has a lot of recoil added to it as well so that the SMG is not made completely obsolete. Firing the gun in bursts increases accuracy greatly, and aiming downwards and/or crouching will greatly decrease the gun's recoil.

Settings:
Code:
// Weapon settings
#define WEAPON_NAME 			"weapon_m249"
#define WEAPON_SLOT			3
#define WEAPON_POSITION			5
#define WEAPON_PRIMARY_AMMO		"556"
#define WEAPON_PRIMARY_AMMO_MAX		200
#define WEAPON_SECONDARY_AMMO		"" // NULL
#define WEAPON_SECONDARY_AMMO_MAX	-1
#define WEAPON_MAX_CLIP			50
#define WEAPON_DEFAULT_AMMO		50
#define WEAPON_FLAGS			0
#define WEAPON_WEIGHT			15
#define WEAPON_DAMAGE			15.0

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

// Ammobox
#define AMMOBOX_CLASSNAME		"ammo_556"

// Models
#define MODEL_WORLD			"models/w_saw.mdl"
#define MODEL_VIEW			"models/v_saw.mdl"
#define MODEL_PLAYER			"models/p_saw.mdl"
#define MODEL_CLIP			"models/w_saw_clip.mdl"
#define MODEL_SHELL			"models/saw_shell.mdl"
#define MODEL_LINK			"models/saw_link.mdl"

// Sounds
#define SOUND_FIRE_1			"weapons/saw_fire1.wav"
#define SOUND_FIRE_2			"weapons/saw_fire2.wav"
#define SOUND_FIRE_3			"weapons/saw_fire3.wav"
#define SOUND_RELOAD_1			"weapons/saw_reload.wav"
#define SOUND_RELOAD_2			"weapons/saw_reload2.wav"

// Animation
#define ANIM_EXTENSION			"mp5"

Credits:
  • Gearbox - for awesome mod Opposing Force.
  • Koshak - for model editing.

Video:

Changelog:
1.0
  • First release.
Attached Files
File Type: zip resources.zip (327.3 KB, 1734 views)
File Type: sma Get Plugin or Get Source (m249.sma - 3143 views - 13.5 KB)
__________________

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

Last edited by KORD_12.7; 04-21-2012 at 06:24.
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
payampap
Junior Member
Join Date: Nov 2011
Old 04-21-2012 , 04:53   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #2

Awesome.


there is a little .fgd file for new mappers, to adding this new weapon into the map
________________
Attached Files
File Type: zip fgd.zip (207 Bytes, 447 views)

Last edited by payampap; 04-21-2012 at 05:48.
payampap is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 04-21-2012 , 05:39   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #3

post the .sma file separately please, the web compiler will make its .amxx file automatically (and it's not allowed to post .amxx files)
__________________
ANTICHRISTUS is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 04-21-2012 , 05:42   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #4

ANTICHRISTUS, plugin use another model and another include file
web-compiler doesnt know it and die when your try compile those files.
__________________
The functional way is the right way
GordonFreeman (RU) is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 04-21-2012 , 06:04   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #5

How to add new weapons to the map?
Use it: [Weapon Mod Addon] Items Spawner
Look addons\amxmodx\configs\weaponmod\spawn_spots folder for weapon origins
preset for M249 included in the archive
__________________
The functional way is the right way
GordonFreeman (RU) is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 04-21-2012 , 06:09   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #6

sorry if I forgot about the new include file, you're right.
but you know that's not allowed to post .amxx files for security reasons, even if you are a good and known guy .

just tell people how to compile locally: [HOWTO] Compile locally with custom includes
__________________
ANTICHRISTUS is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 04-21-2012 , 06:24   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #7

Fixed.
__________________

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
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 04-21-2012 , 08:24   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #8

Quote:
Originally Posted by KORD_12.7 View Post
Fixed.
DO you have a Half-Life server with this plugin?
If yes PM me the IP.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 04-21-2012 , 08:29   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #9

Quote:
Originally Posted by NiHiLaNTh View Post
DO you have a Half-Life server with this plugin?
If yes PM me the IP.
At this moment, i have only test server with dynamic ip
__________________

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

Last edited by KORD_12.7; 04-21-2012 at 08:31.
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
Old 04-21-2012, 22:02
Liverwiz
This message has been deleted by Liverwiz. Reason: I'm just gonna go ahead and get rid of this......
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-30-2012 , 10:45   Re: [HL] M249: Squad Automatic Weapon
Reply With Quote #10

Approved.
__________________
Arkshine 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 13:28.


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