Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I build small assets like grass, rocks, treetrunks, branches and i can make various prefabs without having to import them as (expensive) models on their own. Live/learn :)
Cheers for the help.
This is exactly what I discovered, I love it. While making repetitive models like windows, which I want certain to remain consistant, so I love being able to just double click, make the change, and it applies it to all of them. So it's a reall cool feature.
Is there a reason not to use prefabs, and to use models instead? After modelling something I have tried right-clicking and Create Model From Selection, but I can't really use them, I have to to admit I don't really know how to even import a model. So everything is just prefabs, I am just using them like models. And if I need a customize it, I just collapse it, make the changes, then re-save it as a new prefab and keep going.
The only thing I don't really understand is the Maintain World Offset or Center On Origin options, which I'm not sure what really does what. Though sometimes I have noticed that I'll place a model (prefab) where I want it, but when I see go in VR it's in a completely different location floating in the air.
Sorry to be a bit off topic, but also why doesn't the location of prefabs "hold" during the map building process?
There are also instances availalbe. They work like prefabs, but don't get saved as separate map files, so they are limited to your current map. They apparently get batched together when rendering, so there may be some performance benefit.
Prefabs get saved as separate maps, so those two choises determine if it saves the prefab content in the same location inside the prefab map as it is in your main map, or if it centers it in the prefab map and adds the offset to the position of the prefab in your main map.
Haven't seen prefabs being in different places in-game. Maybe the view didn't update if you resaved the prefab. I'd imagine reloading the map in Hammer would fix that though.
Thank you for taking the time to share your knowledge. In general, is it better to make models in an external program or can I get away with making them just in Hammer, but save them as a model and not a prefab? I will learn a program like Blender if it is recommended but I have no experience with it so it would take a bit of time to actually be productive with it so if I can still make what I want within Hammer I will just stick to it.
This is interesting, I will look into Instances... The way you explain them, I think this is what I want... I only use them in a single map anyways, plus nice if there's a performance improvement.
In your opinion, would it be worth it for me to convert all of my prefabs into Instances? It seems to me like it would be.... heavy?.. to have other "maps" loaded in one map, instead of just a mesh?
Ah, I think what I was doing, I was probably saving the mesh as a prefab but setting the origin as it's own world origin instead of where it was in my map, so when it loaded into VR it was 'snapped back' to it's home map origin location?
By default, prefabs get merged into you main map when you compile it, so there shouldn't be any performance loss. I wouldn't bother converting them to instances if you already have them made. The benfits from batched renering of instances probably won't have any noticeable impact unless you have a very complex map.
Thank you!