Plaza > Tutorials

Mapping SDK Hammer Tutorials on request

(1/1)

exacto:
Hey,

This is for all the mappers or people who want to start mapping.

You can request a tutorial on a topic about SDK Hammer (no matter how basic/complicated) and I'll do my best to explain it to you :)

Also check out this guy, http://www.youtube.com/user/3kliksphilip?blend=1&ob=4 ... his tutorials helped me alot when I learned mapping

exacto:

--- Quote from: HandsomeNick on October 22, 2011, 09:03:27 PM ---How do you make a proper randomiser? I want to add one in my map but I can't find a simple tutorial for it.  :(

--- End quote ---


how to randomize in SDK Hammer.

I made an example and uploaded the .vmf file, you can download it here.
http://www.2shared.com/file/LVokCi8g/randomizer.html

I'd suggest you read this and follow it up in the example provided (and yes it is a part out the map MG_office_course made by Whazaaa ;) ... I was to lazy to make one myself so I just edited this part lol

The manual:


First you'll have to make a 'logic-auto'

you make this by selecting the entity-tool and just making an entity (normally this'll be a terrorist)

you doubleclick on the terrorist and change the class from 'info_player_terrorist' to 'logic_auto'.


Next you'll have to make a 'logic_case'

You make this on the same way as the 'logic_auto' instead you now name the class 'logic_case'


Once you've created this logic case you'll see that you have alot of propertys in them.

to list it up:

"name"
"case 01"
"case 02"
"case 03"
"case 04"
"case 05"
"case 06"
"case 07"
"case 08"
"case 09"
"case 10"
"case 11"
"case 12"
"case 13"
"case 14"
"case 15"
"case 16"

Every "case ##" is a possible random entry.

In the example we follow, we only need 3 random choices. So at "Case 01" we fill in "1" ... at "case 02" we fill in "2" ... at "case 03" we fill in "3".


Next we click on the tab 'Outputs'.

Here we are gonna make 3 Outputs.

for the first one we use this setup:

"My output named" : "OnCase01"
"Targets entities named" : "Hurt_A1"
"Via this input" : Enable

for the second:

"My output named" : "OnCase02"
"Targets entities named" : "Hurt_A2"
"Via this input" : Enable

For the last

"My output named" : "OnCase03"
"Targets entities named" : "Hurt_A3"
"Via this input" : Enable

I assume you are already familiar with setting up traps, so in this case you just call the trigger_hurt for each trap "Hurt_A#" etc.

Don't forget to name your Logic_case ... in the example I named it 'CaseA'.


Now we're nearly there. As you remember we've also created a Logic_auto ... time to work on that one.

All you have to do with the logic_auto is doubleclick on it and go to the tab 'Outputs'.

There you'll add a new output.

Use this setup:

"My output named" : "OnMapSpawn"
"Targets entities named" : "CaseA"
"Via this input" : "PickRandom"

You can use multiple logic_cases (in the example you'll see there are caseA, caseB and caseC.)

And that's it. you have created your very own randomizer.

[NotD] HandsomeNick:
ty, haven't got around to making it just yet.

I may also be able to help if people need something simple (then again, the forums do have people like solid snake and tomgreen who are better than me)

Navigation

[0] Message Index

Go to full version