Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

JJ2+ v5.6 (last updated 27 February, 2018)

Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,666

Violet CLM has disabled reputation

Dec 8, 2013, 10:49 AM
Violet CLM is offline
Reply With Quote
I'm not really sure what you're asking, since you left out the subject of "is using." The global arrays jjPlayers and jjLocalPlayers, plus the jjPLAYER property playerID, would presumably be a large part of what you're looking for. Remember to add 1 to any playerID value, since JJ2 (as opposed to AngelScript) thinks the player list should be 1-indexed.
__________________
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,786

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Dec 8, 2013, 10:50 AM
cooba is offline
Reply With Quote
Code:
jjPlayers[playernumber].playerID
XxMoNsTeRXM XxMoNsTeRXM's Avatar

JCF Member

Joined: Sep 2013

Posts: 191

XxMoNsTeRXM is doing well so far

Dec 9, 2013, 04:39 AM
XxMoNsTeRXM is offline
Reply With Quote
Quote:
Originally Posted by Violet CLM View Post
I'm not really sure what you're asking, since you left out the subject of "is using." The global arrays jjPlayers and jjLocalPlayers, plus the jjPLAYER property playerID, would presumably be a large part of what you're looking for. Remember to add 1 to any playerID value, since JJ2 (as opposed to AngelScript) thinks the player list should be 1-indexed.
I tried how you said and it said Invalid Player Number.
Here's what i used:

jjChat ("/ptrigger " + jjLocalPlayers[0].playerID + " 1 1 on");
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,666

Violet CLM has disabled reputation

Dec 9, 2013, 08:49 AM
Violet CLM is offline
Reply With Quote
Code:
jjChat ("/ptrigger " + (jjLocalPlayers[0].playerID + 1) + " 1 on");
Although if you're setting your own trigger, it feels like jjTriggers[1] = true; would be simpler.
__________________
XxMoNsTeRXM XxMoNsTeRXM's Avatar

JCF Member

Joined: Sep 2013

Posts: 191

XxMoNsTeRXM is doing well so far

Dec 9, 2013, 09:53 AM
XxMoNsTeRXM is offline
Reply With Quote
Quote:
Originally Posted by Violet CLM View Post
Code:
jjChat ("/ptrigger " + (jjLocalPlayers[0].playerID + 1) + " 1 on");
Although if you're setting your own trigger, it feels like jjTriggers[1] = true; would be simpler.
But... how do I make it work on server? Because if someone isn't allowed to use ptrigger they won't be able to open the trigger. Does jjTrigger can make the trigger only for players (ptrigger)?
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,666

Violet CLM has disabled reputation

Dec 9, 2013, 10:13 PM
Violet CLM is offline
Reply With Quote
I still don't know what you're trying to do.

If the player running the script and the player that you want the trigger to change for are the same player, use jjTriggers.
If they're two different players, but the player running the script is the host, use ptrigger.
Otherwise, you should probably find a different way to effect what you want to have happen.
__________________
Vegito

JCF Member

Joined: Oct 2003

Posts: 2,861

Vegito is an asset to this forum

Dec 14, 2013, 02:52 AM
Vegito is offline
Reply With Quote
Idea:

What if toaster and fireball not only does normal damage, but also 'sets you on fire after getting hit' ? It'd do an x amount of damage within a certain time unless you go into water or take a carrot or something?
__________________
KRSplatinum KRSplatinum's Avatar

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Dec 14, 2013, 02:25 PM
KRSplatinum is offline
Reply With Quote
Quote:
Originally Posted by Vegito View Post
Idea:

What if toaster and fireball not only does normal damage, but also 'sets you on fire after getting hit' ? It'd do an x amount of damage within a certain time unless you go into water or take a carrot or something?
I disapprove of this. If you were set on fire to lose health, that would require hit points to even make sense from my perspective.

Idea:

What if JJ2+ had voice/video chat and voice recognition? It'd lag less than Skype or Raidcall and allow better integration between those who have or don't have microphones.
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,786

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Dec 14, 2013, 03:04 PM
cooba is offline
Reply With Quote
How would voice chat allow better integration with users without microphones?

