Search found 16 matches
- 05 Sep 2020, 12:10
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 189
- Views: 79503
Re: Lua chatbox
:lua: There's an error. It says attempt to call a nil value, at Draft .append(iconImage) However, the forum's lua tester doesn't agree with the error given at the game with loading the lua file. Looks like the game doesn't recognizes Draft functions. When cut- pasting the code into a local function ...
- 05 Sep 2020, 04:10
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 189
- Views: 79503
Re: Lua chatbox
I'll test it tomorrow, it's 4am lol. It makes sense I have to draft the json and get the image from there.
Thanks for the help and spending your time into this, hope you have a great day/night!
Thanks for the help and spending your time into this, hope you have a great day/night!
- 05 Sep 2020, 01:14
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 189
- Views: 79503
Re: Lua chatbox
Is there any way to load and image with lua and use it as an icon? I mean, can I assign an image to a variable wich will be shown when I use that variable in
... icon = Icon.EXAMPLE, ...
or are Icon.EXAMPLE a type of harcoded resource that can't be added by users?
Thanks in advance!
... icon = Icon.EXAMPLE, ...
or are Icon.EXAMPLE a type of harcoded resource that can't be added by users?
Thanks in advance!
- 04 Sep 2020, 22:46
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 189
- Views: 79503
Re: Lua chatbox
Oh I see, thankyou very much!
Just testing the implementation of a new resource as a variable through
Just testing the implementation of a new resource as a variable through
- 04 Sep 2020, 17:36
- Forum: Lua Scripting
- Topic: Lua chatbox
- Replies: 189
- Views: 79503
Re: Lua chatbox
Why isn't my script working? When playing, I can Access to the menu I've created, but when pressing the button it doesn't shows the next menu. local function showMenu(dialog) local parent = GUI.get'$menuparent' local d = '$townhall01' local x = City.countBuildings(d) GUI.createMenu{ source = parent,...
- 04 Sep 2020, 01:15
- Forum: Tutorials and Documentation
- Topic: Advanced tags for building plugins
- Replies: 216
- Views: 173190
Re: Advanced tags for building plugins
And, are there any requirements for it? Where is the group managed? Maybe discord, or forum?
Thanks in advance!
- 03 Sep 2020, 22:26
- Forum: Screenshots
- Topic: WIP Medieval Village
- Replies: 3
- Views: 3465
Re: WIP Medieval Village
They're great Rock, I'll definitely use them in the village! I've downloaded them rn, thanks for the suggestion! ; )_Rock Fort_ wrote: ↑03 Sep 2020, 20:49 I'm made a few medieval-looking buildings . But unfortunatly , i don't think they are well done . I should try to update them
- 03 Sep 2020, 17:57
- Forum: Screenshots
- Topic: Screenshots may be used for PlayStore
- Replies: 297
- Views: 254256
- 03 Sep 2020, 17:55
- Forum: Screenshots
- Topic: WIP Medieval Village
- Replies: 3
- Views: 3465
WIP Medieval Village
This is a wip medieval town, made with several plugins. I'll be posting updates of it as I keep decorating the town. Also, I'm thinking about creating a plug-in with more houses for it or a marketplace, since I've been and I've found almost no buildings that fit into the city. If you have any sugges...
- 01 Sep 2020, 01:08
- Forum: Miscellaneous
- Topic: Making castle walls (as a road)
- Replies: 9
- Views: 14604
Re: Making castle walls (as a road)
And the first public version is already released in the plug-in store! Thanks for downloading, hope you have a great time playing Theo Town and decorating your medieval villages!
- 31 Aug 2020, 01:24
- Forum: Miscellaneous
- Topic: Making castle walls (as a road)
- Replies: 9
- Views: 14604
Re: Making castle walls (as a road)
Thanks!
...
Oof I uploaded the file in .zip not .plugin, but just edited it
...
Oof I uploaded the file in .zip not .plugin, but just edited it
- 31 Aug 2020, 00:08
- Forum: Miscellaneous
- Topic: Making castle walls (as a road)
- Replies: 9
- Views: 14604
Re: Making castle walls (as a road)
Here's the first version of Castle Walls, it stills wip and I've got to finish RockFort's bridge frames. This version contains: 6 types of walls (White and Gold, Sandstone, Adobe, Stone, Darkstone and Red Painted Stone). In addition to them, there's a RockFort's Château de Pierrefonds [/b] Wall. The...
- 29 Aug 2020, 23:57
- Forum: Miscellaneous
- Topic: Making castle walls (as a road)
- Replies: 9
- Views: 14604
Re: Making castle walls (as a road)
Once finished the template with every frame, next step is to create different versions. I've planned the next ones: Grounds: Limestone(A) Stone(B) Wood Plank(C) Walls: Sandstone(1) Adobe(2) Stone(3) Painted Stone(4) White and Golden Stone(5) Combinations will be: A1 A2 A4 A5 B3 B5 C1 C2 C3 C4 C5 Her...
- 29 Aug 2020, 02:14
- Forum: Lua Scripting
- Topic: GUI example in Plugin Creator Tools
- Replies: 2
- Views: 5686
Re: GUI example in Plugin Creator Tools
AMAZING!! I'd love trying to do a plug-in with some menus when I learn a little bit of complex Lua.
- 29 Aug 2020, 01:46
- Forum: Miscellaneous
- Topic: Making castle walls (as a road)
- Replies: 9
- Views: 14604
Making castle walls (as a road)
I'm currently working on some castle walls as a decoration, for ancient monuments and awards. I'm, also doing a version for Rock Fort's Château de Pierrefonds , available at the plug-in store: https://forum.theotown.com/viewtopic.php?f=72&t=12006 . The plugin will include: -Squared wall in vario...
- 19 Aug 2020, 16:04
- Forum: Problems
- Topic: [Asked][1.9.24a] Plugin crash (watertower.json:125)
- Replies: 2
- Views: 4153
[Asked][1.9.24a] Plugin crash (watertower.json:125)
Hi, I got the following error with a plugin (watertower.json:125): In plugins/water/watertower.json: java.lang.IllegalStateException: When loading "$WaterTowerPlazadeCastilla": No value for x Device: Redmi Note 8T (Xiaomi) OS version: 28 My code: [ { "id":"$WaterTowerPlazade...