Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
Ammo boxes for CSS
Difficulty: Intermediate
Category: CS:S > MappingAuthor(s): Robin
Did you create this? Request ownership

Start off by opening up a small test map and put a prop_dynamic in there and name it item_box. Then open up the model browser and choose a hl2 box from there like so:



After place a weapon_c4 where you want the bomb to spawn when they open the box and name it c4, remember you can change what you want to spawn by just changing the model like to a weapon_ak etc. Like so:



Thirdly place a point_Template under the weapon_c4 and name it c4_Spawn, then go to the template one option and select c4 from the drop down list. Like so:



Finally add a button in nodraw texture where the handle is on the box, tick the flag dont move. Then in flags option add the following inputs:

On Pressed
c4_spawn
Force spawn

On Pressed
item_box
setanimation
Open

On Pressed
item_box
setanimation
Close
After a delay of 2 seconds



Save and your done compile and test, remember if you want to spawn another weapon like anAK use weapon_ak instead of c4 an m4a1 would be weapon_m4a1 and so on.

Thank you and please do not copy this tutorial to any other site without my permission.

Here is a map to see how its done if you find the tutorial confusing.
ammo_box.vmf

Thank you, please comment and assess.
Added: 5 months agoTags: ammo, box
Feedback (10)
twister .
Drink Relentless Till You Die.Y2M
Posted 2 months ago
Pros: Great Easy reading access fun to read it
Great result at the end
Cons: sometimes getting mixed up with the senteces
Improvements: numbers tostart each sentecne :)
Notes: F****** sick mate :P
moving_target_mapper .
now whos the moving targetY2M
Posted 5 months ago
"I don't think you can with ammo on its own not entirely sure."

you can, its done on a surf map somewhere
.
Please click the green thumb.Y2M
Posted 5 months ago
Nice pictures. Good tutorial.
Just could use more HTML. Like a heading and bits that people could miss out to be a bit bigger or bold. Even in a different font.
.
Y2M
Posted 5 months ago
Well you could add a weapon, and take off smart edit and add ammo with a value according to the gun. So when the box opens a gun comes out instead. I don't think you can with ammo on its own not entirely sure.
.
Wannabe Spray critic...Y2M
Posted 5 months ago
Is it possible to make JUST some ammo?
.
Y2M
Posted 5 months ago
No it wouldnt, it would show the box.
Jonny-higgins :
Prefabs ModY2M
Posted 5 months ago
Pros: Very good, clear easy to understand
Cons: will show up as red error signs for those who don't own hl2, but do own css.
Improvements: none
Notes: Good work :D
- Prefabs Mod
TehNibbler .
NibblerY2M
Posted 5 months ago
Thanx for tut helpful :)
- Nibbler
.
<3 KokoroY2M
Posted 5 months ago
Pros: Fairly easy to read, quite to the point.
Cons: Only example is C4, no mention of being able to use other weapons. Poor use of space.
Improvements: Better English
Fix the cons
.
Life Changes Ever DayY2M
Posted 5 months ago
Nice Tutorial Robin.
Explained well , clear and easy good job.
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.6/10
bScore
9.6/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Helpful & Detailed
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.

Brought to you by...
Half Life Storm
The Mappers Corner!
Membership: On Request
Primary Skills: Compiling, Mapping, Modelling, Motion Graphics, Texturing, UV Mapping
Inception: 3 years ago
Vote for Studio
Like this tut? Vote Half Life Storm for one or more monthly awards.
You must login or register to access this!
Related Tutorials