And, no, it wouldn't lag less, quite the opposite.
KRSplatinum KRSplatinum's Avatar

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Dec 14, 2013, 04:34 PM
KRSplatinum is offline
Reply With Quote
Quote:
Originally Posted by cooba View Post
How would voice chat allow better integration with users without microphones?

And, no, it wouldn't lag less, quite the opposite.
Because if I said "toaster taken" and it automatically showed up on screen as "toaster taken" then if someone can't use voice chat during the game then it would be faster for than to read than if I had to say it and type it.
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,666

Violet CLM has disabled reputation

Dec 14, 2013, 04:35 PM
Violet CLM is offline
Reply With Quote
The fire thing is an interesting idea--I wonder whether it came from Torchlight et al., or JJA, or OEM, or what--but I think it's better off as something that people can do themselves for individual levels in AngelScript, rather than us substantially changing how a rather common weapon works.

we're not doing voice recognition
__________________
Vegito

JCF Member

Joined: Oct 2003

Posts: 2,861

Vegito is an asset to this forum

Dec 15, 2013, 09:02 AM
Vegito is offline
Reply With Quote
From Awesomenauts. I wanted to post the idea for anyone to see it. I thought of it as a better idea for individual levels with AngelScript too.
__________________
Robo4900 Robo4900's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,045

Robo4900 has disabled reputation

Dec 15, 2013, 03:48 PM
Robo4900 is offline
Reply With Quote
If you meant for it to be an AngelScript thing, there is a thread for that.

Also, Plus feature suggestion: Allow mapping specific buttons to specific weapons(Like the number keys), so for example, someone like me who primarily uses a controller could map a specific button(Such as pressing the Right Stick or something) to switch the weapon to the Blaster like pressing the 1 key on the keyboard does.
__________________
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,666

Violet CLM has disabled reputation

Dec 16, 2013, 05:51 PM
Violet CLM is offline
Reply With Quote
This didn't seem quite sufficient for a J2O news post, but I thought I'd take this time to mention that the latest JJ2+ release has surpassed 1000 downloads on ModDB! The February release has a few more, but it was also out for a much longer time, so our download rate is increasing. Awesome!

(The example levels only have one tenth that many downloads, though, so we may not put them in a separate zip next time around. )
__________________
Vegito

JCF Member

Joined: Oct 2003

Posts: 2,861

Vegito is an asset to this forum

Dec 17, 2013, 12:54 AM
Vegito is offline
Reply With Quote
Quote:
Originally Posted by Robo4900 View Post
If you meant for it to be an AngelScript thing, there is a thread for that.
I meant to post it here to give the JJ2+ team a chance to see the idea first.
__________________
Robo4900 Robo4900's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,045

Robo4900 has disabled reputation

Dec 17, 2013, 04:00 AM
Robo4900 is offline
Reply With Quote
So, either 1000 different people have downloaded Plus on ModDB, or one guy has downloaded it once, had a technical issue, re-downloaded it, had another, etc, etc, until they've finally downloaded it 1000 times.
__________________
Jerrythabest Jerrythabest's Avatar

JCF Member

Joined: Apr 2005

Posts: 2,602

Jerrythabest is a forum legendJerrythabest is a forum legendJerrythabest is a forum legend

Dec 18, 2013, 11:15 AM
Jerrythabest is offline
Reply With Quote
I'd say it's worth a short-and-simple newspost (like the 'Downloads should work again' message there is now). In some way it's a landmark, why not celebrate it?
__________________
Robo4900 Robo4900's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,045

Robo4900 has disabled reputation

Dec 18, 2013, 04:32 PM
Robo4900 is offline
Reply With Quote
Agreed.
Of course, you could probably pad it out a little bit with some additional numbers if you wanted to make a full newspost, but I think Jerrythabest's suggestion is the best(If you'll excuse the... Pun?).
__________________
Jerrythabest Jerrythabest's Avatar

JCF Member

Joined: Apr 2005

Posts: 2,602

Jerrythabest is a forum legendJerrythabest is a forum legendJerrythabest is a forum legend

