Search found 23 matches

by erksmit
03 Apr 2023, 13:28
Forum: Problems and Errors (bugs)
Topic: Network Error
Replies: 1
Views: 481

Re: Network Error

can you send me a copy of your log.txt file right after the error occurs? it might help me debug complex industry, if the error is related to it.
by erksmit
19 Mar 2023, 20:03
Forum: Lua Scripting
Topic: GUI Compendium
Replies: 39
Views: 25724

Re: GUI Compendium

its no matter, i will just draw the ninepatch
by erksmit
09 Feb 2023, 17:10
Forum: Lua Scripting
Topic: GUI Compendium
Replies: 39
Views: 25724

Re: GUI Compendium

Chief this is false information that does not work, please test it before giving me an incorrect answer.
20230209161553_1.jpg
As you can see it does not change the background whatsoever, it will still be the default panel.
by erksmit
09 Feb 2023, 16:01
Forum: Lua Scripting
Topic: GUI Compendium
Replies: 39
Views: 25724

Re: GUI Compendium

Can i pass a ninepatch to use when creating a panel object? The examples don't include any mention of this.
by erksmit
17 Jan 2023, 21:12
Forum: Lua Scripting
Topic: GUI Compendium
Replies: 39
Views: 25724

Re: GUI Compendium

Theotronic Arts wrote:
13 Jan 2023, 07:17
erksmit wrote:
03 Jan 2023, 11:12
See above me
It isn't possible
Why isn't it possible.
by erksmit
03 Jan 2023, 11:12
Forum: Lua Scripting
Topic: GUI Compendium
Replies: 39
Views: 25724

Re: GUI Compendium

Is there a way to create a panel with a diffrent ninepatch? Currently i am simply using a canvas with onDraw but i was wondering whether panels support it out of the box
by erksmit
02 Dec 2022, 11:15
Forum: Tutorials and Documentation
Topic: Getting started
Replies: 104
Views: 249036

Re: Getting started

Trains are just long cars that are only allowed to go on rails, you can probably find a post that describes how to make them.
by erksmit
20 Sep 2022, 20:43
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 189
Views: 84227

Re: Lua chatbox

With the addition of the Car module i had the idea of dynamically spawning cars with diffrent tails depending on what they carry (what they carry is decided within). Now i wanted to also dynamically set the animation of the car to show a certain resource on its cargo bed, but i noticed there are no ...
by erksmit
16 Aug 2022, 12:07
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 189
Views: 84227

Re: Lua chatbox

What happens with a lua script when i enter online mode? Im trying to make a script compatible with it, its got multiplayer: false in its manifest.
by erksmit
25 Mar 2022, 12:57
Forum: Supply - Energy, Water, Waste Disposal
Topic: Dutch water tower
Replies: 2
Views: 2194

Dutch water tower

I wasn't very satisfied with my first plugin anymore, so i decided to redo it. This is the water tower of Hoogkarspel, it was built in 1930. It's around 50 metres tall and holds 1000 cubic metres of water. 20220325110137_1.jpg It also has a variant with only water in case you want to use it as an is...
by erksmit
15 Feb 2022, 18:27
Forum: Lua Scripting
Topic: [792] Real time script editing
Replies: 9
Views: 9904

Re: [792] Real time script editing

is there an event function for when a script is reloaded? reloading the script breaks its connection to a gui button i have made. If i can detect when it reloads i can use GUI.get to get it again
by erksmit
09 Jan 2022, 21:11
Forum: Lua Scripting
Topic: Typehints and documentation in vscode
Replies: 2
Views: 4355

Typehints and documentation in vscode

If you've done any lua programming, you will probably have run into the annoyance of having to check the luadocs every time you writte a function to see if you've written it correctly. In order to improve the experience i made a script for turning the luadocs into EmmyLua notations. Advantages By us...
by erksmit
17 Mar 2021, 10:11
Forum: Decorations and Tools
Topic: Cinematic camera tool
Replies: 12
Views: 7007

Re: Cinematic camera tool

You can change it in settings > plugins
and yeah those tutorial popups only show up once, maybe i should add a settings to show them again
by erksmit
21 Feb 2021, 16:36
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 189
Views: 84227

Re: Lua chatbox

for the plugin im trying to make i need to notify a script in another draft when the user is done doing something, is this possible? I think using fun variables for simple numbers are good and for more complex stuff use storage. yeah i can pass the variables just fine, but i need to notify script 1...
by erksmit
20 Feb 2021, 20:46
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 189
Views: 84227

Re: Lua chatbox

for the plugin im trying to make i need to notify a script in another draft when the user is done doing something, is this possible?
by erksmit
03 Jan 2021, 20:27
Forum: Decorations and Tools
Topic: Cinematic camera tool
Replies: 12
Views: 7007

Re: Cinematic camera tool

if you want to see the code ive put the file in the post
by erksmit
03 Nov 2020, 17:07
Forum: Lua Scripting
Topic: [1.8.95] Plugin settings
Replies: 8
Views: 8024

Re: [1.8.95] Plugin settings

is it possible to use a textbox or slider as a setting? i want the user to be able to enter any number value they want
by erksmit
03 Nov 2020, 13:05
Forum: Decorations and Tools
Topic: Cinematic camera tool
Replies: 12
Views: 7007

Re: Cinematic camera tool

the camera speed is now adjusted for your devices fps, which should give approximately the same camera speed on pc and mobile. Also rotating no longer breaks it as a side effect of some optimizations ive made
by erksmit
02 Nov 2020, 22:20
Forum: Decorations and Tools
Topic: Cinematic camera tool
Replies: 12
Views: 7007

Re: Cinematic camera tool

yeah it doesnt like it when you rotate for some reason, in the update its gonna lock your rotation cuz i dont think ill be able to fix it.
also its supposed to look like this: https://youtu.be/N-WM5pDmQH8 (ignore ja's party house)
by erksmit
02 Nov 2020, 20:18
Forum: Decorations and Tools
Topic: Cinematic camera tool
Replies: 12
Views: 7007

Re: Cinematic camera tool

the tool will run just fine on mobile but the camera speed is framerate dependend, since i made the plugin on pc the camera speed is adjusted for ~200 fps. Obviously phones have a way lower framerate and the camera will move ungodly slow there. Thankfully i think i found a fix to normalize for frame...

Go to advanced search