Barbed wire decoration code draws ground as water?

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
resimuschaste
Townsman
Reactions:
Posts: 59
Joined: 05 Jan 2018, 00:02
Plugins: Showcase Store

Platform

Barbed wire decoration code draws ground as water?

#1

Post by resimuschaste »

Sorry for the long title, the code is heavy and clanky but:

Code: Select all

[{"author":"(R.C)A","frames":[{"bmp":"messtent.png"},{"bmp":"BarbedWire.png"},{"bmp":"medtent.png"}],"height":1,"id":"meddytent.yo","influence health":5,"provide aspect health care":10,"price":1000,"monthly price":800,"text": "medical tent for medical purposes","title":"Medical Tent","type":"decoration","width":1}]
[{"author":"(R.C)A","frames":[{"bmp":"medtent.png"},{"bmp":"BarbedWire.png"},{"bmp":"messtent.png"}],"height":1,"id":"meddytent.yo1","influence health":5,"provide aspect water":10,"price":1000,"monthly price":500,"text": "messy tent for eating purposes","title":"MessHall Tent","water":50,"type":"decoration","width":1}]
[{"author":"(R.C)A","draw ground": true,"frames":[{"bmp":"medtent.png"},{"bmp":"messtent.png"},{"bmp":"BarbedWire.png"}],"height":1,"id":"meddytent.yo2","price":100,"monthly price":10,"text": "a defensive structure..good for removing guts and moral","title":"BarbedWire","type":"decoration","width":1}]
Maybe someone can tell me where I went wrong for the ground to display as water? Don't worry I'm fixing the way-to-much-unneeded-code problem..so far I have gone from json files with 60 lines to 8 lines. this is just from day one of me trying to make them, any help is highly appreciated! Please enjoy your morning!
Last edited by JustAnyone on 16 Jan 2018, 18:08, edited 1 time in total.
Reason: Added [code] format.

User avatar
JustAnyone
Developer
Reactions:
Posts: 3475
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Barbed wire decoration code draws ground as water?

#2

Post by JustAnyone »

It is because you have all texture coloured.
There aren't any ground peaces transparent.
Just change draw ground to false.

User avatar
resimuschaste
Townsman
Reactions:
Posts: 59
Joined: 05 Jan 2018, 00:02
Plugins: Showcase Store

Platform

Re: Barbed wire decoration code draws ground as water?

#3

Post by resimuschaste »

Thank you

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”