Dec 19, 2013, 10:48 AM
Jerrythabest is offline
Reply With Quote
It's typically Dutch, but it works =) Doing nothing is too little, a full newspost is maybe a bit overkill. So just do something in the middle.
__________________
KRSplatinum KRSplatinum's Avatar

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Dec 20, 2013, 11:54 AM
KRSplatinum is offline
Reply With Quote
Suggestion: /spec off instead of /spectate off
Superjazz Superjazz's Avatar

JCF Member

Joined: Jan 2003

Posts: 965

Superjazz is OFF DA CHARTSuperjazz is OFF DA CHARTSuperjazz is OFF DA CHART

Dec 20, 2013, 12:08 PM
Superjazz is offline
Reply With Quote
Return of the seekhole!

__________________
Find It Out
MP

JJnet Duel Tournament 3.0
KRSplatinum KRSplatinum's Avatar

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Dec 20, 2013, 04:02 PM
KRSplatinum is offline
Reply With Quote
Quote:
Originally Posted by Vivando View Post
Receiving 10000 baud ;p xd
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,666

Violet CLM has disabled reputation

Dec 20, 2013, 04:17 PM
Violet CLM is offline
Reply With Quote
Yeah, we've been trying to figure out what causes that. (The hole, not the baud.)
__________________
KRSplatinum KRSplatinum's Avatar

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Dec 24, 2013, 11:19 PM
KRSplatinum is offline
Reply With Quote
Just a weapon idea- Nuclear bomb, this would work like JJ1 TNT, destroying everything on the screen instantly.
Slaz Slaz's Avatar

JCF Member

Joined: Aug 2004

Posts: 1,275

Slaz is a forum legendSlaz is a forum legendSlaz is a forum legend

Dec 25, 2013, 04:11 AM
Slaz is offline
Reply With Quote
Quote:
Originally Posted by KRSplatinum View Post
Just a weapon idea- Nuclear bomb, this would work like JJ1 TNT, destroying everything on the screen instantly.
I remember someone in this thread already suggested it, and that someone else (Cooba/Violet?) said to having it scripted but thought of it as being way too destructive.
__________________
Add SlazRabbit on Xbox Live if you want to play some GoW1/2/3/J or Destiny1/2.
Jazz Jackrabbit 2 Forever!!
Civilian Defence Force - Jazz2 Virtual Factory

cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,786

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Dec 25, 2013, 05:53 AM
cooba is offline
Reply With Quote
MERRY CHRISTMAS SPLAT
commandhat

JCF Member

Joined: Apr 2013

Posts: 1

commandhat is doing well so far

Dec 25, 2013, 08:27 PM
commandhat is offline
Reply With Quote
Why is this so much fun?

I'm tempted to create an entire actionscripted campaign around nukes, where normal weapons are too weak to shatter certain blocks.
KRSplatinum KRSplatinum's Avatar

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Dec 26, 2013, 12:11 AM
KRSplatinum is offline
Reply With Quote
Quote:
Originally Posted by cooba View Post
Thank you Cooba, merry Christmas to you too!

Here's another idea for plus, why not include the new language files for JJ2? :>

Last edited by KRSplatinum; Dec 26, 2013 at 12:49 AM.
Robo4900 Robo4900's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,045

Robo4900 has disabled reputation

Dec 26, 2013, 05:14 PM
Robo4900 is offline
Reply With Quote
If external language files become a feature, I will create and release a Pirate language file in September(Just in time for Talk Like a Pirate Day).
__________________
Loon Loon's Avatar

JCF Member

Joined: Dec 2010

Posts: 47

Loon is doing well so far

Dec 27, 2013, 11:13 AM
Loon is offline
Reply With Quote
Abandon ship!
szmol96 szmol96's Avatar

JCF Member

Joined: Jun 2013

Posts: 83

szmol96 is doing well so far

Dec 30, 2013, 11:15 AM
szmol96 is offline
Reply With Quote
I have already created a Hungarian language file, though it would need a bit polishing. It's a pity that JJ2 doesn't support ű and ő in language files. Perhaps this could be an improvement in the next release. Also, some AS features could have a "public" argument, like jjTileSet.
__________________
All your base are belong to us.
KRSplatinum KRSplatinum's Avatar

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Dec 30, 2013, 03:03 PM
KRSplatinum is offline
Reply With Quote
There would need to be someone who could draw those additional letters into the JJ2 font.
Robo4900 Robo4900's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,045

