#Road deco rotation

1 messages · Page 1 of 1 (latest)

open stone
#

Hello dev
I seen on update rotation aware in 2 way road is possible

How can i write that?

Here is my json for rdc

    "id":"$lightpole.DESOLAN",
    "type":"road decoration",
    "rotation aware":true,    
    "title":"Left handle", 
    "text":"Just placed in one way road",
    "ordinal":1,
    "category":"$electric_pole_logo_desolan_cerrera",
    "requirements":[
    {"type":"BUILDING","data":{"id":"$electric_pole_guide_bulding_DESOLAN/CERRERA"}}],
    
    "animation fg":[
        {"id":"$lightpole00.anim","x":0,"y":-34},
        {"id":"$lightpole01.anim","x":0,"y":-34},
        {"id":"$lightpole02.anim","x":0,"y":-33},
        {"id":"$lightpole03.anim","x":0,"y":-33},
        
        {"id":"$ilawpole00.anim","x":0,"y":-18},
        {"id":"$ilawpole01.anim","x":0,"y":-18},
        {"id":"$ilawpole02.anim","x":0,"y":-16},
        {"id":"$ilawpole03.anim","x":0,"y":-16}
        ],
    "frame animation fg indices":[
        [],[0,4],[],[],
        [0,4],[0,4],[],[0,4],
        [],[],[],[],
        [],[0,4],[],[],
        
        [],[],[1,5],[],
        [],[],[],[],
        [1,5],[],[1,5],[1,5],
        [],[],[1,5],[],
        
        [],[2,6],[],[],
        [2,6],[2,6],[],[2,6],
        [],[],[],[],
        [],[2,6],[],[],
        
        [],[],[3,7],[],
        [],[],[],[],
        [3,7],[],[3,7],[3,7],
        [],[],[3,7],[]
    ]
    
},```