Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Skin Change #206840
05/15/08 23:33
05/15/08 23:33
Joined: May 2007
Posts: 185
Netherlands
SurudoiRyu Offline OP
Member
SurudoiRyu  Offline OP
Member

Joined: May 2007
Posts: 185
Netherlands
Hi,

I searched the forums without anything that solves my problem frown

Hope someone can help me with it.

I got an Action on my terrain model.
with in the code: Check_Weather(); (nothing more)
And in that function is the code:

if (Weather==Snow)
{
my.skin=2;
}
else
{
my.skin=1;
}


but this doesn't seems to work :S
it looks like they blend over eachother (the 2 maps)
Both mappings are the same size and are on skin 1"Normal" & skin 2"Snowy" in MED.

How can i do this correctly ?

Thnx for the help allready.

Greeting's


-The Dragon's Eye is alway's watching you!-
Re: Skin Change [Re: SurudoiRyu] #207159
05/18/08 06:57
05/18/08 06:57
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
The terrain expects a detail map on the second skin. So either you can switch that feature off with

Code:
function main()
{
   detail_size = 0;
... 


or, use a third skin for your terrain, then you can switch it by setting my.skin to 1 or 2.

Re: Skin Change [Re: Tobias] #207399
05/19/08 13:17
05/19/08 13:17
Joined: May 2007
Posts: 185
Netherlands
SurudoiRyu Offline OP
Member
SurudoiRyu  Offline OP
Member

Joined: May 2007
Posts: 185
Netherlands
Ok cool thnx i will try to play with it and hope it will work ^-^


-The Dragon's Eye is alway's watching you!-

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1