Author Topic: Color Black for Multiplayer  (Read 5087 times)

Offline Cynex

  • Newbie
  • *
  • Posts: 31
Color Black for Multiplayer
« on: April 30, 2005, 03:25:59 PM »
Change the following locations in outpost2.exe to make black available as a color for multiplayer games:

Code: [Select]
5E551: 06 => 07 (bounds)
5F863: 90 => 94 (bounds)
60386: 06 => 07 (bounds)
8581A: FC => FB (playback)
D4490: 00000000 => 83030000

       M a g e n t a   C y a n   Y e l l o w   G r e e n   R e d   B l u e   B l a c k  
E3517: 4D6167656E7461004379616E0059656C6C6F7700477265656E0052656400426C756500426C61636B00

E7B40: 354D4E00 (Blue)
       314D4E00 (Red)
       2B4D4E00 (Green)
       244D4E00 (Yellow)
       1F4D4E00 (Cyan)
       174D4E00 (Magenta)

       p l a y b a c k    (Black)
E7EFB: 706C61796261636B00 3A4D4E00

It works as far as I tested.
However it might be a bit unfair since black is hardly visible on the map compared to other colors.

 

Offline Eddy-B

  • Hero Member
  • *****
  • Posts: 1186
    • http://www.eddy-b.com
Color Black for Multiplayer
« Reply #1 on: May 01, 2005, 05:03:05 AM »
so this is a cheap cheat ?  :P
Rule #1:  Eddy is always right
Rule #2: If you think he's wrong, see rule #1
--------------------

Outpost : Renegades - Eddy-B.com - Electronics Pit[/siz

Offline Cynex

  • Newbie
  • *
  • Posts: 31
Color Black for Multiplayer
« Reply #2 on: May 01, 2005, 11:28:45 AM »
'Cheat' is a bit the wrong word for the work involved in this patch.
Better name it 'additional functionality'. It doesn't has to be used, but if someone wants to select black, it is available and everybody will know who is what color, so it'll be common consent and therefore not necessarily unfair.

Of course it's kind of contradictory when everybody wants to be black and only one can, so you'll probably end up with nobody black which makes this patch slightly useless.
 

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Color Black for Multiplayer
« Reply #3 on: May 01, 2005, 01:40:16 PM »
Does it sync across a multiplayer session fine? (Eg. if the host changes a color to black it changes on the other machines)

I might add it to 1.3.3. Good work! :)
« Last Edit: May 01, 2005, 03:10:18 PM by Leviathan »

Offline Cynex

  • Newbie
  • *
  • Posts: 31
Color Black for Multiplayer
« Reply #4 on: May 01, 2005, 01:59:33 PM »
It synchronizes perfectly.
In the connection dialog as well as in the game.

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
Color Black for Multiplayer
« Reply #5 on: May 01, 2005, 03:10:50 PM »
Can it be selected from multi menu?

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Color Black for Multiplayer
« Reply #6 on: May 01, 2005, 05:06:52 PM »
Yeah, I think so.

I'm putting this into 1.3.3 (if you do this and not everyone else has the same patch you run the risk of desynching or crashing the game). So I'll add it to the next update.

Offline zigzagjoe

  • Hero Member
  • *****
  • Posts: 626
Color Black for Multiplayer
« Reply #7 on: May 01, 2005, 08:03:56 PM »
it works no matter what version you use ,ex, black on the patched ver is still black on the old. On the nonpatched ver you see magenta on the picker, but black ingame.

One problem i've noticed is that where it swaps the colors if you select one thats in use, does not work correctly.

Edit: It does work fine (the switching) when playing with same ver
 
« Last Edit: May 01, 2005, 08:15:41 PM by zigzagjoe »

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
Color Black for Multiplayer
« Reply #8 on: May 09, 2005, 04:18:39 AM »
As nice as this is, i beleive its gonna get removed :s

Offline zigzagjoe

  • Hero Member
  • *****
  • Posts: 626
Color Black for Multiplayer
« Reply #9 on: May 09, 2005, 08:15:15 AM »
I rather think that is a good idea.

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Color Black for Multiplayer
« Reply #10 on: May 09, 2005, 02:00:16 PM »
Yes, I think it may be the source of some of the crash problems that are in the EXE.

However I don't know, as I haven't had it crash yet and no one's given us a crash report (yet).

It is the least tested "new thing" we've done to the EXE however, so it probably should be removed.
Besides the fact that it can be an unfair advantage to the person who selects it (and since the host selects colors, they could force themselves or someone else to be black).

Offline Harky

  • Newbie
  • *
  • Posts: 43
Color Black for Multiplayer
« Reply #11 on: November 16, 2005, 02:23:03 PM »
Would it be very hard to change the colour black to somehting liek orange? then the game would be fair again and you would have a new colour to play wiht.

Offline Sirbomber

  • Hero Member
  • *****
  • Posts: 3238
Color Black for Multiplayer
« Reply #12 on: November 16, 2005, 02:57:00 PM »
Harky, this is a pretty old subject. Black's been removed because it supposedly crashed a lot of games.

But, now that I'm on the subject, a lot of new colors would be great.
"As usual, colonist opinion is split between those who think the plague is a good idea, and those who are dying from it." - Outpost Evening Star

