Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » JSD, structure shape and orientation
JSD, structure shape and orientation[message #232615] Sat, 05 September 2009 19:31 Go to next message
Trienco
Messages:6
Registered:September 2009
Location: Germany
I've been spending the last days searching the code for any hints if there are additional flags or anything that further modify the 5x5x4 structure info stored in the .jsd files (except the obvious "on roof"-flag). Almost everything looks fine, but a few tiles are definitely wrong. As example, here is a picture showing two of them in the airport map: http://festini.device-zero.de/jastruct.jpg

As you can see, one one at the gate is either rotated or swapped with the neighbor tile, while the roof clearly has one row of tiles with wrong orientation. I tried to double check with the editors, but none of them seem to play well with 64bit Win7 (or must be placed in a special directoy or whatever else might cause them to stop running before they really started).

Does anybody have some experience with those and knows about any offsets or flags (or even "better", known issues with screwed up structure infos)?

If you can play xvid videos, this one also shows that the plane seems completely weird in the tail section: http://festini.device-zero.de/jatest2.avi

And just for fun using the sprites average color for the visualization:
http://festini.device-zero.de/jatest3.avi
Re: JSD, structure shape and orientation[message #232782] Tue, 08 September 2009 16:02 Go to previous messageGo to next message
Will Gates

 
Messages:1030
Registered:September 2006
Location: Far far away.
which indeed it is, which is why that last soldier on the airfield who hides behind the tail can be a bugger to kill. no ideas to help though other than to say jsd & curves are not natural bedfellows!

Re: JSD, structure shape and orientation[message #232796] Tue, 08 September 2009 21:04 Go to previous messageGo to next message
Trienco
Messages:6
Registered:September 2009
Location: Germany
In combination with the "how to fix jsd files"-video I noticed with one of the tools I guess I just have to assume that they didn't have a decent way to visualize those boxes during development and made quite a few mistakes (like those two signs at the entrance having the poles in the middle of the board... structure-wise).

But I'm starting to think about one by one replacing the sprites with 3D objects anyway. All that z-fiddling, the thousand flags and special cases, the seams and hiding precision issues when zooming is just too tedious. As I intend to keep the fixed perspective for now, that might be the easiest way. Trees/plants and mercs as billboards, structures in 3D. Should fix annoying issues like "bathtub drawn over wall". Since objects end up rather small on screen they can be kept simple, with the added benefit that collision and LOS can be done on the actual geometry.
Re: JSD, structure shape and orientation[message #233005] Fri, 11 September 2009 16:19 Go to previous messageGo to next message
pipetz

 
Messages:18
Registered:July 2009
Location: Moscow, Russia
Trienco
I tried to double check with the editors, but none of them seem to play well with 64bit Win7

Last version of .NET JsdEditor work with 64bit Win7. I hope...
http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=222318&page=1#Post222318





Re: JSD, structure shape and orientation[message #233014] Fri, 11 September 2009 19:08 Go to previous messageGo to next message
Trienco
Messages:6
Registered:September 2009
Location: Germany
I don't know if you uploaded a newer version of 1.2.1 or if starting it without first deleting the configs the last time screwed something up beyond repair, but I just downloaded it again from the alternative mirror, changed the language and it seems to work.

So this is me falling to my knees and kissing your feet.
Re: JSD, structure shape and orientation[message #233032] Fri, 11 September 2009 23:02 Go to previous messageGo to next message
pipetz

 
Messages:18
Registered:July 2009
Location: Moscow, Russia
2 Trienco
Smile))))))

You are right about Drassen airport.
http://www.esnips.com/doc/cbc36ad1-6c88-492b-8aaf-bf37384772ee/Angar
http://www.esnips.com/doc/9f97c4bb-fa17-4f8a-bc44-fce4bc0692d9/shlagbaum

[Updated on: Fri, 11 September 2009 23:13] by Moderator



Re: JSD, structure shape and orientation[message #233070] Sat, 12 September 2009 16:14 Go to previous messageGo to next message
Trienco
Messages:6
Registered:September 2009
Location: Germany
Wow, I didn't expect you to take the time and check the files, but I'm grateful and relieved to hear that the problem is in the files and not some obscure "struct must be rotated"-flag I've been missing. Guess checking/fixing the jsd's just got added to my to-do list. Somewhere after experimenting with a 2D/3D hybrid and converting most of the resources.
Re: JSD, structure shape and orientation[message #233071] Sat, 12 September 2009 16:20 Go to previous messageGo to next message
Khor1255

 
Messages:1834
Registered:August 2003
Location: Pleasantville, NJ
Fixing the jsds would be a huge help.
Re: JSD, structure shape and orientation[message #233132] Sun, 13 September 2009 19:20 Go to previous messageGo to next message
Trienco
Messages:6
Registered:September 2009
Location: Germany
Which brings up an interesting legal issue. Distributing new content shouldn't be an issue, but what about distributing original resources (even with minor fixes)? I could see one argument being that the fixed jsd files would be useless on their own and only a small percentage would be affected anyway. But the other argument would be just as valid: "we don't care, you're not allowed to".
Re: JSD, structure shape and orientation[message #233133] Sun, 13 September 2009 19:28 Go to previous messageGo to next message
Khor1255

 
Messages:1834
Registered:August 2003
Location: Pleasantville, NJ
I don't get the whole question. Things like these are routinely distributed in mods and have been for years. I don't see it as a possible issue.
Re: JSD, structure shape and orientation[message #233174] Mon, 14 September 2009 08:57 Go to previous messageGo to next message
Trienco
Messages:6
Registered:September 2009
Location: Germany
Well, usually mods don't need to come with resources that are already part of the game (it would even be pointless to pack it with -say- a merc animation that users already got). Depending on how strict the publisher handles it, even posting one of the .sti files to explain the format could be trouble (though I wouldn't expect anyone to really care).

To be on the safe side, it might be sufficient to just create a simple tool/script to fix the existing files. On the other hand, the source was released long ago and modding has been going on for quite a while, so there probably already is some kind of (semi)official "do and dont's"?
Re: JSD, structure shape and orientation[message #233179] Mon, 14 September 2009 10:30 Go to previous messageGo to next message
Khor1255

 
Messages:1834
Registered:August 2003
Location: Pleasantville, NJ
Yeah, but like all other altered files the jsds would be altered. I see no difference between this and an updated sti or whatever.

Am I missing some legal mumbo jumbo about this?
Re: JSD, structure shape and orientation[message #233208] Mon, 14 September 2009 18:14 Go to previous messageGo to next message
Will Gates

 
Messages:1030
Registered:September 2006
Location: Far far away.
It's no biggee. Both my mods contained silent fixes to problems with the original stuff... if I noticed something wasn't right I fixed it if I could... simples.

Don't tell Sergai he haff nervous breakdown (shhh; he already haff wurmes).

Re: JSD, structure shape and orientation[message #233942] Sun, 27 September 2009 09:25 Go to previous message
Kaerar

 
Messages:2090
Registered:January 2003
Location: Australia :D
Sergai is a muppet about legal crap. He is too fussed about making money from something that isn't worth selling.

As for distributing fixed resources it's not a problem. Legally they may have bit of a gripe about it, but when you think about it you saved them Q&A money as well as programmers time so if they bitch they would lose because you can claim they released a defective product Wink

It's all fiction in legal land Very Happy


Previous Topic: more options to modify difficulty(beta released)
Next Topic: Why cannot we add a 4th body type to the source?
Goto Forum:
  


Current Time: Sun May 28 17:42:22 EEST 2017

Total time taken to generate the page: 0.00923 seconds