Author |
Message |
Ociamarru
Joined: Wed Jul 01, 2009 11:46 pm Posts: 1930
|
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 |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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 |
|
|
Ociamarru
Joined: Wed Jul 01, 2009 11:46 pm Posts: 1930
|
Re: Prefabs in CC
Oh yeah, forgot the Crabomb effect.
|
Mon Sep 06, 2010 5:17 pm |
|
|
Awesomeness
Joined: Sat Jun 19, 2010 5:02 pm Posts: 331 Location: Mekkan
|
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 |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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 |
|
|
FuzzyMelon
Joined: Sat Mar 13, 2010 5:52 am Posts: 229
|
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 |
|
|
Awesomeness
Joined: Sat Jun 19, 2010 5:02 pm Posts: 331 Location: Mekkan
|
Re: Prefabs in CC
Well I hope it's gone in B24...
|
Mon Sep 06, 2010 9:25 pm |
|
|
Joe
Joined: Tue Jul 21, 2009 4:36 am Posts: 347 Location: The place where asses go to be bad
|
Re: Prefabs in CC
...and I don't think it's Mr. Tanbar...
|
Mon Sep 06, 2010 9:33 pm |
|
|
MaximDude
Joined: Wed Nov 22, 2006 3:19 pm Posts: 2073
|
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 |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
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 |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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 |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
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 |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
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 |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
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 |
|
|
|