Недостатньо оцінок
Shape Mod Example
До улюбленого
В улюблених
Позначки: Blocks
Розмір файлу
0.003 MB
29 кві 2017 о 21:21

Підпишіться аби завантажити
Shape Mod Example

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
Prototype 13 бер 2018 о 18:18 
Mods are downloaded to steamapps/workshop/content/329130/[mod Id number]
this mod's id is 916026798 (I think)
Marxon 8 лип 2017 о 13:31 
Question, where exactly in the lua does the mirror_of line go? also where does this mod download to?
bcbc2425 4 тра 2017 о 10:11 
glad ur suporting mods in reassebly it hasnt been geting many mod reacntly
Avior 30 кві 2017 о 9:55 
He has returned.
赞美巨推 30 кві 2017 о 9:06 
[82DK-A] Sir Metaladon 30 кві 2017 о 7:25 
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 кві 2017 о 5:56 
tanghao 30 кві 2017 о 1:10 
Uiharu_Kazari 30 кві 2017 о 0:20 
For this mod, I have been waiting for a thousand years!