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.

ForumsCog Forum → How to modify item_ and pow_ COGs?
How to modify item_ and pow_ COGs?
2002-04-06, 6:57 AM #1
Hi - I just posted a problem I'm having with an item modification on the Editing Forum, and here is the COG half of the problem!

I modified the COGs item_tusken_clothes.cog and pow_tusken_clothes.cog very slightly by altering the BIN number from 52 to 116 all the places I saw it. I altered the newplayermodel 3DO to kym13.3do so Mara Jade turns into a stormtrooper instead of a tusken, and I altered some of the PRINT messages to say stuff like "Putting Stormtrooper Uniform ON". I put them in my Project Directory's cog folder, and I made a template with Template Creator for a new -powerup using the pow_stormtroop_clothes.cog I had saved.

But it don't work ... does anyone have any ideas?

Thanks
Rob
2002-04-06, 8:29 AM #2
you could use an int variable called bin instead of inserting the constant in every verb, so you'd only have to change it once in the symbols section...
but on to your problem...what about the items.dat file? If you are adding a new bin, you have to specify it there...

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2002-04-07, 1:17 AM #3
Thanks for the tip, Zagibu!
I have now added an entry to items.dat for BIN 116 - but where to save it to so it works in my level? I did not fully understand Hell Raiser's tutorial when he said to save items.dat into my JK/Resource directory, coz I am making an MotS level. I even made a new directory MotS/Resource, but my new items.dat file doesn't show up in my GOBed level when I looked through the files with ConMan. Can anyone tell me where items.dat (and jkstrings.uni) goes?

Rob
2002-04-09, 11:34 AM #4
make a patch.. it'll be much easier, and you won't have to undo any changes to the game at a later date. just dump all the files you've made into a patch and play it.
Current Maps | Newest Map
2002-04-09, 11:08 PM #5
take a look at the original LEC resource files (don't know what they are called in mots) and use the same folder structure. So, let's say you open Res2.gob (or whatever it is called in Mots) and see that items.dat is in \misc, then you will create a misc folder in your JK\resource folder and put the file there...
in JK, items.dat is in \misc and jkstrings.uni is in \ui...

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2002-04-11, 9:46 AM #6
OK, if you installed as the default path shows, this is the MotS way (without making a patch):
- put items.dat in a folder called C:/Program Files/LucasArts/MotS/Resource/misc
- put static.jkl (what the template should've come from) in a folder called C:/Program Files/LucasArts/MotS/Resource/jkl
- put the cogs in a folder called C:/Program Files/LucasArts/MotS/Resource/cog

This should work, but i'd recommend doing this as a patch with ConMan/Cage and downloading JK Patch Commander. It's probably best to learn your way though, then use the 'cheat' way later...
2002-04-14, 5:56 AM #7
Thanks everybody! Success!

↑ Up to the top!