User Tools

Site Tools


ixe:features:units:darkling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ixe:features:units:darkling [2024/12/28 16:16] Grabzixe:features:units:darkling [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 12: Line 12:
 ===== Spoilers ===== ===== Spoilers =====
 <hidden Unit JSON> <hidden Unit JSON>
-(Unit JSON)+<code javascript> 
 +
 +    "type": "unit", 
 +    "displayname": "Darkling", 
 +    "permanentinventory": true, 
 +    "image": "body.png", 
 +    "position": [ 0, 0 ], 
 +    "pivot": [ 0.5, 0.5 ], 
 + "rotatemode": 0, 
 + "rotatewhenflipped": false, 
 +    "maxammo": 300, 
 +    "movable": true, 
 +  
 + "darkraydamages": false, 
 +    "parts":
 +        { 
 +            "part": "tank.json", 
 +            "position": [ 0, 0 ] 
 +        }, 
 +        { 
 +            "part": "$/weapon_darkray/weapon_darkray.json", 
 +            "position": [ 0, 0 ] 
 +        }, 
 +    ], 
 +    "controllers":
 +        { "name": "ondestroy_sandexplosion"
 +    ] 
 +
 +</code> 
 +Plus the associated tank.json: 
 +<code> 
 +
 +    "type": "part", 
 +    "image": "tank.png", 
 +    "position": [ 0, 0 ], 
 +    "pivot": [ 0.5, 0.5 ], 
 + "rotatewhenflipped": false, 
 + "creeperdamages": false, 
 +    "controllers":
 +        { "name": "visualtank"
 +    ]  
 +
 +</code>
 </hidden> </hidden>
  
 \\ \\
 {{page>navigation}} {{page>navigation}}
ixe/features/units/darkling.1735402600.txt.gz · Last modified: 2025/02/14 14:56 (external edit)