Title: Content Mangement Layout Post by: Defender on October 04, 2009, 03:40:20 am How do I structure my RMP file for addons so I can use them with the new content management system in the latest snapshot build? I've manged to get the remixes working only because there was a provided RMP file. and the 3do into, ending, and ship spins came with very clear instructions. Im not understanding the examples provided at Ultronomicon.
zip file contains: Pkunk Ressurection Remix 1] /pkunk/rebirth.wav Yellow Fried 2] /blackurq/gasbig.ani /blackurq/gsmed.ani /blackurq/gassml.ani /blackurq/gasbig.0.png /blackurq/gasbig.1.png /blackurq/gasbig.2.png /blackurq/gasbig.3.png /blackurq/gasbig.4.png "ECT" How do I do this? Title: Re: Content Mangement Layout Post by: Defender on October 04, 2009, 06:15:48 pm So this is what i've come up with but im not sure it's working:
in the rmp file: ship.pkunk.rebirth = MUSICRE:base/ships/pkunk/rebirth.wav Is that layout correct? Title: Re: Content Mangement Layout Post by: meep-eep on October 04, 2009, 10:21:57 pm The problem is that the .wav files aren't directly referred to from the .rmp files. So if you want to change a .wav file, you'd need to include the .snd file and the other .wav files. The same holds for the .png files with the .ani files.
This may change in the future. What you'd have is something like this: Code: ship.pkunk.sounds = SNDRES:pkunk/fury.snd And then refer to the .wav and .png files from the .snd and .ani files respectively. And include the unchanged .wav and .png files in the package.ship.kohrah.graphics.gas.large = GFXRES:blackurq/gasbig.ani ship.kohrah.graphics.gas.medium = GFXRES:blackurq/gasmed.ani ship.kohrah.graphics.gas.small = GFXRES:blackurq/gas-sml.ani Title: Re: Content Mangement Layout Post by: Defender on October 04, 2009, 11:39:09 pm Thank you ;D
EDIT -- Are threre any DOCS on the structure of this system? SNDRES...GFXRES...and...ship.pkunk.sounds...ship.kohrah.graphics.gas.large ----- things like this. Title: Re: Content Mangement Layout Post by: meep-eep on October 05, 2009, 09:56:15 pm I don't think so. Just look at uqm.rmp and take the lines you need from there.
Title: Re: Content Mangement Layout Post by: fossil on October 05, 2009, 10:03:36 pm No good docs yet :-|. However, here is a primer:
Every module, like race comm or a ship uses certain resources. Modules list their resources in certain include files, e.g. the Kohr-Ah ship in src/sc2code/ships/blackurq: igfxres.h, imusicre.h, isndres.h, istrtab.h. The textual resource identifiers, like "ship.kohrah.graphics.gas.large", are translated to file names using one of the RMP files, either the primary content/uqm.rmp or one of the addon RMPs. The addon RMPs override the primary. Things like GFXRES, MUSICRES, FONTRES, CONVERSATION, BINTAB are resource type designators and are pretty much self-explanatory ;) Title: Re: Content Mangement Layout Post by: Defender on October 06, 2009, 01:59:34 am I see, thank you, that helps out alot.
|