Announcement

Collapse
No announcement yet.

Is it possible to do a "Yoffset" for a prefab in the RWGMixer?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is it possible to do a "Yoffset" for a prefab in the RWGMixer?

    I want to make a prefab with an other prefab on top of it, but I can't seem to make a YOffset in the RWGMixer Work.
    As I was trying to make it Work I also noticed that it looks like I can't make a prefab spawn on top of an other?

    I have tryed a lot of different Places in the code for the "YOffset.." and also tryed with property name="YOffset" value="3"

    Does anyone know if its possible or i just should forget about it? :-)
    Code:
    		<prefab_rule name="prefabtest">
    			<prefab name="testlow" >
    			<prefab name="testtop" YOffset="3"/>
    		</prefab_rule>

    #2
    Originally posted by illidua View Post
    I want to make a prefab with an other prefab on top of it, but I can't seem to make a YOffset in the RWGMixer Work.
    As I was trying to make it Work I also noticed that it looks like I can't make a prefab spawn on top of an other?

    I have tryed a lot of different Places in the code for the "YOffset.." and also tryed with property name="YOffset" value="3"

    Does anyone know if its possible or i just should forget about it? :-)
    Code:
    		<prefab_rule name="prefabtest">
    			<prefab name="testlow" >
    			<prefab name="testtop" YOffset="3"/>
    		</prefab_rule>

    No !!!

    The yoffset is set just and only in the Prefabs-own .xml


    If u wanna make a Prefab on top of the other - use the Prefab-editor.


    Mag

    Comment


      #3
      Originally posted by Magoli View Post
      No !!!

      The yoffset is set just and only in the Prefabs-own .xml


      If u wanna make a Prefab on top of the other - use the Prefab-editor.


      Mag
      :-(

      I had an idea to make random gen more random by making a "Groundfloor" prefab and 5 or 10 floor prefabs and then have the rwgmixer to add on floors at random, so when ever you found the building, you never know what floors are in it.
      The models should ofc be made with a certain layout for stairs, outer walls and SI points so it doesn't collapse.
      something like:

      Code:
      		<prefab_rule name="Skyskraper">
      			<prefab name="Skyskrapergroundfloor" >
      			<prefab rule="skyskraperfloor" YOffset="5"/>
      			<prefab rule="skyskraperfloor" YOffset="10"/>
      			<prefab rule="skyskraperfloor" YOffset="15"/>
      			<prefab rule="skyskraperfloor" YOffset="20"/>
      			<prefab rule="skyskraperfloor" YOffset="25"/>
      			<prefab name="Skyskraperroof" >
      		</prefab_rule>
      
      		<prefab_rule name="skyskraperfloor">
      			<prefab name="Skyskraperfloormodel1" prob="0.5" />
      			<prefab name="Skyskraperfloormodel2" prob="0.5" />
      			<prefab name="Skyskraperfloormodel3" prob="0.5" />
      			<prefab name="Skyskraperfloormodel4" prob="0.5" />
      			<prefab name="Skyskraperfloormodel5" prob="0.5" />
      			<prefab name="Skyskraperfloormodel6" prob="0.5" />
      			<prefab name="Skyskraperfloormodel7" prob="0.5" />
      			<prefab name="Skyskraperfloormodel8" prob="0.5" />
      			<prefab name="Skyskraperfloormodel9" prob="0.5" />
      		</prefab_rule>

      Comment


        #4
        I believe that is possible, and furthermore I think someone did it. My random maze works on a similar concept, but sideways.

        Comment


          #5
          Originally posted by Guppycur View Post
          I believe that is possible, and furthermore I think someone did it. My random maze works on a similar concept, but sideways.
          I just had a look at your rwgmixer for the maze, witch I think is a great Work, but i doubt i can use the same on my skyskraper. I have gone through it in my head over and over and I think I might be needing some sleep now.. :-)

          Comment


            #6
            Found the original post, but I'm not sure if this is relevant anymore since the pimps like to give, then take away, abilities.

            https://7daystodie.com/forums/showth...l=1#post321277

            Comment


              #7
              i dont know if it can be done in rwg tho. Navesgane prolly could cause its a stationary map not random. But to do that in rwg would be impossible. Unless you created a hub possibly work then.

              Comment

              Working...
              X