Buildings Props and Making A Prefab Move
Post Reply
Quote
Re: Buildings Props and Making A Prefab Move
Posted by David from IKG on Thu Feb 24th at 1:50am 2005


- I know there is a texture that contains the words "props_buildings" but i dont know where any of the prop folders are or what they do. Does this mean i can load an already made house from a folder? If i can, where the hell is the folder? I've look around the Steam directory but no such luck.

- I want to make a prefab that will travel in the water around a small base forever. Example: I make a statue head that circles around a base in the water forever. Almost like a shark.

Thanks again. You don't know how much all these answers are helping me in the progress of one of my mods.





Quote
Re: Buildings Props and Making A Prefab Move
Posted by French Toast on Thu Feb 24th at 1:55am 2005


First off, don't post two questions in the same post!! I don't care but some people are very sensitive about this. Even though you may feel stupid, it's better to make six new threads than ask six questions in one thread. Anyways...

1. I don't really get what you are asking. Yes there is a texture with prop_buildings in it. Then you go to finding the folder. The folder is props_buildings I believe, or something similar in your [ROOT]models directory.

2. I think you make the object, and make a func_train I think it's called. Some entity with train in it. I think if you just connect it then it will loop. I don't know though so you will need some outside help on this one. [addsig]




Quote
Re: Buildings Props and Making A Prefab Move
Posted by ReNo on Thu Feb 24th at 2:32am 2005


1. It sounds like you aren't actually placing a prop at all if you can't "find any prop folders". From your entity list, place a prop_static or prop_physics (search the forums to find more on which to use in which circumstances), now when you open its properties (alt-enter) you can click the "model" property and hit the "browse" button. This will let you browse the various prop models and choose which to use.
[addsig]




Quote
Re: Buildings Props and Making A Prefab Move
Posted by fishy on Thu Feb 24th at 5:49am 2005


you can also use hlmv.exe to view the models outside of hammer. you'll find it in your sourcesdk/bin folder. double click to run it. [addsig]



Quote
Re: Buildings Props and Making A Prefab Move
Posted by RaPtoR on Thu Feb 24th at 3:34pm 2005


? quote:
- I know there is a texture that contains the words "props_buildings" but i dont know where any of the prop folders are or what they do. Does this mean i can load an already made house from a folder? If i can, where the hell is the folder? I've look around the Steam directory but no such luck.

- I want to make a prefab that will travel in the water around a small base forever. Example: I make a statue head that circles around a base in the water forever. Almost like a shark.

Thanks again. You don't know how much all these answers are helping me in the progress of one of my mods.



The first question was a little hard to understand, you have probably missunderstood something ("What happens when i fall down from the horisont?" etc)
You seem to think that there's complete pre-made houses in prefabs somewhere. That is wrong. (Unless you've downloaded or made a complete house and made a prefab of it)

"props_buildings"
is a folder containing models, you can't find it in any steam directory since its built into the game/modification. To make a model, simply create a "prop_..." point entity.
There are several types of prop_ entitys, some are used in a wide variety of models like prop_physics and some more focused on a single model like prop_combine_ball.
- Create your desired prop_ entity and go to the "world model" property.
- When you press "browse" the model directory will open and you can browse around untill you find your desired model.

There's tutorials avalible about models, i'd recomend you read them!

For the circeling prefab, i've never made one myself but i have an idea. Tie your solids ("statue head") to a func_rotating, then move the origin (the white circle in the middle of it) to the statue base. Make sure it's not moved up or down, since that will make the solid move incorrect. Set the speed to something really slow like 3 or 10. That should do the trick.
[addsig]




Quote
Re: Buildings Props and Making A Prefab Move
Posted by David from IKG on Thu Feb 24th at 5:03pm 2005


i didnt know i was supposed to post seperate thread if i had 2 questions at the same time. usually other forums i go to dont like that. next time i will.

i got the first question answered, and i think i got the second one answered too. can i have the 2nd question explained to me more easily? im new to hl2 entitys and mapping. im used to hl1.

thanks.





Quote
Re: Buildings Props and Making A Prefab Move
Posted by RaPtoR on Thu Feb 24th at 7:46pm 2005


- Select all of the solids, making up the statues head.
- Right click on them and select "tie to entity"
- A dialog containing the object properties should now jump up
- Open the dropdown list, where you will see all of the solid entity-types availible
- Select "func_rotating"
- Lots of new properties should now be avalible, select "Max Rotation Speed"
- Change it from 100 (default) to 5
- Make sure "Blocking Damage" are 0
- Click on the "Flags" tab
- Make sure "Start on" is checked
- Leave the rest of the properies and flags in their default positions and close the window
- Move the camera to your "func_rotating" entity in the top window
- In the middle of it you should be able to see a small white circle, if you don't see it, zoom in.
- Move (Just click and drag) the white circle to the center of your statue base
- Your "func_rotating" should now move in a circular track around your statue base
- Test your level to make sure it works

That's it! I hope it works
[addsig]




Quote
Re: Buildings Props and Making A Prefab Move
Posted by David from IKG on Thu Feb 24th at 7:47pm 2005


yes! thanks so much raptor




Post Reply