View unanswered posts | View active topics It is currently Thu Jan 16, 2025 10:07 am



Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
 Prefabs in CC 
Author Message
User avatar

Joined: Wed Jul 01, 2009 11:46 pm
Posts: 1930
Reply with quote
Post Prefabs in CC
I was looking through mod releases and saw that obelisk thing, and it made me wonder. Has Mr. Tanbar ever suggested there being prefabs other than doors in Cortex Command? Like windows, crates, etcetera that aren't just terrain, but prefabs that if shot enough would gib?


Mon Sep 06, 2010 4:38 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Prefabs in CC
I don't think Data ever mentioned placable MO bunker decorations. Also keep in mind that the more objects you place that you can hit (GetsHitByMOs = 1) the higher your MOID count will be. If the MOID counter gets above 255 (rather small, in my opinion) MOs will randomly gib to clear up the counter.


Mon Sep 06, 2010 4:45 pm
Profile
User avatar

Joined: Wed Jul 01, 2009 11:46 pm
Posts: 1930
Reply with quote
Post Re: Prefabs in CC
Oh yeah, forgot the Crabomb effect.


Mon Sep 06, 2010 5:17 pm
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Re: Prefabs in CC
Why did Data make a limit at all anyway? It doesn't make sense that he'd have to do that with the modern computers of today.


Mon Sep 06, 2010 7:47 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Prefabs in CC
Probably laziness, though the true reason may be lost to the sands of time.


Mon Sep 06, 2010 7:58 pm
Profile
User avatar

Joined: Sat Mar 13, 2010 5:52 am
Posts: 229
Reply with quote
Post Re: Prefabs in CC
Maybe it's to contain the MOIDs in CC reality, so real life stuff doesn't start blowing up.


Mon Sep 06, 2010 8:40 pm
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Re: Prefabs in CC
Well I hope it's gone in B24...


Mon Sep 06, 2010 9:25 pm
Profile
User avatar

Joined: Tue Jul 21, 2009 4:36 am
Posts: 347
Location: The place where asses go to be bad
Reply with quote
Post Re: Prefabs in CC
...and I don't think it's Mr. Tanbar...


Mon Sep 06, 2010 9:33 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Prefabs in CC
Duh102 wrote:
Probably laziness, though the true reason may be lost to the sands of time.

I still go with the palette theory.
8bit = 256 colors = 256 MOIDs
If the MOID palette was bigger, then it would allow more MOIDs, or alternatively if MOIDs didn't use color to be recognized, maybe the limit wouldn't exist.


Tue Sep 07, 2010 12:13 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Prefabs in CC
Awesomeness wrote:
Why did Data make a limit at all anyway? It doesn't make sense that he'd have to do that with the modern computers of today.

Press Ctrl+M until all of the objects are highlighted in a different colour. That colour corresponds to one of 256 colours in CC's palette (excluding 255,0,255 because it marks transparency). Right there is one of the reasons that MOIDs are limited to 255.


Tue Sep 07, 2010 2:10 am
Profile WWW
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Prefabs in CC
I hope Data didn't set the MOID limit just because he didn't have enough colors to mark them.


Tue Sep 07, 2010 2:19 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Prefabs in CC
Probably not, but it makes it a lot easier to keep track of the different IDs. There's also the problem that in almost any case with over 255 MOIDs, the game starts to lag pretty badly anyway.


Tue Sep 07, 2010 2:50 am
Profile WWW
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Prefabs in CC
Surely it's more the fact that he's just using a predefined set-size array and found it convenient to link it to palette colours? He mentioned expanding the limit at some point as fairly trivial, if I remember correctly..


Tue Sep 07, 2010 4:53 am
Profile WWW
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Prefabs in CC
I talked to him about it myself, and he said that unless it was absolutely needed for a campaign mission, it would take too much work to bother. I have to assume it's something related to an array size that needs to be used (maybe it's an Allegro thing?), as pretty much everything in CC is based on an array of 256.


Tue Sep 07, 2010 5:04 am
Profile WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Prefabs in CC
Secretly, Data's using ♥♥♥♥ allegro, and he's using a shitload of pointers going to a single variable set as 2^8 to define the size of all his arrays.


Tue Sep 07, 2010 5:49 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page 1, 2  Next

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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.048s | 14 Queries | GZIP : Off ]