[Question] How to inherit default zone tile
Moderator: Plugin Moderators
[Question] How to inherit default zone tile
Is it possible to inherit the default zone tile colors for each zone, i.e. res (green, blue green) com (blue, purple) ind (yellow, orange)
Follow me! @wackyserious on Twitter | Youtube for the latest updates on my projects!
Re: [Question] How to inherit default zone tile
What have you exactly mean by that? If you want to change the colors you would have to override the whole zone, but I think it wouldn't really work. You may also place your own texture in the game using some coords (if I'm right).
I'm not lazy, I'm motivated to do nothing!
...
...
- CommanderABab
- AB
- Reactions:
- Posts: 9121
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: [Question] How to inherit default zone tile
See the content_zone.json in resources and use the frames statements for each appropriate zone is a possibility.

Re: [Question] How to inherit default zone tile
This is what I want to inhertit by default, so that I will not have to create and recolor a lot of files for my custom zones.

I would want to avoid having to declare this a lot in the .json and lessen the amount of .png

I would want to avoid having to declare this a lot in the .json and lessen the amount of .png
Is it doable?"frames":[{"bmp":"zone1x1.png"}],
Follow me! @wackyserious on Twitter | Youtube for the latest updates on my projects!
Re: [Question] How to inherit default zone tile
Next try, what have you meant by inheriting?
I'm not lazy, I'm motivated to do nothing!
...
...
Re: [Question] How to inherit default zone tile
By inherit, what I mean is that I will not have to create my own .png for
(and just use the one available in the game files and just declare/type it in my .json

Follow me! @wackyserious on Twitter | Youtube for the latest updates on my projects!
- CommanderABab
- AB
- Reactions:
- Posts: 9121
- Joined: Tue Jun 07, 2016 21:12
- Plugins: Show
- Version: Beta
Re: [Question] How to inherit default zone tile
Code: Select all
"frames":[{"bmp":"zone1x1.png"}],
//you could do this to make it look like the game zone.|v|,
//"frames":[{"x":320,"y":0,"w":32,"h":16}],"map color":{"r":82,"g":180,"b":40},
I would also suggest that you put all your zones in a category within the zone category.


Re: [Question] How to inherit default zone tile
I will try this later, thanks!
Follow me! @wackyserious on Twitter | Youtube for the latest updates on my projects!
- JustAnyone
- Rip-off engineer
- Reactions:
- Posts: 3031
- Joined: Sun Jul 23, 2017 12:45
- Location: Easter Island
- Plugins: Show
Re: [Question] How to inherit default zone tile
or you can steal frames
"frames":[{"steal":"$zoneidIdontremember66"}],
"frames":[{"steal":"$zoneidIdontremember66"}],