cubeww / undertalemodtool-exporttoprojectscript Goto Github PK
View Code? Open in Web Editor NEWUTMT project export script
License: GNU General Public License v3.0
UTMT project export script
License: GNU General Public License v3.0
Atm colkind
uses BBoxMode
, so sprites like this:
Are exported like this:
In this example, because the BBoxMode
is 2
, colkind
is also set to 2
Precise - <colkind>0</colkind>
Rectangle - <colkind>1</colkind>
Ellipse - <colkind>2</colkind>
Diamond - <colkind>3</colkind>
Not sure how to fix this as UMT can't tell what the mask shape is
But it does know if the sprite uses a separate collision mask (values here), so:
sprite.SepMasks
== 1
(Precise), <colkind>
= 0
sprite.SepMasks
== 0
(AxisAlignedRect ie. Rectangle), <colkind>
= 1
It's not perfect as Precise is also used for Ellipses and Diamond. But we know at least when Rectangle is being used, and Precise is probably a safe default in any other case.
i don't know if this version of UTMT is made only for this csx to work, but when i try to decompile this project for a more acurrate decompilation, i just get an error.
I am trying to export a non-Undertale GMS 1.4 project, but even if I download and put the script in UMT or the SampleScripts folder, it doesn't work and always shows the dog dancing animation. Can anyone help me so it can work, and I can get the project to export?
I was banned from Underminers server, and that's why I can't download the latest version of Undertale Mod Tool. Could you give us the link of the latest Undertale Mod Tool in the description, or here? You could also put the version of Undertale Mod Tool that you're using on the repository files.
UndertaleModTool version 0.2.0
(22,5): error CS0103: The name 'ScriptError' does not exist in the current context
After replacing ScriptError method to ScriptMessage and removed its second param "Error". Running it again caused another error:
(71,8): error CS1061: 'TextureWorker' does not contain a definition for 'Cleanup' and no extension method 'Cleanup' accepting a first argument of type 'TextureWorker' could be found (are you missing a using directive or an assembly reference?).
Im very excited.
for some reason when i click the button it just plays a animation of that undertale dog in loop
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.