Reassembly

Reassembly

Not enough ratings
Shape Mod Example
 
Rate  
Favorite
Favorited
Unfavorite
Tags: Blocks
File Size
Posted
0.003 MB
Apr 29, 2017 @ 9:21pm
1 Change Note ( view )

Subscribe to download
Shape Mod Example

Subscribed
Unsubscribe
Description
Simple example demonstrating how to add new shapes through shapes.lua. Includes usage of mirror_of to allow mirroring of non-rotationally-symmetric shapes and and launcher_radial to change the spawn direction of missiles.

Unlike built-in shapes which have names, custom shapes are referenced by their numeric ID. Shape IDs are relocated much like block IDs so not need to worry about conflicts. Use numbers over 100 though, numbers below 100 alias built in shapes.

To get mirroring functionality, use mirror_of to define the mirrored shape. See shapes.lua in this mod. The mirror_of shape omits verts - the game automatically mirrors the mirror_of shape. You can specify vert for either the L or R shape, it does not matter.
< >
9 Comments
Prototype Mar 13, 2018 @ 6:18pm 
Mods are downloaded to steamapps/workshop/content/329130/[mod Id number]
this mod's id is 916026798 (I think)
Marxon Jul 8, 2017 @ 1:31pm 
Question, where exactly in the lua does the mirror_of line go? also where does this mod download to?
bcbc2425 May 4, 2017 @ 10:11am 
glad ur suporting mods in reassebly it hasnt been geting many mod reacntly
Avior Apr 30, 2017 @ 9:55am 
He has returned.
赞美巨推 Apr 30, 2017 @ 9:06am 
哇哦
[82DK-L] Sir Metaladon Apr 30, 2017 @ 7:25am 
I see you saw my E-mail, and this is probably the best response from a dev I've seen in awhile.

All hail arrthur!
Husk Apr 30, 2017 @ 5:56am 
:anisoptera:
tanghao Apr 30, 2017 @ 1:10am 
Finally
Uiharu_Kazari Apr 30, 2017 @ 12:20am 
Cooooool~
For this mod, I have been waiting for a thousand years!