Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Knight and Mysteries of the Sith Editing Forum → Extracting GOBs Completely and Correctly
Extracting GOBs Completely and Correctly
2005-06-12, 2:57 PM #1
I hate to ask this, seeing as I've been editing Jk for over 3 years now, but how do you correctly extract GOBs?

Here's the scenario I've used for as long as I can remember: I use ConMan, open up the GOB, multi-select all of the 3dos, mats, cogs, pups, snds, etc. and copy them into a folder with the same name as the GOB. After I have copied everything into their relevant folders, I open up the .jkl with JED, then save it as a JED file in the same directory. I then use the JKTree plug-in to organize everything into its correct folder automatically. I then reload templates, redresh cogs, recalculate lighting, and finally save .jkl and test. Sound simple enough?

Well all this seems to work, but I've always been frustrated by a few things:

1) How do you get back the master.tpl with all of the new 3dos' templates back? It must be a pain to have to guess around at what parameters these 3dos have. For example, player models, spaceships, guns, buildings - all of it won't work unless you respecify the template. How do you do this quickly and painlessly?

2) All of the cogs in the F7 window are capitalized and look really hideous, I'm not sure if this is a bug per se, but how do you make the level template and cog window return to it's normal case, instead of ALL CAPS?

These are silly, simple questions, and I feel like a moron for asking them, but I'd like to know so that my life could be a bit easier... :o
My JK Level Design | 2005 JK Hub Level Pack (Plexus) | Massassi Levels
2005-06-12, 4:47 PM #2
All the templates the level uses are in the JKL. For the actual game, and some mods, some are also in static.jkl. IIRC, you can just copy-and-paste.

For the cogs - WHATS WRONG WITH CAPS?
2005-06-12, 5:03 PM #3
Quote:
Originally posted by JM
All the templates the level uses are in the JKL.


I can't find them. I open up my level's JKL, and this is all I find for templates:
Code:
Section: TEMPLATES

World templates 112
#Name:           Based On:        Params:
ghost             none               orient=(0.000000/0.000000/0.000000) type=ghost move=path
bubble            none               orient=(0.000000/0.000000/0.000000) type=cog move=physics thingflags=0x10000000 timer=3.000000 sprite=bubble.spr mass=0.050000 physflags=0x200 vel=(0.000000/0.000000/0.300000)
+whitecloud       none               orient=(0.000000/0.000000/0.000000) type=particle timer=0.200000 typeflags=0x3f material=00gsmoke.mat range=0.020000 rate=128.000000 maxthrust=30.000000 elementsize=0.007000 count=128
+watersplash      none               orient=(0.000000/0.000000/0.000000) type=explosion timer=0.500000 sprite=splash.spr typeflags=0x1 damageclass=0x4
+twinkle          none               orient=(0.000000/0.000000/0.000000) type=explosion thingflags=0x1 timer=0.500000 sprite=twinkle.spr typeflags=0x11
+telesparks       none               orient=(0.000000/0.000000/0.000000) type=particle timer=0.120000 typeflags=0x3f material=00teleport.mat range=0.030000 rate=256.000000 maxthrust=80.000000 elementsize=0.002000 count=256
+sspks_wall       none               orient=(0.000000/0.000000/0.000000) type=particle move=physics timer=0.100000 mass=0.050000 physflags=0x400201 vel=(0.000000/0.000000/0.150000) typeflags=0x2b material=00ramp1.mat range=0.030000 rate=4.000000 maxthrust=8.000000 elementsize=0.003000 count=48 
.....


There's no mention of the 3dos I use such as "lobby pillar" and "lobby arch" - they are only listed under "world THings" there is no mention of these custom 3dos templates in the template section - where the heck are they? :confused:
My JK Level Design | 2005 JK Hub Level Pack (Plexus) | Massassi Levels
2005-06-12, 5:12 PM #4
Ah - I thought they were in the template section. Right at the end of the list. JK can't create anything without a template, but archi 3do's may be different. I suppose, if they have the archi flag set, they aren't using the stuff in the template anyway, so they don't need it. I'm surprised JED excludes it when exporting the JKL, though.
2005-06-12, 5:20 PM #5
But they must be there somehow? Quib Mask must have found the templates when he ripped my level - otherwsie he'd have to reassign all the parameters manually, wouldn't he?
My JK Level Design | 2005 JK Hub Level Pack (Plexus) | Massassi Levels
2005-06-12, 6:10 PM #6
If it's just pillars and such - things that are just level geometry - then JED can fill in all the details.
2005-06-12, 6:22 PM #7
Daft_Vader, a few points to ease your pains:

1. Use JKGOB to more quickly extract stuff from a gob into proper folders. Open JKGOB, Click File>Open and Extract All. Choose your project folder. All in one shot. :)

2. *Before* opening Jed, copy the master.tpl from Jed's "Jeddata" folder to your project folder. Then open each jkl and copy all templates from them and paste them at the end of the master.tpl in your project folder.

3. Now do all that stuff you normally do in Jed, except for the JKTree plug-in.

:)
2005-06-12, 6:26 PM #8
Your lobbypost, lobbypillar and lobbyarch are all in the templates section of the JKL; 6 from the end of the list. 3do architecture objects are just like any other "thing" object used in JK.

When I exploded your level GOB to work on it, I never reopened it with JED, all things I changed were using notepad/wordpad. I forget the exact format of the master.tpl file JED uses, but using the default master.tpl file and some copy&pasting from the JKL file, you could rebuild it.

QM
2005-06-12, 6:36 PM #9
Here's a segment of my JKL from Basilica .... I can find no mention of my custom 3dos in the template section? Am I going mad? :confused:

Please have a look and see if you can figure out what's up.
Attachment: 5444/basilica_jkl_segment.zip (4,570 bytes)
My JK Level Design | 2005 JK Hub Level Pack (Plexus) | Massassi Levels
2005-06-12, 6:46 PM #10
Daft_Vader, after Jed messes with the jkl, the templates are lost. Look in the original jkl from the gob.

:)
2005-06-12, 6:46 PM #11
That's... uh, weird. In the v0.99 of Basilica at JKHub, in the basilica.jkl file, here (in the attachment) is the templates section.

QM
Attachment: 5445/basilica_jkl_segment.zip (3,847 bytes)
2005-06-12, 10:12 PM #12
The templates will always show in the templates section of the JKL, just locate each one, copy and paste into a copy of master.tpl. They may just be scattered around.
_ _ _____________ _ _
Wolf Moon
Cast Your Spell On Me
Beware
The Woods At Night
The Wolf Has Come
2005-06-13, 12:40 PM #13
Quote:
Originally posted by ZeqMacaw
Daft_Vader, after Jed messes with the jkl, the templates are lost. Look in the original jkl from the gob.

:)

Thanks, that was the problem. I think I've got it all sorted out now! :)
My JK Level Design | 2005 JK Hub Level Pack (Plexus) | Massassi Levels

↑ Up to the top!