Editing Puzzle Creator maps with Hammer (never uesed Hammer)
So, I've never used Hammer before. All I want to do is add autosaving and change the music for my test chambers... How would I go about doing this? Doesn't seem like it'd be that complicated...
Maybe later I'll look into how to do more complex things with Hammer, but for now this is all I really want to do with it.
1) Use W, A, D and S and mousescroll to control the camera
2) Go to the block tool and create a brush where you want the autosave point to be
3) Texture the four sides with the texture "tool trigger" which makes it a uniform orange colour
4) While clicked on it, press Ctrl+T (to tie the brush to an entity) and find trigger_autosave from the drop down list
5) It should now work, there are other variables that you could change if you wanted to
For the music
1) Go to the entities list
2) Find ambient_generic
3) Put it somewhere in the map and choose a song from the ingame file browser
4) Change the flags to play everywhere etc.
5) If you want it to start playing at a certain point, you have to get involved with the Hammer's fairly complicated logic system. You have to have a trigger_once block which when touched plays the song.
Will changing the music allow me to choose from the music in-game, or do I have to choose a specific file?
EDIT: Okay so I tried to do this... it's really confusing. Can anyone give me some simple directions? Or should I just look up a whole tutorial on this stuff or something?
CompC wrote:
Wow, thanks!Will changing the music allow me to choose from the music in-game, or do I have to choose a specific file?
EDIT: Okay so I tried to do this... it's really confusing. Can anyone give me some simple directions? Or should I just look up a whole tutorial on this stuff or something?
That's the problem, it's confusing. Somebody else might be able to make it simpler, but you'd be better off following Youtube tutorials. And changing the music means finding the sound file that you want (you can preview it I think), yes, you have to pick the individual sound file.
It's not something that takes 5 minutes, hence why so few people bother to go through the aggravation of learning to use Hammer.
chickenmobile wrote:
I suggest someone adds an instance (hack the editor) in so we can remove these workshop nubs from mapping help and discussion (or Hammer and Modding tis called now).
That is quite possible. I might try to put together an instance with all the different music so people can send triggers into it/disable and enable looping and stuff like that.
) and a more-or-less working sendificator in there. A save trigger shouldn't be super hard to do, as long as you don't need it to be bigger than one grid cell.
However, at this stage I'm VERY uncomfortable with telling someone else to go and edit script files in their Portal installation, while I barely have a handle on how all this works myself. As soon as I have some documentation that is more than a bunch of random scribblings, I'll post that in the editor hacking thread.
(Could take a while because my first Sendificate map needs to be in the workshop ASAP, but other people besides me are looking at this, so perhaps someone else can come up with something useful earlier.)