Nov 20, 2017, 10:39 AM | |
Issue w/ tileset compiling
Recently I've tried to tweak some jj2 original tilesets for my levels but I have problem with creating masks for the tileset. As I never did it before I've tried to do it by following walkthrough on DTR, made sure about the no. of colors and all that and swapped transparents so that they are the first entries on a palette. Tileset compiles ok but no matter what, masks just WON'T F** SHOW (aargh, so mad). Am I missing something here?
|
Nov 20, 2017, 01:11 PM | |
If you use Tileset Extractor, the mask picture it produces uses two palette indexes, 0 and 1, both of which are treated by JCS as transparent (i.e. non-solid in case of mask) when building a tileset. You will have to modify the picture to use a different palette entry for solid parts. Depending on your image editor of choice, the easiest way to do it may be to apply a palette that contains the transparency purple at index 0, black at index 16, and white everywhere else, while maintaining nearest color matching. Although if your image editor supports palette-based color replacement, that should be simpler.
I haven't done this for a while so if that fails, you may also want to look into replacing color #000000 (black) with another color. I can't remember right now if JCS has any special treatment of black.
__________________
I am an official JJ2+ programmer and this has been an official JJ2+ statement. |
Nov 21, 2017, 05:14 AM | |
Alright, it took ages but I finally made it work. Basically the main problem was with pallet generated by tileset extractor. The colors were right but it swapped jazz blue and black. If black isn't on #0 and blue on #1 it won't register them as transparent. So I just switched them and now it works just fine. Thanks for advice anyway. At least I'll never have to go through this hell again.
|
![]() |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 08:39 AM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.