Search found 99 matches
- Sun Feb 21, 2021 19:47
- Forum: Lua Scripting
- Topic: Animation Dev Tool (Open Source)
- Replies: 8
- Views: 977
Re: Animation Dev Tool (Open Source)
Can you add more id of the lamp in next update sir ?? More lamp color and size... Ohh in-game lamp id 4x4l2 error can't found after i apply to in the building :bd :bd actually, all the light id's those i added are already in the game by default, who want to use it only need the id without need anot...
- Thu Feb 18, 2021 17:51
- Forum: Plug-In Discussion
- Topic: Road Avenue Plugin. (Discussion and Documentation)
- Replies: 5
- Views: 1222
- Wed Feb 17, 2021 5:10
- Forum: Plug-In Discussion
- Topic: Road Avenue Plugin. (Discussion and Documentation)
- Replies: 5
- Views: 1222
- Tue Feb 16, 2021 9:39
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 168
- Views: 11288
Re: Lua chatbox
Code: Select all Reset
function script:click(x,y) if Tile.isBuildingWorking(x,y) then -- check the building is not in construction and not empty, has power, water, and road connection if needed. yourGUI() -- GUI function return false -- prevent the default dialog appears end end
Interactive Lua editor
- Mon Feb 15, 2021 7:02
- Forum: Plug-In Discussion
- Topic: Animation Dev. Tool Thread
- Replies: 4
- Views: 582
Re: Animation Dev. Tool Thread
:bd Please help me , after i made the code , how to add light on the building. Please give me tutorial to copy the code in json. Iam android user and iam a newbie thanks [ { "id": "yourPluginId", "type": "yourPluginType", // another tags you need. e.g. title, text, frames, price, width, height, etc...
- Fri Feb 05, 2021 5:06
- Forum: Tutorials and Documentation
- Topic: Road decoration
- Replies: 41
- Views: 10299
Re: Road decoration
Yes, but it's not easy to make. 

- Sun Jan 31, 2021 14:00
- Forum: Lua Scripting
- Topic: Custom GUI -Unofficial
- Replies: 6
- Views: 208
- Sat Jan 30, 2021 17:04
- Forum: Lua Scripting
- Topic: Custom GUI -Unofficial
- Replies: 6
- Views: 208
Re: Custom GUI -Unofficial
A screenshot of the plugin. there is sample code in rar file. You can try it. anyway, this is not a complete plugin. this is just a module for plugin creators who want to add features like my plugins. (e.g. shortcut box or part of the animation dev. tool). and also i post this in tutorial and docum...
- Sat Jan 30, 2021 15:08
- Forum: Lua Scripting
- Topic: Custom GUI -Unofficial
- Replies: 6
- Views: 208
Re: Custom GUI -Unofficial
sorry, what kind of picture? i don't understand.LZS Gaming wrote: ↑Sat Jan 30, 2021 13:52Can you show me a picture before it starts using all my cache from lua?

- Sat Jan 30, 2021 13:47
- Forum: Lua Scripting
- Topic: Custom GUI -Unofficial
- Replies: 6
- Views: 208
Custom GUI -Unofficial
This is an unofficial functions that i made for another plugin creators. For now, this module only have two functions, running text (label) and movable button. All functions will be declared as global variables, so, you can use these functions with copy this module file into your plugin folder and u...
- Sat Jan 23, 2021 20:14
- Forum: Plug-In Discussion
- Topic: Animation Dev. Tool Thread
- Replies: 4
- Views: 582
Re: Animation Dev. Tool Thread
reserved for documentation. 

- Sat Jan 23, 2021 20:13
- Forum: Plug-In Discussion
- Topic: Animation Dev. Tool Thread
- Replies: 4
- Views: 582
Animation Dev. Tool Thread
This thread is for Animation Dev. Tool documentation, tutorial, report issue, change logs, and spoiler about future update.
Open source code from older versions : Animation Dev Tool (Open Source)
Open source code from older versions : Animation Dev Tool (Open Source)
WIP Update
Tutorial of Latest Version
- Fri Jan 22, 2021 12:12
- Forum: Tutorials and Documentation
- Topic: Advanced tags for building plugins
- Replies: 167
- Views: 39706
Re: Advanced tags for building plugins
building type is on the list 

- Fri Jan 01, 2021 10:14
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 168
- Views: 11288
Re: Lua chatbox
i got the other fact. if you call the build mode from createDraftDrawer, the draft will be added to the history as a new even if the draft in there before, not replace the last one. @Lobby Sorry to mention you, could you fix this bug?
- Thu Dec 31, 2020 11:40
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 168
- Views: 11288
Re: Lua chatbox
I think I found a bug or maybe an oversight in my coding. I am using that function to open the building tool when a sidebar button is pressed, but it creates multiple instances of the item in the recent tab for every time I push the button: image.png Oddly enough, these extra instances will disappe...
- Wed Dec 30, 2020 20:43
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 168
- Views: 11288
Re: Lua chatbox
You forgot to add .select() after draft drawer.
Code: Select all
City.createaDraftDrawer(draft).select()
- Wed Dec 02, 2020 9:14
- Forum: Lua Scripting
- Topic: GUI Compendium
- Replies: 19
- Views: 2068
Re: GUI Compendium
@Löbby is there any way to change the parent color of the GUI .createDialog{}? i'd experementing to put onDraw function but it's not work a i thougth XD and if i use the main Gui root i gonna have conflict about the casting of it specially the coordinates in some other resolution. I think you can't...
- Fri Nov 27, 2020 10:40
- Forum: Plug-In Discussion
- Topic: Plugin Store quality control discussion
- Replies: 23
- Views: 4163
Re: Plugin Store quality control discussion
how about the moderator can change the price to be free or 0 for "bad plugins"? it will make the creators can improve their ability and not continuously make the same things. "if you want diamonds, making a better from the last your plugins". but yeah, it will be need a competent moderators.
- Wed Nov 18, 2020 12:24
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 168
- Views: 11288
Re: Lua chatbox
i think you can use string.gmatch and table of the "words" you want to censor.
- Fri Nov 13, 2020 12:45
- Forum: Problems
- Topic: [1.9.49p][windows] Tile.getBuildingName not work
- Replies: 2
- Views: 1264
Re: [1.9.49p][windows] Tile.getBuildingName not work
yeah, it's still available. You only need to do something to get the tileX and tileY values. The simpliest things are you can use script:click(x,y,level) and attach the script into building draft. so the tileX and tileY values can be set when the user click the building. function script:click(x,y,le...