About the mask

9 replies [Last post]
Zav
Zav's picture
User offline. Last seen 14 years 33 weeks ago. Offline
Joined: 2009-08-22
Posts: 7

Hi hi!

I discovered the game yesterday, and as I'm a drawer, I was very interested to create some maps.

I started to experiment some things, but there's a point I can not understand.

I looked at several maps in the game directory. Only the basketball one had a mask file. I understood the mask was used to make some things solid unlike others.
But the mask made also the land undestructable.

My question is this one :
Is that possible to make some details transparents (I mean player can not put feet on it), keeping the destructible state?

I hope I'm understandable :c

rbaleksandar
rbaleksandar's picture
User offline. Last seen 9 years 32 weeks ago. Offline
Joined: 2009-01-09
Posts: 685

Hope I understood you right. Big Grin
Yep, it can. Look at the UFO-fort (in order to play it choose UFO from the Team Options and when creating the game in Game Schemes activate Fort Mode) or better say - at the Ray which the UFO uses to lift that car in the air. Smile It's transparent and solid...Ok, not 100% transparent but you can still see the things behind it - rain animation and background. In order to 100% sure and if you don't want to wait for a more certain answer from the devs just open the image used for the UFO and edit the ray to be for example 90% transparent.

HTML = How To Meet the Ladies

Here is my Unofficial Manual for HW. Hope you like it. Wink Smiley Still working on it. Don't worry. Will get it finished...Sometime in the future. Big Grin

Zav
Zav's picture
User offline. Last seen 14 years 33 weeks ago. Offline
Joined: 2009-08-22
Posts: 7

I see what you meant. That's wasn't my problem though ^^

What I meant was when I add a mask to a map, the map becomes not destructible. I shot the land, but everything remains clean. And only because I added a mask. I suppose.
(it's not about some option with the solid land, I check both states, nothing worked).
:/

rbaleksandar
rbaleksandar's picture
User offline. Last seen 9 years 32 weeks ago. Offline
Joined: 2009-01-09
Posts: 685

Ah, now I understand and after rereading your first part. Smile Well, in that case - wait for the devs. Smile

HTML = How To Meet the Ladies

Here is my Unofficial Manual for HW. Hope you like it. Wink Smiley Still working on it. Don't worry. Will get it finished...Sometime in the future. Big Grin

Zav
Zav's picture
User offline. Last seen 14 years 33 weeks ago. Offline
Joined: 2009-08-22
Posts: 7

Well I found something that could explain my problem.

Let's take the map "Basketball".

When you pick the basketball sheme, of course you can't destruct the land, because it is unchecked. But when you add your personnal sheme, with solid land checked... nothing changes. Weird? I guess the mask file must be for something in this. But I can't explain it.

rbaleksandar
rbaleksandar's picture
User offline. Last seen 9 years 32 weeks ago. Offline
Joined: 2009-01-09
Posts: 685

In order to get an answer to your question faster, join the IRC channel. There is always someone from the dev-team there. Wink Smiley btw When I'm ready with my exams and start working on the Manual again, I'm surely going to include the mask-thingie (if that's where the problem is) in the Tutorial-section on how to make themes, maps etc. Wink Smiley If you get an answer not here but on the IRC channel, please post it here, so that I can include it. Thanks in advance! Smile

HTML = How To Meet the Ladies

Here is my Unofficial Manual for HW. Hope you like it. Wink Smiley Still working on it. Don't worry. Will get it finished...Sometime in the future. Big Grin

pterodaktill
pterodaktill's picture
User offline. Last seen 6 years 6 weeks ago. Offline
Joined: 2009-05-18
Posts: 20

Well, I've added a mask to my DigitalRope map.
First I filled the mask with red color.
The land is undestructable.
Then I filled with blue and the land became destructable but it seems the part of the mask was destroyed but the map didn't.

And white resolved the problem. But the the other problem is that the objects included to the map and not included to the mask aren't destroyed.

Zav
Zav's picture
User offline. Last seen 14 years 33 weeks ago. Offline
Joined: 2009-08-22
Posts: 7

rbaleksandar > I will Wink Smiley

pterodaktill > I made some other tests thanks to you. Unfortunately, I came with the same conclusions than you.

nemo
nemo's picture
User offline. Last seen 2 weeks 17 min ago. Offline
Joined: 2009-01-28
Posts: 1861

Everything described is precisely how the mask is intended to work.

it only has two colours, white and red.
Red indestructible, white destructible.

The reason parts of the mask that aren't given a colour are behind the hog, not destroyed, also deliberate. That's how the nets on the basketball map work.
Also useful for, say, background accents on a tunnel made in map using transparent.

Sooo, yeah. no bugs or anything. If you're using the unofficial mask thingy, that's exactly how it is intended to work.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Zav
Zav's picture
User offline. Last seen 14 years 33 weeks ago. Offline
Joined: 2009-08-22
Posts: 7

Okay I see, thanks for your answer.

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]