Pas assez d'évaluations
Shape Mod Example
Mots-clés : Blocks
Taille du fichier
Publié le
0.003 MB
29 avr. 2017 à 21h21
1 note de changement ( voir )

S'abonner pour télécharger
Shape Mod Example

Se désabonner
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 commentaires
Prototype 13 mars 2018 à 18h18 
Mods are downloaded to steamapps/workshop/content/329130/[mod Id number]
this mod's id is 916026798 (I think)
Marxon 8 juil. 2017 à 13h31 
Question, where exactly in the lua does the mirror_of line go? also where does this mod download to?
bcbc2425 4 mai 2017 à 10h11 
glad ur suporting mods in reassebly it hasnt been geting many mod reacntly
Avior 30 avr. 2017 à 9h55 
He has returned.
赞美巨推 30 avr. 2017 à 9h06 
[82DK-A] Sir Metaladon 30 avr. 2017 à 7h25 
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 30 avr. 2017 à 5h56 
tanghao 30 avr. 2017 à 1h10 
Uiharu_Kazari 30 avr. 2017 à 0h20 
For this mod, I have been waiting for a thousand years!