Aftermath is a hl2 mod which involves the player killing waves of the undead with your friends or alone using weapons, your knife or even blow them up with grenades and set them alight with Molotov's.

Report article RSS Feed Making buyable weapons

This tutorial will help you create buyable weapons for zombie survival.

Posted by tingtom on Jan 6th, 2012
Intermediate Mapping/Technical.

ok to make the buyable weapon thing select a gun and spawn it and lift move it to player height and set its name to whatever the weapon is and set the constraint flag on.

next create the entity point_template and set it like this:
Name : something
Template : the weapon name

Then go to the weapon and set a output on player pickup to the template to force spawn and maybe set the delay on.

next create a point_clientcommand and set it like this:
Name : command

next create a trigger (if you dont know how to do this then well ........) and set a output on tirgger to the client command and set the parameter to for example : sv_text M3 Shotgun 1200 Points be careful as its only allowed 4 separate words and are not allowed to use "" as it messes up the map vmf file.

Post comment Comments
Guest
Guest May 11 2013, 5:14am says:

This comment is currently awaiting admin approval, join now to view.

100gram!_
100gram!_ Jul 26 2013, 11:43am says:

Could you write a list of available guns in mod?

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Half-Life 2 Icon
Platform
Windows
Developer
Digital Coast
Contact
Send Message
Release Date
Released Nov 11, 2011
Mod Watch
Track this mod
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Mods
Aftermath:Source (Half-Life 2)
Aftermath:Source Half-Life 2 - Single & Multiplayer First Person Shooter
Related Games
Half-Life 2
Half-Life 2 Single & Multiplayer First Person Shooter
Related Groups
Five Finger Studios
Five Finger Studios Developer & Publisher