Robo4900 has disabled reputation

Dec 30, 2013, 06:58 PM
Robo4900 is offline
Reply With Quote
*Volunteers self for this task*

Seriously, it wouldn't be that hard. All I'd need are the U and O characters, and then the ' and " characters so I can get an idea of what they would look like combined, and then I'd do it. It just takes a little GIMP knowhow.

The really hard work would most likely be for the Plus devs having to add an extra two characters to the text that can be displayed. Then again, perhaps the JJ2 engine is flexible in this sense. *Shrugs*
__________________
KRSplatinum KRSplatinum's Avatar

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Dec 30, 2013, 07:48 PM
KRSplatinum is offline
Reply With Quote
There are really a handful of characters not supported by Jazz Jackrabbit. The first ones that come to mind are these - {~}
Robo4900 Robo4900's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,045

Robo4900 has disabled reputation

Dec 30, 2013, 11:07 PM
Robo4900 is offline
Reply With Quote
Well, if the Plus devs wanted to add them, I would be willing to help. Some of the characters would be slightly harder than others, but -- again -- I'd still be willing to help.
The main thing I'd need is a list of characters that I'd need to make.
__________________
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,666

Violet CLM has disabled reputation

Dec 30, 2013, 11:51 PM
Violet CLM is offline
Reply With Quote
One can pretty easily see which characters are currently missing at which sizes by running Jazz Sprite Dynamite. (I make no comment at this time about whether this is something that will matter come next release.)

Quote:
Here's another idea for plus, why not include the new language files for JJ2?
You could ask basically the same question for anything people have made in the last fifteen years, which is kind of a weaselly answer, but there you go. (Heck, since all that's really important is plus.dll and one .exe or another, you could make your own compressed archive if you wanted to.) If there comes a time that the normal Plus distribution includes language files, it'll be because Plus itself supports them, i.e. Domination would sometimes be called Domination and sometimes, I dunno, Beherrschung?
__________________
Seren Seren's Avatar

JCF Member

Joined: Feb 2010

Posts: 818

Seren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to all

Dec 31, 2013, 01:55 AM
Seren is offline
Reply With Quote
Quote:
Originally Posted by KRSplatinum View Post
There are really a handful of characters not supported by Jazz Jackrabbit. The first ones that come to mind are these - {~}
This is not entirely true, you see.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
Robo4900 Robo4900's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,045

Robo4900 has disabled reputation

Dec 31, 2013, 02:00 AM
Robo4900 is offline
Reply With Quote
The problem with me opening up JSD is that I do not possess a working installation of JJ2. Perhaps I'll expand on that at some point, perhaps not.

In any case, if extra language files are not going to be an official Plus feature, then this is kind of a moot point.

EDIT: Also, Sir Ementaler, is that actually from JJ2?
__________________
Seren Seren's Avatar

JCF Member

Joined: Feb 2010

Posts: 818

Seren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to all

Dec 31, 2013, 02:14 AM
Seren is offline
Reply With Quote
Straight from it.
Code:
bool onDrawAmmo(jjPLAYER@,jjCANVAS@ canvas){
  canvas.drawString(0x8000,120,"~",STRING::MEDIUM);
  return false;
}
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
Slaz Slaz's Avatar

JCF Member

Joined: Aug 2004

Posts: 1,275

Slaz is a forum legendSlaz is a forum legendSlaz is a forum legend

Dec 31, 2013, 10:54 AM
Slaz is offline
Reply With Quote
Now that I think about it, isn't it about time this gets fixed?



It happens by starting plussified JJ2 in fullscreen mode (thus by exiting it in fullscreen last time you played), and doesn't ever happen in vanilla JJ2.

I think this bug was already there since one of Blur's releases, and has been pestering the (almost) always fullscreen player that I am.
__________________
Add SlazRabbit on Xbox Live if you want to play some GoW1/2/3/J or Destiny1/2.
Jazz Jackrabbit 2 Forever!!
Civilian Defence Force - Jazz2 Virtual Factory

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 11:36 PM.