home *** CD-ROM | disk | FTP | other *** search
/ War Command Explosion / WARCOMEX.BIN / WARCOMEX / C&C / TEXT / CCMULTI.TXT < prev    next >
Encoding:
Text File  |  1996-03-10  |  6.7 KB  |  138 lines

  1. This document is to help you use Andrew Griffin's scenario editor
  2. package (available along with the unit editor from his Web site:
  3. http://www.adam.com.au/~buggy/cnc.html) to make multiplayer C&C maps. I don't i
  4. clude any info on scenarios because they don't really interest me. (You'll have
  5. to do the hex-editing stuff for that yourselves)
  6.  
  7. I've successfully used the editor for multi-player editing. I've
  8. made a simple map or two. It takes some doing, but it's doable.
  9.  
  10. In my previous post, I listed the offsets for the various multiplayer
  11. maps & scenarios. I now realize that's not useful, since they change as soon
  12. as you change a scenario. (maps don't change in size, always 8192 bytes, but
  13. scenario info DOES change, and messes up the offsets). The correct thing to
  14. do is list the 'view number' for each. I'll list it in the table below, and
  15. explain how to use it in the step-by-step instructions.
  16.  
  17.  
  18.                                               View# for           View# for
  19. Multi-Player Map        Map Size [HxW]      Scenario Info            Map
  20.  
  21. 1) Green Acres              49x58                 61                 70
  22. 2) Sand Trap                58x57                 62                 71
  23. 3) Lost Arena               61x59                 63                 72
  24. 4) River Raid               59x56                 64                 73
  25. 5) Eye of the Storm         61x57                 65                 74
  26. 6) Lakefront Clash          61x62                 66                 75
  27. 7) Desert Madness           57x62                 67                 76
  28. 8) Pitfall                  62x62                 68                 77
  29. 9) Moosehead Barrens        62x62                 69                 78
  30. 10) Winter Waterland        62x62                 103                109
  31. 11) One Pass Fits All       48x38                 104                110
  32. 12) Straight and Narrow     62x38                 105                111
  33. 13) King Takes Pawn         56x56                 106                112
  34. 14) Nowhere To Hide         62x62                 107                113
  35. 15) Marooned                62x62                 108                114
  36. 16) Tiberium Garden         62x62                 115                116
  37.  
  38.         The procedure to use is as follows (I assume that your c&c is in
  39. c:\c&c, and you've dumped Andrew's editor stuff there):
  40.  
  41.         1) You must have general.mix on your hard-drive. It is located
  42.                 in the root directory of the CD-ROM. You should copy it
  43.                 to your c&c directory as gener.mix.
  44.  
  45.         2) Fool c&c into looking for it on your HD by hex-editing
  46.                 game.dat. Look for 2 occurrences of general.mix, and
  47.                 change them to c:gener.mix. Once you've done that,
  48.                 you can start modifying. (If I can find a site to
  49.                 give this to, I'll hex-edit a game.dat for c:, d:,
  50.                 and maybe e:, and put them there for those who don't
  51.                 like to hex-edit)
  52.  
  53.         3) Pick a multi-player scenario to modify. (I'll use Tiberium
  54.                 Garden, #16 above)
  55.  
  56.         4) Find the offset for Tiberium Garden's scenario information.
  57.                 Looking in the table above, we see it has a view # of
  58.                 115. Start the view program: "view gener.mix". Use the
  59.                 left/right arrows to move to #115 (out of 118). The
  60.                 offset is listed as "Actual location in file:". Copy
  61.                 the number down. (for an unmodified gener.mix, this
  62.                 will be 0x27040b. I'll use that for this example)
  63.  
  64.         5) Export the scenario info using: "extract gener.mix multi16.txt"
  65.                 It'll ask for an offset, give it 0x27040b.
  66.  
  67.         6) Find the offset for Tiberium Garden's map. Looking in the
  68.                 table above, we see it has a view # of 116. Start the
  69.                 view program: "view gener.mix". Use the left/right
  70.                 arrows to move to #115 (out of 118). The offset is
  71.                 listed as "Actual location in file:". Copy the number
  72.                 down. (for an unmodified gener.mix, this will be
  73.                 0x272088. I'll use that for this example)
  74.  
  75.         7) Export the map using: "extract gener.mix multi16.map"
  76.                 It'll ask for an offset, give it 0x272088.
  77.  
  78.         8) Edit multi16.txt, and delete all entries in the [OVERLAY] and
  79.                 [TERRAIN] sections.
  80.  
  81.         9) Start the scenario editor: "cc-scen foo.dat"
  82.                 This will create a blank scenario file.
  83.  
  84.         10) Put the multiplayer map into the scenario file:
  85.                 "usemap foo.dat multi16.map"
  86.  
  87.         11) Start the scenario editor: "cc-scen foo.dat"
  88.  
  89.         12) Edit the map & overlay & terrain to your liking.
  90.  
  91.         13) Extract the new info & map from the scenario file:
  92.                 "convert foo.dat multi16a.txt multi16a.map"
  93.  
  94.         14) Edit multi16a.txt, and take all the entries in the [OVERLAY]
  95.                 and [TERRAIN] sections, and put them in the correct
  96.                 section in multi16.txt.
  97.  
  98.         15) Take the entire [SMUDGE] section from multi16a.txt, and put
  99.                 it in multi16.txt. (Order doesn't matter, I think.. just
  100.                 put it after [TERRAIN]) If you've added units, you'll
  101.                 need to do the same for [UNITS], [INFANTRY], [TEAMS],
  102.                 and a buncha others. I am just in it for the maps, so
  103.                 you're on your own there.
  104.  
  105.         14) Put the new scenario info into gener.mix:
  106.                 "shuffle gener.mix multi16a.txt"
  107.                 It'll ask for an offset, give it the same one you
  108.                 used for the scenario information in step #5.
  109.  
  110.         15) Put the new map into gener.mix:
  111.                 "shuffle gener.mix multi16a.map"
  112.                 It'll ask for an offset, give it the same one you
  113.                 used for the map in step #7.
  114.  
  115.         16) Copy your gener.mix into your c:\c&c directory, and
  116.             give your game.dat and gener.mix to all your buddies,
  117.             and have them put them in THEIR c:\c&c directories.
  118.  
  119.         17) Play...
  120.  
  121. This posting should maybe be added to the C&C FAQ, if the keeper
  122. would deign to do so.
  123.  
  124. I plan on doing maps replacing all the original multiplayer maps
  125. when/if I get time. When I do, I'll make the game.dat/gener.mix available in
  126. some manner. (If a maintainer of a C&C web-site or FTP-site wants these,
  127. send me some mail) I WON'T send them out one at a time by e-mail, so just
  128. don't even think of asking.
  129.  
  130. Tom
  131.  
  132. P.S. For the adventurous who read all Andrew's text files and want to
  133.      fiddle with the scenario information sections, a quick hint:
  134.      DON'T change the map size. C&C has crashed enthusiastically
  135.      whenever I've dared try this. :-)
  136.  
  137.  
  138.