View unanswered posts | View active topics It is currently Thu Jan 09, 2025 11:55 pm



Reply to topic  [ 9 posts ] 
 Bunker Module - Help Please 
Author Message
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Bunker Module - Help Please
Hey guys, another problem for you, probably some minor thing I don’t know about but still... My Mod is coming along nicely now with lots of different actors and bits so I thought I'd try making base modules...

I wanted like... a watchtower kind of thing so that I could put them up easier on my base when I'm building. Trouble is the one I made crashes the game every time I select it from the buy menu.

I'm pretty sure it’s a minor code bug but I'd be really grateful if someone could take a look at it for me if they get a chance...

Its not really decorated to my faction's look yet, just wanted to get it working first so yeah, if it gets working it'll be plain and would be of good use to everybody. :)

Download link below:

http://www.mediafire.com/download.php?y2quezykynm

Pictures:

Image

Image

Credit to the guy/s that made the BunkerEnhanced.rte you are god/s, they rule. :grin:

Thanks in advance,

CombatMedic02


Fri Dec 26, 2008 10:14 pm
Profile WWW

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: Bunker Module - Help Please
Where is the MAT image?


Fri Dec 26, 2008 10:21 pm
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Bunker Module - Help Please
In the folder... and now right here:

Image

Also this:

Image

What’s up with that? It’s probably linked with the crash but I haven't seen it before so I don’t know what it is. :???:


Fri Dec 26, 2008 10:22 pm
Profile WWW
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Bunker Module - Help Please
Hi there,

Two problems were up:
- One: These .bmp's were in RGB mode. The colours should be Indexed, or 8-bit, if I make any sense here.
- Two: The pictures were not in the CC palette. (Keep in mind that the .mat files need a different palette than the regular CC pictures!)

To solve both of these problems, either modify an existing CC .bmp file (since it would be in the right palette) and save it, or use a more advanced picture editor.

These won't be a future worry though. I've changed them for you. :)

Edit: These are the two palettes used by CC: Use anything else and stuff gets mucked up.
ImageImage


Sat Dec 27, 2008 1:32 am
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Bunker Module - Help Please
Wow... thanks! I never knew there was a different pallet for the Mat files and such.

Also thanks for the colour pallets that’s going to help me a lot in the future.

Since I used most of the CC base tiles anyway I was copying the bits from their files to ensure I didn't go wrong, thing is I went wrong by pasting them into a wrong-format bitmap file [a file not confined to the CC pallet] and that’s why the colours got messed up... rookie mistake, shouldn't happen again.

I see now, learning curve and all that... thanks a lot Gotcha! You've been such a great help! :)

CombatMedic02

-------------------------------------------------------------------------------
For anyone who may wish to use it:

Attached is the finished Outpost, working and unmodified from the original base module colour scheme. Please give credit if used/edited in any other mods! :)

Image


Sat Dec 27, 2008 11:24 am
Profile WWW
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Bunker Module - Help Please
No problem. :) Just drop me a pm if you get stuck again.


Sat Dec 27, 2008 1:41 pm
Profile
User avatar

Joined: Thu Jul 10, 2008 6:23 pm
Posts: 301
Location: Lurking somewhere around here...
Reply with quote
Post Re: Bunker Module - Help Please
Or you could have used this. For future reference, Gotcha, you can refer them to that.


Sat Dec 27, 2008 3:14 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Bunker Module - Help Please
Ah, brilliant. Nice job. :)


Sat Dec 27, 2008 3:22 pm
Profile
User avatar

Joined: Mon Jun 04, 2007 5:55 am
Posts: 1627
Location: Ohio
Reply with quote
Post Re: Bunker Module - Help Please
Gotcha! wrote:
Hi there,

Two problems were up:
- One: These .bmp's were in RGB mode. The colours should be Indexed, or 8-bit, if I make any sense here.
- Two: The pictures were not in the CC palette. (Keep in mind that the .mat files need a different palette than the regular CC pictures!)

To solve both of these problems, either modify an existing CC .bmp file (since it would be in the right palette) and save it, or use a more advanced picture editor.

These won't be a future worry though. I've changed them for you. :)

Edit: These are the two palettes used by CC: Use anything else and stuff gets mucked up.
ImageImage


Actually there's an error with that.

Open Materials.ini in base.rte, The RGB value of every material is the color used by the materials pallet. the only reason the other colors aren't in it, is that no bunker module or scene uses other mat's yet. go ahead, use that ugly color of xenocromium. its like some sickly green crap, and oil is an off black. Every material in materials.ini can be used in a bunker module as terrain.



On topic again, pre-fab bunker stuffs are amazing, and makes things way faster. its just bunker modules, but its still nice. good job.


Mon May 18, 2009 9:37 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 15 Queries | GZIP : Off ]