Outpost 2 Coding 101 Tutorials

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
Color Black for Multiplayer
« Reply #13 on: November 16, 2005, 06:59:29 PM »
I heard (from Hacker) there is a file with a palette that contains all the player colors. If you were to edit this file, it'd change the player colors. Granted, there is only so much space in the palette, so unless you were entering the colors in at run time, you'd be limited to a certain amount of colors. I'm not sure how many entries are needed per player, but you should be able to get at least 8 player colors in there. Of course, the game only supports using the first few of those, and the names of those colors are hardcoded into the exe.

But then, I doubt anyone has looked into those supposed crashes. So I doubt things will get patched again unless we can be sure the patch is safe.
 

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
Color Black for Multiplayer
« Reply #14 on: November 17, 2005, 02:18:27 AM »
Yea you can edit the colors easy :D

We need to get a guide up on the wiki.

Offline CK9

  • Administrator
  • Hero Member
  • *****
  • Posts: 6226
    • http://www.outpost2.net/~ck9
Color Black for Multiplayer
« Reply #15 on: November 17, 2005, 03:38:08 PM »
Quote
...the fact that it can be an unfair advantage to the person who selects it ...
WHAT!?  It's no more unfair than someone selecting cyan or yellow.  With cyan, a lone unit can easily disappear on the mini-map, and in a game with self-destruct (who almost always played as yellow), he would have up to 6 units in a group and I could only see them on the mini map when there was a significant ammount of displacement (they look like mining becons on the map!).

I say, as long as it doesn't cause crashes, you guys should add the black in the next update!
CK9 in outpost
Iamck in runescape (yes, I still play...sometimes...)
srentiln in minecraft (I like legos, and I like computer games...it was only a matter of time...) and youtube...
xdarkinsidex on deviantart

yup, I have too many screen names

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Color Black for Multiplayer
« Reply #16 on: November 17, 2005, 05:06:55 PM »
Well, I see them as cyan, yellow, etc when I play.

I guess yellow doesn't show as good on the tactical view though.

It probably depends on your monitor and video settings, whether you can see them or not.

I would have to say, black could hide on either view! (on the lava terrain by the volcanos, its black either way)

Editing colors: If you're interested, extract color.bmp from maps.vol and look at its palette.

The colors repeat in multiples of 24 colors each. If you want to change them, just change the correct 24 consecutive indexes.

Then save color.bmp in your game dir, and play with the new colors :)

Offline Harky

  • Newbie
  • *
  • Posts: 43
Color Black for Multiplayer
« Reply #17 on: November 29, 2005, 09:49:59 PM »
How do you view and change the pallet in photoshop cs2?
i looked but it cant seem to find it.. grr oh well i'll wait till someone responds :) thanks guys :)

Offline HaXtOr

  • Sr. Member
  • ****
  • Posts: 423
    • http://www.wtfmoogle.com
Color Black for Multiplayer
« Reply #18 on: November 29, 2005, 10:08:02 PM »
I found all this information a really long time ago. When i first joined here I blieve...
I was going to make a mod but forgot about it actualy... lol
 

Offline zigzagjoe

  • Hero Member
  • *****
  • Posts: 626
Color Black for Multiplayer
« Reply #19 on: November 29, 2005, 10:44:43 PM »
blue is probly one of the most dangerous colors; it blends right in. on most monitors its next to impossible to see it; and ive got a good many ppls that way  :) .  

Offline HaXtOr

  • Sr. Member
  • ****
  • Posts: 423
    • http://www.wtfmoogle.com
Color Black for Multiplayer
« Reply #20 on: November 30, 2005, 01:32:59 AM »
Quote
blue is probly one of the most dangerous colors; it blends right in. on most monitors its next to impossible to see it; and ive got a good many ppls that way  :) .
I thought hot pink was lol or purple...

brown would be evil
 

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
Color Black for Multiplayer
« Reply #21 on: November 30, 2005, 02:48:27 AM »
I don't suppose transparency works on player colors?  :whistle:  

Offline Freeza-CII

  • Administrator
  • Hero Member
  • *****
  • Posts: 2308
Color Black for Multiplayer
« Reply #22 on: November 30, 2005, 02:48:28 AM »
Brown is easy to easy to see go edit a mini map image to see.

http://www.freeza.outpostuniverse.net/images/Gray_eden.JPG

Gray is the easiest to see :) and i made it a 8th player color editing the color.bmp and using a modded dll

i have done the same with brown but for some reason it showed up as black or white on the minimap.  Gray also showed up as black or white on the minimap but worked great with white so not much mattered

http://www.freeza.outpostuniverse.net/ima...mouth_brown.JPG

Offline HaXtOr

  • Sr. Member
  • ****
  • Posts: 423
    • http://www.wtfmoogle.com
Color Black for Multiplayer
« Reply #23 on: November 30, 2005, 06:33:00 AM »
Quote
Brown is easy to easy to see go edit a mini map image to see.



i have done the same with brown but for some reason it showed up as black or white on the minimap.
then you didnt fully hack the color in now did you?
 you have to modify one of the pre existing colors.
I chose megenta

Offline Freeza-CII

  • Administrator
  • Hero Member
  • *****
  • Posts: 2308
Color Black for Multiplayer
« Reply #24 on: November 30, 2005, 11:47:14 AM »
No I didnt mod a exsiting color there is space after the black color for atleast 4 more colors.  AS I SAID A 8th player color.  The DLL has a set player color 7 (8th color in the color.bmp) in it. And presto a 8th player color.  But for some reason it doesnt work the same in the mini map.  All i did was run in debug mode with my dll to see the color so i wouldnt have to try to add any thing to the drop down menu lol.