JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   JCS & Scripting (http://www.jazz2online.com/jcf/forumdisplay.php?f=5)
-   -   JCS Questions (http://www.jazz2online.com/jcf/showthread.php?t=18092)

CrimiClown Feb 9, 2009 05:30 AM

Quote:

Originally Posted by Feaw (Post 443648)
It works already, except, when using it, the transparent color doesn't work, and the mask doesn't work either. The transparent color just is the same color in the level, except that you can't see through it.
And when I play it, all the colors are messed up :/.
There aren't too many colors, the palette is correct, I used 0, 0, 0 for the mask, and 87, 0, 203 for the transparent color.
The first block works though.

If I am not mistaken, the mask should be ANY colour except RGB 0,0,0 because that is always open/transparent/non-solid. Any other colour will be rendered as mask.

Feaw Feb 9, 2009 07:42 AM

Quote:

Originally Posted by CrimiClown (Post 443655)
If I am not mistaken, the mask should be ANY colour except RGB 0,0,0 because that is always open/transparent/non-solid. Any other colour will be rendered as mask.

Oh? Well, when I used for example Gry's tileset-mask extractor, the mask is the transparent color, and blue. I'll try to do that then. Even 0, 0, 1 orso should work, right?

And what about my other problems?

CrimiClown Feb 9, 2009 08:37 AM

Quote:

Originally Posted by Feaw (Post 443662)
Oh? Well, when I used for example Gry's tileset-mask extractor, the mask is the transparent color, and blue. I'll try to do that then. Even 0, 0, 1 orso should work, right?

And what about my other problems?

JCS recognises both 0.0.0 and 'JCS blue" as transparent colours. all other colours will be solid.

Foly May 22, 2009 04:26 AM

Another question:

Is there any way to create a switch (trigger) that can open and close something like a door?

Like this:

You hit a switch box and a door or wall will go open, then it respawns and when you hit it again the door wil close (hit can also be stomping).

If there isnt, I would suggest this would be implanted in the new JJ2+.

Ragnarok! May 22, 2009 04:33 AM

Switching Trigger Zones? Just put the switch thing on 1.
Unless you mean something else

Foly May 22, 2009 04:36 AM

Trigger zones?

The thing i heard about them is they only work for the player, not for every player in the server and i need them to work for every player thats in the server.

CrimiClown May 22, 2009 04:48 AM

Quote:

Originally Posted by Foly (Post 447683)
Trigger zones?

The thing i heard about them is they only work for the player, not for every player in the server and i need them to work for every player thats in the server.

A regenerating Trigger Crate is automaticly trigger 31 (or 0, don't remember), but I don't know if it will reset a trigger scenery like a Trigger Zone does.

Ragnarok! May 22, 2009 05:40 AM

Oh, he means global trigger zones. Right, yeah, there's no such thing... yet

FawFul May 22, 2009 08:07 AM

there is a switch for Host / client and a switch for red/blue. you just need to place them in the bottom right corner. 1 or 2 tiles next to the Pit event 255. just the trigger zone event itself. rag :P.

and about the trigger zones they work perfectly.. not sure about the resetting aswell when you die. i thought it returns to 0 automatically when you die. but it DOES work.

oh nvm.. you want them to work for all at once..

Foly May 22, 2009 08:58 AM

I dont know about the global trigger and what you mean with the switch you explain, but for example:

Block (Scenario 12)

Trigger crate/switch/area/anything (12)

When I stomp on the crate the block should be gone and another crate spawns again (if its not an area). Then if I stomp that crate the block should return.

Or there should be two trigger area's that turn it on/off (for all players in multiplayer).

FawFul May 22, 2009 10:34 AM

well let me make things clear for you.. you can't switch triggers to 0 (off) with a trigger crate.

Foly May 22, 2009 10:59 PM

And there isnt another thing I can use instead of the crate?

EvilMike May 22, 2009 11:04 PM

Global: Affects the whole sever.
Local: Affects only the person who activates the trigger.

Trigger crates can only set triggers to 1 (on). They are global.
Trigger zones can set triggers to 0 (off) or 1 (on), or toggle between them. They are local.

This is an annoying limitation, but there's no real way to get around it.

Foly May 23, 2009 03:32 AM

Quote:

Originally Posted by EvilMike (Post 447711)
Global: Affects the whole sever.
Local: Affects only the person who activates the trigger.

Trigger crates can only set triggers to 1 (on). They are global.
Trigger zones can set triggers to 0 (off) or 1 (on), or toggle between them. They are local.

This is an annoying limitation, but there's no real way to get around it.

Thanks for explaining. Too bad there isnt a global trigger that can turn on and off.

Ragnarok! May 23, 2009 04:05 AM

yet

FawFul May 23, 2009 05:03 AM

i am pretty sure event numbers or Area's can be connected with commands like triggers.

Grytolle May 24, 2009 02:44 AM

Quote:

Originally Posted by Feaw (Post 443662)
Oh? Well, when I used for example Gry's tileset-mask extractor

I'm flattered

Foly Sep 9, 2009 08:46 AM

A new question:

Is there any way to let a destuctable/bomb scenary respawn? So that a destructed block goes back so you can destroy it again?

If there is not a way for this is there any way to implent this in my jcs.ini or something else? I really need this :)

Dermo Sep 9, 2009 03:28 PM

Could work, considering when playing treasure or whatnot on splitscreen, the blocks automatically respawn, strangely.


All times are GMT -8. The time now is 01:04 AM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online