So many questions

Avatar
Rikora
18 Posts
Posted Jun 07, 2012
Hello.
(Sorry I have a bad english)
I have a lot of questions about Hammer.

1- How add a customs elements in map (textures, sound etc), and send this at hammer ? How compress in VPK ?
2- How do a custom elements of gameplay ? Like the elements of Reepblue : The custom paint, the specials cube etc ?
3- How add a special cube with a special texture without remplace the original cube ?
4- How modify/include a models in game ?
5 - How do a effect of destruction ? Exemple : A brushs that falling.

And I believe that's all. Again sorry for my very bad english. ^^'

Thank you !

Advertisement
Registered users don’t see ads! Register now!
Avatar
RubyCarbuncIe
303 Posts
Posted Jun 07, 2012
Replied 1 hour later
  1. Just stick the new textures into your materials folder and then there you go they should work in Hammer. I would recommend Pakrat instead of VPKs though.

  2. That's probably not possible. You can go to this thread to see how others were able to add new cubes though. mapping-help/adding-new-cubes-t6503.html

That's really about all I'm able to even try and help you with. Good luck with your project. Sorry I couldn't be of more help.

Avatar
Rikora
18 Posts
Posted Jun 07, 2012
Replied 6 minutes later
Thank you very munch ! I'll see this.
But for the 1 I don't write the correctly word, sorry : How add a customs elements in map (textures, sound etc), and send this at workshop ? How compress in VPK ? : For send my new elements, texture etc, at my friends in one file.

Thank you again.

Avatar
RubyCarbuncIe
303 Posts
Posted Jun 07, 2012
Replied 5 minutes later

Rikora wrote:
Thank you very munch ! I'll see this.
But for the 1 I don't write the correctly word, sorry : How add a customs elements in map (textures, sound etc), and send this at workshop ? How compress in VPK ? : For send my new elements, texture etc, at my friends in one file.

Thank you again.

You don't use VPKs for the workshop, you need to pakrat them into the map file itself. Pakrat is the name of a program used to pack files into your map's .bsp file. Here's some more info on this program: https://developer.valvesoftware.com/wiki/Pakrat

From what I can tell VPKs don't work on the workshop at all. Pakrat does though, I've used it a few times to add custom textures to my maps on the workshop, so I can guarantee that this works. :thumbup:

Avatar
greykarel
225 Posts
Posted Jun 07, 2012
Replied 27 minutes later
  1. If you want a single wall or ceiling panel to fall create func_instance. In VMF filename browse to
    instances /animated_panels/128x128_wall_panel_fall_01 or 128x128_ceiling_panel_fall_01. Place it in your map and create a trigger_once or trigger_look to trigger panel to fall.
    If you want more complex destruction use prop_dynamic. In world model browse to model viewer, in filter line enter destruction and you'll get the list of model some of them are animated panels, walkways and otheres. Choose what you want. Place it in your map and create a trigger_once or trigger_look to set animation.
    Well, actually it's not so easy to explain how to make it work. But at least this is the way you should see.
Avatar
zivi7
649 Posts
Posted Jun 07, 2012
Replied 5 minutes later
Or you can create func_physboxes that fall down like physic objects. Just start them with the flag "motion disabled" and let a trigger enble the motion. Search for tutorials about physboxes to learn more about this. :thumbup:
Avatar
Rikora
18 Posts
Posted Jun 07, 2012
Replied 8 minutes later
Thank you very munch ! I will try.
Avatar
FelixGriffin
2,680 Posts
Posted Jun 07, 2012
Replied 9 minutes later
2) You can do lots of stuff, such as all the Blue Portals 1 and 2 things, with entity I/O. Things like the Sendificator use scripts.
Avatar
Rikora
18 Posts
Posted Jun 07, 2012
Replied 1 hour later
Thanks.
What is the entite "I/O" ? What language use for scripts ?

And I have try the falls of brushs, this work but : The brushs don't breaks, and the shadows is weird...

Avatar
Lpfreaky90
2,842 Posts
Posted Jun 07, 2012
Replied 31 minutes later

Rikora wrote:
Thanks.
What is the entite "I/O" ? What language use for scripts ?

And I have try the falls of brushs, this work but : The brushs don't breaks, and the shadows is weird...

I/O is input/output, basically using the entities in hammer rather then relying on scripts :wink:

Avatar
Lpfreaky90
2,842 Posts
Posted Jun 07, 2012
Replied 6 minutes later
1- How add a customs elements in map (textures, sound etc), and send this at hammer ? How compress in VPK ?
Place your custom stuff in the correct folders.
What I like to do is for example all my custom textures go into a separate folder inside the materials folder so like materials/Lp
Sounds go to sounds/Lp etc.

Hammer should find them automatically if you restart, materials should show up after a reload of the texture browser.

Once they're in the map and your map is done use pakrat to include those textures into the bsp. This will always work and it's the only way to get custom stuff into the workshop.

2- How do a custom elements of gameplay ? Like the elements of Reepblue : The custom paint, the specials cube etc ?
Scripts and I/O this is rather complex stuff though, make sure you understand the basics first. Once you finished your work it's the same story again; pakrat and profit.

3- How add a special cube with a special texture without remplace the original cube ?
There's a thread about that which has been linked before :wink:

4- How modify/include a models in game ?
Well, modifying models is quite hard, it would require you to de-compile a model, adjust it and re-compile it again. In general you need a 3D-modeling program like maya, 3dsmax or something similar to create the model, then use a plugin to get it to the proper file format for hammer. Then again pakrat it before releasing.

5 - How do a effect of destruction ? Exemple : A brushs that falling.
physboxes are mostly the way to go for falling objects, but the destructed theme also requires good texturing and use of destroyed models. A good destroyed map doesn't need falling stuff, although it does look sweet.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Rikora
18 Posts
Posted Jun 08, 2012
Replied 19 hours later
Thank you !
Again a question : How modifie the view of the player with camera ? Exemple : The player look the bottom with a trigger.