Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

JCS Questions

Reply
 
Thread Tools
CrimiClown

JCF Member

Joined: Mar 2005

Posts: 4,888

CrimiClown is a forum legendCrimiClown is a forum legendCrimiClown is a forum legend

Feb 9, 2009, 04:30 AM
CrimiClown is offline
Reply With Quote
Quote:
Originally Posted by Feaw View Post
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

JCF Member

Joined: Feb 2009

Posts: 37

Feaw is doing well so far

Feb 9, 2009, 06:42 AM
Feaw is offline
Reply With Quote
Quote:
Originally Posted by CrimiClown View Post
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

JCF Member

Joined: Mar 2005

Posts: 4,888

CrimiClown is a forum legendCrimiClown is a forum legendCrimiClown is a forum legend

Feb 9, 2009, 07:37 AM
CrimiClown is offline
Reply With Quote
Quote:
Originally Posted by Feaw View Post
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

JCF Member

Joined: Jan 2009

Posts: 202

Foly has disabled reputation

May 22, 2009, 04:26 AM
Foly is offline
Reply With Quote
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!

JCF Member

Joined: Apr 2004

Posts: 1,135

Ragnarok! is a forum legendRagnarok! is a forum legend

May 22, 2009, 04:33 AM
Ragnarok! is offline
Reply With Quote
Switching Trigger Zones? Just put the switch thing on 1.
Unless you mean something else
Foly

JCF Member

Joined: Jan 2009

Posts: 202

Foly has disabled reputation

May 22, 2009, 04:36 AM
Foly is offline
Reply With Quote
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

JCF Member

Joined: Mar 2005

Posts: 4,888

CrimiClown is a forum legendCrimiClown is a forum legendCrimiClown is a forum legend

May 22, 2009, 04:48 AM
CrimiClown is offline
Reply With Quote
Quote:
Originally Posted by Foly View Post
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!

JCF Member

Joined: Apr 2004

Posts: 1,135

Ragnarok! is a forum legendRagnarok! is a forum legend

May 22, 2009, 05:40 AM
Ragnarok! is offline
Reply With Quote
Oh, he means global trigger zones. Right, yeah, there's no such thing... yet
FawFul

JCF Member

Joined: Jun 2007

Posts: 539

FawFul is a forum legendFawFul is a forum legendFawFul is a forum legend

May 22, 2009, 08:07 AM
FawFul is offline
Reply With Quote
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

JCF Member

Joined: Jan 2009

Posts: 202

Foly has disabled reputation

May 22, 2009, 08:58 AM
Foly is offline
Reply With Quote
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

JCF Member

Joined: Jun 2007

Posts: 539

FawFul is a forum legendFawFul is a forum legendFawFul is a forum legend

May 22, 2009, 10:34 AM
FawFul is offline
Reply With Quote
well let me make things clear for you.. you can't switch triggers to 0 (off) with a trigger crate.
Foly

JCF Member

Joined: Jan 2009

Posts: 202

Foly has disabled reputation

May 22, 2009, 10:59 PM
Foly is offline
Reply With Quote
And there isnt another thing I can use instead of the crate?
EvilMike

JCF Member

Joined: Jun 2001

Posts: 3,478

EvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHART

May 22, 2009, 11:04 PM
EvilMike is offline
Reply With Quote
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

JCF Member

Joined: Jan 2009

Posts: 202

Foly has disabled reputation

May 23, 2009, 03:32 AM
Foly is offline
Reply With Quote
Quote:
Originally Posted by EvilMike View Post
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!

JCF Member

Joined: Apr 2004

Posts: 1,135

Ragnarok! is a forum legendRagnarok! is a forum legend

May 23, 2009, 04:05 AM
Ragnarok! is offline
Reply With Quote
yet
FawFul

JCF Member

Joined: Jun 2007

Posts: 539

FawFul is a forum legendFawFul is a forum legendFawFul is a forum legend

May 23, 2009, 05:03 AM
FawFul is offline
Reply With Quote
i am pretty sure event numbers or Area's can be connected with commands like triggers.
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

May 24, 2009, 02:44 AM
Grytolle is offline
Reply With Quote
Quote:
Originally Posted by Feaw View Post
Oh? Well, when I used for example Gry's tileset-mask extractor
I'm flattered
__________________
<center></center>
Foly

JCF Member

Joined: Jan 2009

Posts: 202

Foly has disabled reputation

Sep 9, 2009, 08:46 AM
Foly is offline
Reply With Quote
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
__________________
[13:07:13] *** Foly is on a KILLING SPREE!
[13:07:14] *** you killed yourself
[13:07:14] *** Foly was looking good but died instead...
Dermo

JCF Member

Joined: Jun 2005

Posts: 1,743

Dermo should make better posts

Sep 9, 2009, 03:28 PM
Dermo is offline
Reply With Quote
Could work, considering when playing treasure or whatnot on splitscreen, the blocks automatically respawn, strangely.
__________________
Yes, I am, in fact, ALWAYS the one to blame for everything. And none of your are full of yourself. Good job.

Do you like Stijn? Take my poll!




Windows is not a virus. A virus is small and efficient...

Note to Stijn: how am i even getting away with this
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 06:29 AM.