Advanced tags for building plugins
Moderator: Plugin Moderators
- JustAnyone
- Developer
- Reactions:
- Posts: 3480
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Advanced tags for building plugins
Lua is easy like 5th grade math.
- Brody Craft
- Inhabitant of a Infinity
- Reactions:
- Posts: 8034
- Joined: 24 Jan 2017, 11:15
- Location: SE Asia
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Advanced tags for building plugins
Well, you already mastered lua, sooo....
- FranchuFranchu
- Inhabitant of a Country
- Reactions:
- Posts: 799
- Joined: 28 May 2017, 00:07
- Location: Freezing in Argentina
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Lua is 5th grade math compared to C, Assembly and other low level languages
- Imran M
- Inhabitant of a Country
- Reactions:
- Posts: 844
- Joined: 24 Oct 2018, 13:41
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
I think it's because I haven't had enough time to experiment with lua, since I was busy with school and term tests. I'd like to dedicate more time to lua over the holiday right now. BUT, Fortnite is giving season 8 battle pass as a reward to people who complete 13 challenges, and I really want to have a skin for once...FranchuFranchu wrote: ↑15 Feb 2019, 21:44Lua is 5th grade math compared to C, Assembly and other low level languages
(That was a long post that has little relevance what so ever)
Re: Advanced tags for building plugins
I have an inspiration to make a zone that a bit similar with "Primitive Zone" plugin, but I try to make it with modern building. The purpose is to make the game looks more real with various RCI building in a zone rather than to build the same type building in a zone.
So, rather than I create the new buildings, I choose to create a code spawn some buildings from the game itself. Is it legal if I use in-game building ? What code should I use ?
So, rather than I create the new buildings, I choose to create a code spawn some buildings from the game itself. Is it legal if I use in-game building ? What code should I use ?
- CommanderABab
- AB
- Reactions:
- Posts: 11113
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Can be done, but it's complicated and the code is long.
- CommanderABab
- AB
- Reactions:
- Posts: 11113
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Akira Maruni wrote: ↑16 Apr 2019, 16:04I have an inspiration to make a zone that a bit similar with "Primitive Zone" plugin, but I try to make it with modern building. The purpose is to make the game looks more real with various RCI building in a zone rather than to build the same type building in a zone.
So, rather than I create the new buildings, I choose to create a code spawn some buildings from the game itself. Is it legal if I use in-game building ? What code should I use ?
First step: collect the ids and sizes of the in-game buildings you wish built in your zone. Remember it's not a good idea to mix polluting industries with residential buildings.
- JustAnyone
- Developer
- Reactions:
- Posts: 3480
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Advanced tags for building plugins
Lobby wrote: ↑31 May 2017, 00:37Since version 296 you may let buildings (e.g. decorations) automatically spawn in map creation. To do so, we added an object called "spawn" which contains probability p, main spawn height height and max deviation from it radius.
A small sample plugin that spawns grass in the ocean:To give you some intuition about what height means I measured some height values in this map:Code: Select all
[ { "id":"$myspawntest00", "type":"decoration", "width":1, "height":1, "frames":[{"x":0,"y":0,"w":32,"h":16}], "needs water":false, "needs land":false, "draw ground":true, "spawn": { "p":0.01, "height":-600, "radius":600 } } ]
- CommanderABab
- AB
- Reactions:
- Posts: 11113
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Thanķs, but that isn't what he is talking about!
- Imran M
- Inhabitant of a Country
- Reactions:
- Posts: 844
- Joined: 24 Oct 2018, 13:41
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
You used a different k
- CommanderABab
- AB
- Reactions:
- Posts: 11113
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- Imran M
- Inhabitant of a Country
- Reactions:
- Posts: 844
- Joined: 24 Oct 2018, 13:41
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Stahp it.
- KINGTUT10101
- 1,000,000 inhabitants
- Reactions:
- Posts: 2220
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
What does chargeable do?
- Lakan Haraya
- Metropolitan
- Reactions:
- Posts: 131
- Joined: 28 Mar 2019, 09:34
- Location: Philippines
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
Well, please teach us! PLEASE!FranchuFranchu wrote: ↑15 Feb 2019, 21:44Lua is 5th grade math compared to C, Assembly and other low level languages
- A dutch Guy
- Inhabitant of a Megacity
- Reactions:
- Posts: 174
- Joined: 26 Dec 2017, 14:41
- Location: The Netherlands
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Advanced tags for building plugins
@Lobby I've ran into a problem while making a body disposal plugin. I get an IllegalStateExeption for the "type":"body disposal" when booting up the game. Does this mean that its impossible to create plugins or is there a way to solve it?
code:
code:
Code: Select all
[
{
"id":"$Modern_Crematorium_by_A_Dutch_Guy",
"type":"body disposal",
"title":"Large modern crematorium",
"text":"i will add this later",
"author":"A Dutch Guy",
"width":5,
"height":5,
"frames":[{"bmp":"Modern_Crematorium.png"}],
"influence body disposal":200,
"price":50000,
"monthly price":50
}
]