• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Locked orientation for a specific prefab

Fleshus

New member
Can we define somewhere the orientation that each generated prefabs will have for a specific prefab?

I put a sauna in my house and put chimneys underneath (very far) to give the impression that there is steam in the room, but it only works in the orientation where I 've built the prefab!

20210902235554_1.jpg20210902235626_1.jpg

 
Can we define somewhere the orientation that each generated prefabs will have for a specific prefab?

I put a sauna in my house and put chimneys underneath (very far) to give the impression that there is steam in the room, but it only works in the orientation where I 've built the prefab!

View attachment 20882View attachment 20883
Hi fleshus 

You can rotate a poi in the editor and in game it should face the way you place it and with the smoke the way you want.

The smoke stack tho the smoke will start in a different place at the start then will align. A bug with that block as it is unfinished and wasn't actually meant to be in the game as yet. 

 
Yes this solution can work if I place the prefab manually but I would like to do the same with the RWG since I will share this prefabs, it would be more practical!

Finally I doubt that it is possible ... There is only in very particular cases like mine that this function would be useful, the devs will not be @%$#ed off to integrate useless stuff like that! I think I'll leave it like this ...

 
Yes this solution can work if I place the prefab manually but I would like to do the same with the RWG since I will share this prefabs, it would be more practical!

Finally I doubt that it is possible ... There is only in very particular cases like mine that this function would be useful, the devs will not be @%$#ed off to integrate useless stuff like that! I think I'll leave it like this ...
If you turn the show facing option in tools 2 tab which way does the arrow point

 
I will still specify to be clear, the smoke will always take the same direction regardless of the prefab. So when the RWG generates prefabs with random orientations the smoke it does not change (its origin does change yes but not its direction) and since it does not go up in a straight line it will be offset from the sauna.

Good orientation

20210903030445_1.jpg

Bad orientation, The prefab has turned but not the smoke otherwise it would be more to the left .

20210903030640_1.jpg

 
Last edited by a moderator:
If you turn the show facing option in tools 2 tab which way does the arrow point
West

Otherwise I always use Nitrogen to generate my test maps. But does the RWG Vanilla also generate randomly oriented POIs?

 
Last edited by a moderator:
West

Otherwise I always use Nitrogen to generate my test maps. But does the RWG Vanilla also generate randomly oriented POIs?
ok. 

vanilla it needs to be orientated correctly facing the way you want it to face the street. 

so the arrow after show facing is ticked needs to face the way the road will connect to the poi to enter the front way.

 
West

Otherwise I always use Nitrogen to generate my test maps. But does the RWG Vanilla also generate randomly oriented POIs?
Sorry forgot to add if you dont rotate the poi to face the correct way i  the editor the poi will possibly spawn the wrong way. I normally make sure both nitrogen and vanilla are facing the correct way.

So I will adjust the vanilla rotation to be correct and then use the vanilla rotation for the nitrogen 

 
Last edited by a moderator:
ok thanks i will try this for the correct orientation to the road.
But in fact what I would like is to override this RWG placement method, that the road side of my prefab is always facing west in the world.

I desperately tried to add this to the xml of my prefab but it obviously had no effect:

<property name = "rotationMin" value = "0" />
<property name = "rotationMax" value = "0" />
<property name = "rotationStepAmount" value = "0" />

I found this in the rwgmixer.xml like it would work hahahah

I think I'll drop it for now, maybe one day we can add effects like smoke or steam more simply in the prefab editor. I would possibly suggest it to the devs ... Or I could find out if there is this somewhere in a mod, but hey ...

 
ok thanks i will try this for the correct orientation to the road.
But in fact what I would like is to override this RWG placement method, that the road side of my prefab is always facing west in the world.

I desperately tried to add this to the xml of my prefab but it obviously had no effect:

<property name = "rotationMin" value = "0" />
<property name = "rotationMax" value = "0" />
<property name = "rotationStepAmount" value = "0" />

I found this in the rwgmixer.xml like it would work hahahah

I think I'll drop it for now, maybe one day we can add effects like smoke or steam more simply in the prefab editor. I would possibly suggest it to the devs ... Or I could find out if there is this somewhere in a mod, but hey ...
Yeh that code I think is old lol.

Yeh the chimney stacks are cool and all huge fps killers tho and ashamed they aren't finished

 
Back
Top