Jump to content

shcjohnson

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by shcjohnson

  1. Good day everyone, 

     

    In A20 I was able to use the following code. 

     

    <append xpath="/entitygroups/entitygroup[descendant::entity[@name='zombieSteve']]">
        TestZombie1
        TestZombie2
        TestZombie3
     </append>

     

    But in A21 when I try to use it. I get the following error. 

     

    2024-02-01T17:02:31 313.250 WRN XML patch for "entitygroups.xml" from mod "AGG" did not apply: <append xpath="/entitygroups/entitygroup[descendant::entity[@name='zombieSteve']]"  (line 3066 at pos 3)

     

    I also was able to run the following code before

     

    <append xpath="/entitygroups/entitygroup[descendant::entity[@name='zombieBoe' and @prob='.3']]">
        <entity name="TestZombie1" prob=".3"/>
        <entity name="TestZombie2" prob=".3"/>    
        <entity name="TestZombie2" prob=".3"/>                
     </append>

     

    But I get the following error. 

     

    2024-02-01T17:02:31 313.250 WRN XML patch for "entitygroups.xml" from mod "AGG" did not apply: <append xpath="/entitygroups/entitygroup[descendant::entity[@name='zombieSteve']]"  (line 3064 at pos 2)

     

    Does anyone have a clue! 

     

    Thanks from

     

    Lost and Confused

  2. Hello,

    I'm trying to add a new .unity3d file call it XXX.unity3d to your mod.

    I know how to edit the .xml. My question is in unity I have an object. 

     

    XPoster000\Poster000

     

    Wow I can't even upload a pic. 

     

    XPoster000\Poster000
    Parent:
    XPoster000
    Tag: Tag_Mesh_B
    Layer: Default
    P: 0 0 0 
    R: 0 0 0
    S: 1 1 1 
    Scale 1

    Child:
    Poster000
    Tag: T_Mesh_b
    Layer: Default
    P 0 .031 -.497
    R: 0 0 0 
    S: 1 1 1 
    Mesh: Poster000
    Mesh Renderer: 
        materials
            element 0   Poster000_1
            element 1   Poster000_2

    Lighting
        Cast shadows on
        receive shadow checked
        
    Additionsal setting: 
        motion vectors  Per object motion
        Dynamic Occussion checked

     

    Xyth

    So I'm using Xyth default cube for the tutorial project.

     

    The bottom of the poser is sitting on the top of the cube, but to the back of it. it not center. 

     

    I tried using this in block.xml

     

            <block name="XPoster000">
                <property name="Extends" value="pictureFrame_01a"/>
                <property name="Model" value="#@modfolder:Resources/Disney.unity3d?XPoster000"/>
                <property name="ModelOffset" value="0,0,-0.5"/>
                <property name="MultiBlockDim" value="2,1,1"/>
                <property name="SortOrder2" value="0204"/>
    </block>

     

    I can get it in the game fine. find it in the menu. Bring it in the game. Place it on the wall. it just fall and breaks.  no red errors 

     

    <property name="Model" value="#@modfolder:Resources/studioModels.unity3d?ZTStudio18.prefab"/>

     

    So, I guess the real question is. how is each 

    ZTStudio18.prefab

     

    Setup in unity. 

     

    I have about 15 poster I would like to import into the game. 

     

    Thanks. 

               

     

     

×
×
  • Create New...