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

Random question

Obi1mcd

JCF Member

Joined: Feb 2010

Posts: 692

Obi1mcd is OFF DA CHARTObi1mcd is OFF DA CHARTObi1mcd is OFF DA CHART

Apr 16, 2010, 04:18 AM
Obi1mcd is offline
Reply With Quote
Random question

A while ago I took a look at the thread Evilmike made about his next SP pack, and was interested in how it mentioned the .dll files and that. Just out of curiosity, would it be remotely possible to do something along those lines so that Jazz would use a custom anims.j2a? I mean you could use it to make 'new' enemies or something like that. Just wondering.
__________________
Define 'normal'.
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Apr 16, 2010, 08:55 AM
Violet CLM is offline
Reply With Quote
JJ2 will use whatever anims.j2a it finds in the same folder as its .exe file, assuming you've patched it to accept .j2a files with different checksums, and Jazz Sprite Dynamite will do that for you.
__________________
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

Apr 16, 2010, 02:54 PM
EvilMike is offline
Reply With Quote
Quote:
Originally Posted by Obi1mcd View Post
A while ago I took a look at the thread Evilmike made about his next SP pack, and was interested in how it mentioned the .dll files and that. Just out of curiosity, would it be remotely possible to do something along those lines so that Jazz would use a custom anims.j2a? I mean you could use it to make 'new' enemies or something like that. Just wondering.
I feel I should say that while the stuff I mentioned in that thread is possible, it was mostly "best case scenario" type stuff. Due to more recent developments (or to put it better, the lack of developments) I most likely won't be doing any of the crazier stuff that was posted about. At the moment it is looking like plan B will be the way to go, which is to wait for JJ2+ to support more than 2 exits in a level, and then just use that. Maybe in conjunction with a simple background "utility" in the vein of karrtotshire, if certain problems regarding saving and loading games can be resolved.

Interestingly, a custom anims.j2a would probably be the one thing that can actually be done, right now, with existing tools. All it requires is the skill to make your own sprites. Of course, without some more advanced hacking, your new enemies would behave (and sound) exactly like the old ones. But that's no problem, since most jj2 enemies just walk back and forth anyway.
Troglobite

JCF Member

Joined: May 2008

Posts: 691

Troglobite is a forum legendTroglobite is a forum legendTroglobite is a forum legend

Apr 16, 2010, 03:51 PM
Troglobite is offline
Reply With Quote
With some creativity, you can do a lot with enemies that just look different though. The game seems to use sprite collisions for hurting enemies, so you can delete weapon sprites and they'll become unusable as I believe was discussed in another thread. Also, I've played around before with clearing the "idle" sprite of enemies like fish that will charge at you. This makes it impossible to snipe them at a distance, and your only chance to kill them occurs when they're already attacking you. You could probably also edit the monkey or dragon enemies to create a banana or flame turret that couldn't be destroyed without TNT.
__________________

Lexicographer: Someone who writes dictionaries
Neophyte: A novice, or newbie
Hemisemidemiquaver: In music, a sixty-fourth note


Exit Troglobite, Stage Left
Obi1mcd

JCF Member

Joined: Feb 2010

Posts: 692

Obi1mcd is OFF DA CHARTObi1mcd is OFF DA CHARTObi1mcd is OFF DA CHART

Apr 16, 2010, 08:11 PM
Obi1mcd is offline
Reply With Quote
Quote:
Originally Posted by Unknown Rabbit View Post
JJ2 will use whatever anims.j2a it finds in the same folder as its .exe file, assuming you've patched it to accept .j2a files with different checksums, and Jazz Sprite Dynamite will do that for you.
That's almost what I meant. I just thought that for SP packs it would be a pain for people to have to swap the anims.j2a back and forth manually. It would also only work for regular 1.23 and TSF, not 1.23x or those.
__________________
Define 'normal'.
Seren

JCF Member

Joined: Feb 2010

Posts: 872

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

Apr 17, 2010, 12:55 AM
Seren is offline
Reply With Quote
The largest problem is (in my opinion) the filesize of Anims.j2a. I don't believe that someone will let you upload 0.02MB level, 0.2MB tileset, 1.5MB music and 9MB j2a file adding some custom enemies.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Apr 17, 2010, 01:03 AM
Violet CLM is offline
Reply With Quote
If there was a demonstrated demand for it, I don't imagine it would be too hard to separate out the edited animations and make a program to inject them into existing .j2a files. However, there is no demonstrated demand.
__________________
DoubleGJ

JCF Member

Joined: Sep 2002

Posts: 3,050

DoubleGJ has disabled reputation

