Hammer Deluxe Source Code - Version 1.03
Sep 14, 2009 Full Version 0 commentsThe Source Code for Hammer Deluxe. DO NOT DOWNLOAD THIS IF YOU WANT THE GAME. Advanced Users Only

Hammer Deluxe is an open source half-life 2 modification of the episode 2 engine of which has been modified especially for half-life 2 map makers in order to make much more advanced maps, puzzles and randomized events to make levels much harder to achieve.
There are NO custom models, sounds, maps, materials or anything that the mod does NOT require as this is made for people to make better maps as this is a mod to fix what Valve decided not to include into the hammer feature list of which we could easily make use of but they could not.
We have not touched the Valve Hammer Editor as the source code for that is not released, but we have highly improved the entity coding and .fgd information such as making it so mappers can modify the health, model, skin, ammo... etc of npc's in order to make a boss, import in custom models / textures and more into their map so they don't have to create entirely new mods just to test out or show off their creations.
The Source code for this Modification is available to everyone for learning purpose's only. If for any reason the content of Hammer Deluxe is needed for any Half-Life 2 Modification, please supply credits to Hammer Deluxe as you would have read the ToS.
New Content:
1. info_target_redirect
Sets the info_target_redirect's origin to another entity's origin in order to have other entities use a dynamic targeting system.
2. game_string_text
Display and change 5 different strings via input.
3. logic_random_event
Roll a random number and tell the entity what to do once each number is triggered.
4. item_random_item
Spawn a random pickable item.
Currently Edited Content:
1. math_counter
Input - GetValueAsString
Output - OnGetValueAsString - Sends the Initial Value to another entity such as the game_string_text in order for it to be displayed on the screen.
2. item_item_crate
Added muiltiple items to be created by the entity when broken.
3. npc_maker
Added ability to spawn random NPC's by choice.
4. All npc's
Remove Headcrab - Remove the headcrab off zombie npc's.
Referent Model - Main model of the npc that can be changed.
Torso Model - Change the torso of certain npcs like zombies.
Legs Model - Change the legs of certain npcs like zombies.
Health - Changeable health to make boss's or balance certain maps.
5. All item_ammo pickups
Ammo - Change how much ammo this item will give apon pick-up.
Model - Change the item's model.
6. env_beam and trigger_teleport
Can now use the info_target_redirect
7. item_suitcharger
Current Armor - Current armorin the charger when game starts.
Max Armor - Maximum armor stored in the charger.
Player Max Armor - Maximum armor that the charger can restore to the player.
Armor Increment - Amount of armor restored to the player per interval.
Model - Change the item's model.
8. item_healthcharger
Current Health - Current health in the charger when game starts.
Max Health - Maximum health stored in the charger.
Health Increment - Amount of health restored to the player per interval.
Model - Change the item's model.
---------------------------------
-== Terms of Use ==-
---------------------------------
Under no circumstances is any content from Hammer Deluxe to be copied from and important into any other Half-Life 2 modification and be taken credit for even after modification. This is classed as piracy and the mod will be also classed as stolen property of the Wireframe C.O.U 2009. Under any chances of piracy happening, the mod will be notified once targetted to supply credit to Hammer Deluxe.
If no notification is given to the developer of the mod. They have the right to either remove the content or supply credits to Hammer Deluxe as piracy is not needed in the Game Developing Community and there is no reason to encourage it amongst the legitimate developers putting a bad reputation on the Game Developing Community.
Hammer Deluxe is a Half-Life 2 Modification of the source code made for those that want to make more advanced maps. If modification of the source code is made, applying them to the forums for other users to use will be recommended but not forced apon anyone as it's a free community but all modifications to Hammer Deluxe source code will not be taken lightly as they were made for the community and require credits to Hammer Deluxe if put into another mod.
By downloading Hammer Deluxe or it's source code you agree to the T.O.U that you have read and agreed and will follow the T.O.U on Hammer Deluxe being the property of Wireframe and will not be used for anything other than learning purposes.
Wireframe also holds the right to change the T.O.U at any time given and all those that have aquired Hammer Deluxe will agree to the changes and will follow as instructed.
Credits:
Dec1234, Ferret, Joure, Winston
- Half-Life 2 Modifications Currently Using Hammer Deluxe -
! There are no mods currently using Hammer Deluxe !
Want to advertise your mod?
Post a comment at the bottom or PM Weeblinator with your mods name and moddb page!

10 comments by Weeblinator on Sep 14th, 2009 digg this super bookmark
As I've been very busy with my personal life, i haven't been able to update Hammer Deluxe over the past few weeks so I've decided to release the source code and compiled game for everyone to enjoy and learn off.
Future updates will come but for now it'll stay this way until i can get my personal life going properly. Until then, enjoy mapping and coding Hammer Deluxe as much as you can and look forward to updates by either myself or others from the community.
In this version i wasn't able to fix the npc_maker with the random spawning npc's so atm it's set back to what it used to be, but the old code and .fgd update is still there just commented out in case someone else can update or re-write it as it crashes the game apon use.
The Health Charger also works 100% except for the animation so it doesn't show how much it actually has up until it's empty as the animation plays as normal instead of by frames according to how much is in the charger and it's as easy as 1,2,3 done to fix.... that i know of.
Although there are a few hiccups in this version, everything works fine except for the 2 mentioned above and the game_string_text not being able to be triggered more than once or at a very fast pace. All fixes will come over time but for now the mod works just fine as it's still new.
The download includes all the files necessary to start mapping and playing your maps and such; things like the .fgd, materials, icons, and things like that which have tutorials on our forums on how to set up Hammer to start mapping for Hammer Deluxe.
Click Here
One is for people that want to download the mod for mapping and playing other peoples custom content where the second download known as the source code is for people that wish to see how the new additions are coded in as well as make their own modifications!
I'm looking forward to seeing what everyone is able to create mapping and source code wise!
The Source Code for Hammer Deluxe. DO NOT DOWNLOAD THIS IF YOU WANT THE GAME. Advanced Users Only
The files in order to make maps, play them as well as other peoples maps. Regular Users Download This
Only registered members can share their thoughts. So come on! Join the community today (totally free) and do things you never thought possible.
Isn't your logic_random_event the same as Logic_case? As logic_case can be setup to fire off one of its 16 cases randomly
Yeah that's already been established in past comments ;)
looks great, but i cant find the tutorials for using this with sdk. you should really post a link or tell me where they are plz cause i tried searching "hammer deluxe tutorials" on the moddb forums and it just gave me a bunch of beginner hammer tutorials
There are tutorials on our forums on setting up source sdk for Hammer Deluxe.
Can I compile stuff for other mods with Hammer Deluxe? Like Zombie Panic Source and such.
No you can only make maps for Hammer Deluxe unless the game your are making maps for has Hammer Deluxe included in it.
Could you, you know, supply us with the knowledge of how to use this? Or should I spend another 20 minutes looking for the tutorial in the sea of forum threads?
The tutorials on on our forum, i don't really have the time atm to set them up on moddb as i gotta upload pictures, titles, summary's, descriptions, put them in the right place and blah blah blah.
can u pm me as how to install this does it go ins ourcemod or source sdk?
Sourcemod folder. And there are tutorials on our forum if you need further help.