Apr 17, 2010, 03:53 AM
DoubleGJ is offline
Reply With Quote
I personally would be more interested in the possibility to do these injections mid-levelpack and then revert them. So for example in one level you have Hatters changed to, say, Doofus Guards, and in the next level they're Hatters again. I THINK it could be done with a third party program running in the background...
__________________
"So unless I overwrote my heart with yours, I think not. But I might have." - Violet CLM

Two Games Joined releases:
Control / Splinter (twin singles)
|| Ballistic Bunny (EP)
||
Beyond (maxi-single)
|| Beyond: Remixed (remix EP)
|| Inner Monsters OST (mini-album)
||
Shadows (album)
Eigus

JCF Member

Joined: Apr 2007

Posts: 625

Eigus is doing well so far

Apr 17, 2010, 09:09 AM
Eigus is offline
Reply With Quote
Quote:
Originally Posted by DoubleGJ View Post
I THINK it could be done with a third party program running in the background...
You mean something like the XMPlay sound engine replacing the Galaxy system in a non-plusified JJ2 with a plus.exe running in the background? I don't know any coding, but if that was possible in JJ2+, I guess it could be done.
__________________
gg, no re.
Stijn

Administrator

Joined: Mar 2001

Posts: 6,968

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Apr 17, 2010, 09:27 AM
Stijn is offline
Reply With Quote
Quote:
Originally Posted by Eigus View Post
I don't know any coding
Eigus

JCF Member

Joined: Apr 2007

Posts: 625

Eigus is doing well so far

Apr 17, 2010, 10:20 AM
Eigus is offline
Reply With Quote
Quote:
Originally Posted by Stijn View Post
That's why I am not sure
__________________
gg, no re.
Troglobite

JCF Member

Joined: May 2008

Posts: 691

Troglobite is a forum legendTroglobite is a forum legendTroglobite is a forum legend

Apr 17, 2010, 01:51 PM
Troglobite is offline
Reply With Quote
Quote:
Originally Posted by Sir Ementaler View Post
The largest problem is (in my opinion) the filesize of Anims.j2a. I don't believe that someone will let you upload 0.02MB level, 0.2MB tileset, 1.5MB music and 9MB j2a file adding some custom enemies.
Although you couldn't actually upload it on J2O, it would be fine to upload it to some other website that allows large uploads (like mediafire), then upload a text file with the link to J2O. While it would obviously be nicer if there was a way to just upload the edited frames, it is by no means impossible to get a .j2a onto J2O where it could be reviewed and rated, even if it couldn't be directly uploaded there.
__________________

Lexicographer: Someone who writes dictionaries
Neophyte: A novice, or newbie
Hemisemidemiquaver: In music, a sixty-fourth note


Exit Troglobite, Stage Left
Stijn

Administrator

Joined: Mar 2001

Posts: 6,968

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Apr 17, 2010, 02:07 PM
Stijn is offline
Reply With Quote
Please don't take that as an encouragement to put all kinds of (expiring) mediafire/rapidshare/whatever links on J2O though. I'd much rather see some sort of patching utility.
Obi1mcd

JCF Member

Joined: Feb 2010

Posts: 692

Obi1mcd is OFF DA CHARTObi1mcd is OFF DA CHARTObi1mcd is OFF DA CHART

Apr 18, 2010, 12:25 AM
Obi1mcd is offline
Reply With Quote
Quote:
Originally Posted by DoubleGJ View Post
I personally would be more interested in the possibility to do these injections mid-levelpack and then revert them. So for example in one level you have Hatters changed to, say, Doofus Guards, and in the next level they're Hatters again. I THINK it could be done with a third party program running in the background...
Yes, this is exactly what I meant. Just so that the third party program sees that Jazz2 has loaded 'whatever.j2l' and then switches from anims.j2a to anims2.j2a, or something. It would be cool in an SP pack, but yes, the filesize would be a problem...
__________________
Define 'normal'.
Seren

JCF Member

Joined: Feb 2010

Posts: 872

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

Apr 18, 2010, 12:44 AM
Seren is offline
Reply With Quote
Of course this could give some great effects, but in my opinion, it's a little too complicated. However, if someone will make such a program, I'll for sure use it in my levels. Or maybe two programs. One doing something with the filesize and one changing sprites in-game. It for sure sounds too complicated.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
Obi1mcd

JCF Member

Joined: Feb 2010

Posts: 692

Obi1mcd is OFF DA CHARTObi1mcd is OFF DA CHARTObi1mcd is OFF DA CHART

Apr 19, 2010, 01:00 AM
Obi1mcd is offline
Reply With Quote
Quote:
Originally Posted by Sir Ementaler View Post
It for sure sounds too complicated.
Agreed.
__________________
Define 'normal'.
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 07:42 AM.