home *** CD-ROM | disk | FTP | other *** search
/ War Command Explosion / WARCOMEX.BIN / WARCOMEX / C&C / TEXT / MAPMAKER / MAPMAKER.TXT next >
Encoding:
Text File  |  1996-02-26  |  8.1 KB  |  153 lines

  1. Here's some information I learned about making multiplayer maps
  2. and programming that I have learned from a variety of sources ... Andrew, the
  3. Author of CCMAP, Mixman, the CCManual ... (mucho thanks) ...
  4. and MANY hours in front of my two computers at home ...
  5. doing 'trial and error', trial and error' .....until my brains started
  6. leaking out my ears ........ 
  7.  
  8. [please take this info with a grain of salt ....]
  9.  
  10.  
  11. 1)You need to know the map numbering system.
  12.  
  13. a) map size is specified in the .ini file for the map.
  14. (the actual c&c map will be 2 squares larger
  15. than your specification .... ie, if you have a
  16. 62 x 62 map ... the actual map will be 64 x 64...
  17. This means you always have a one square
  18. deadzone around each map .... that you cannot
  19. use.
  20.  
  21. b) The top left square on the map (use CCMAP)
  22. that you can use .. is square #65 ... which then
  23. counts across to the right to square 126.
  24. (for 62 x 62 maps), then goes down to the
  25. 2nd row, far left, and continues accross to the right
  26. again ... square # 127 ... this process continues
  27. on down each row ... the last row being numbered
  28. squares 3936 through square 4030 in the extreme lower right.
  29.  
  30. 2) Waypoints: ... simply stated, waypoints are MAP positions,
  31. with the numbers corresponding to the info given in 1) above.
  32. Waypoints are specified in the .ini file. Waypoints are utilized
  33. to determine the starting positions of the players when the game
  34. is first started. Waypoints 0 thru 25 are used for this purpose.
  35. If you have a -1 as a waypoint number, then this waypoint is
  36. ignored! For multiplayer games .... use CCMAP to determine where
  37. you want the players to start off at on the map, make a note of these
  38. positions, then edit the .ini file and input these numbers starting at
  39. waypoint 0, ..., 1..., 2,... etc. NOTE: the computer will select one of these
  40. waypoints 'at random' for the starting position of each player. You cannot
  41. PRE-DETERMINE where a particular player will start! 
  42. DO NOT use waypoints 0 thru 25 for any other purpose except starting
  43. positions. Waypoint 26 and 27 can be used for 'your own programming'.
  44. I read somewhere that you could use waypoints 28 - 31 ... NOT TRUE in
  45. multiplayer games.
  46.  
  47. 3)Players: The .ini file determines the player. Usually I keep this as Multi1.
  48. then the other players will be either Multi2, 3, etc... (but not in ORDER..
  49. again,its, random) For AI programming, I either let the computer be ..
  50. Badguy .. or Goodguy. There's a place in the .ini file to determine who are
  51. the allies of each other! THIS DOESNT APPLY in multiplayer games.
  52. Everyone is an enemy of everyone else ... including Neutral!
  53.  
  54. 4) DEFAULT 'Hunt and Attack' MODE: If you place a Badguy 'unit' on the map
  55. with no preprogrammed instructions - it will go into the Hunt and Attack mode.
  56. (as far as I know - you cannot preprogram units) Please note that this unit ..
  57. ie ... a tank, grenadier, etc.... will NOT attack the closest enemy to his postion,
  58. but will attack according to this: "he will start scanning map positions from 
  59. position #65 (from upper left of screen) on down to map position #4030 
  60. (lower right) ..... he will attack the first enemy unit he sees in this sequence!"
  61. What this means - you cannot place Enemy Troops or units on a Multiplayer
  62. Map ... because they will always attack the upper left enemy first! ... lower right
  63. last!
  64.  
  65. 5)TRIGGERS: The only trigger that I have been able to get to work properly
  66. are the ..... attacked, Reinforce or destroyed, Reinforce triggers.
  67. Once, I got the player-enters trigger to work ..... but ONLY once... never
  68. could recreate after that. Nor could I get the Create Team trigger to work.
  69.  
  70. 6)TEAMTYPES: The only effective teamtype I have been able to sucessfully
  71. program is the one where you have a Transport (TRAN) deliver troops and units
  72. to a certain Waypoint (only #26 and #27 are available for this) ... then unload,
  73. then move to another waypoint ... (0,1,2,3) and attack! This method seems to work!
  74. The BIG GLITCH here ... (it took Hours and hours to find this out) .... in Multiplayer
  75. mode, the computer will execute a MOVE: command ONLY if the specified map position
  76. is FREE (ie... nobody else is occupying that space) -- OTHERWISE, it goes into the 
  77. default Hunt and Attack mode as listed above! ....
  78.  
  79. 7) BOAT: you can also have a bost in a multiplayer scenerio, just remember you need a
  80. body of water going straight accross the map from left to right in order for everythin to work
  81. properly .... 
  82.  
  83. 8) You can use the LST as well to deliver troops, etc. instead of the TRAN .... here though, you need
  84. a body of water from South northward to the waypoint in order for this to work!
  85.  
  86. 9) Choppers can be used effectively in Multiplayer scenerios. Then seem to have a certain number of
  87. map positions radiating outward from their position that they will attack if an enemy enters! I believe that 
  88. the map radius for this is about 20 squares!
  89.  
  90. 10) Gun Turrents, SAMs, Towers .... can all be used in multiplayer scenerios. 
  91.  
  92. 11) Airstrikes and Nukes can't be used, as they also follow the Hunt and Attack rule above!
  93.  
  94. 12) Advanced Guard Towers: I put these in one scenerio i was playtesting .... and after about twenty 
  95. minutes of play, (when the ADV Towers ... where IN ACTION) the game would STOP and give an 
  96. OUT-OF-SYNC error.... for some reason ... this is too much action for ALL the computers in the game
  97. to stay IN-SYNC on.... so from my perspective, I leave them out! (please note that I haven't spent the 
  98. time to actually VERIFY this cause of the Out-of-Sync errors ... just my best guess)
  99.  
  100. 13) Here's an example of what works in Multiplayer Scenerios! 
  101.  
  102.  
  103. [TeamTypes]
  104. aa01=Badguy,0,0,0,0,0,7,0,0,0,3,E3:4,MTNK:1,TRAN:1,5,Move:27,Unload:27,Guard:5,Move:0,Area Guard:50,0,0
  105.  
  106. [Triggers]
  107. aa01=Attacked,Reinforce.,0,Multi1,aa01,0
  108.  
  109. [STRUCTURES]
  110. 0=BadGuy,GUN,256,2520,0,aa01
  111.  
  112. Here, if the structure at position 2520 is attacked, the Badguys will send a Transport to waypoint 27,
  113. Unload 4 Bazooka troops and 1 medium tank... and proceed to waypoint 0 .... and attack!
  114.  
  115. 14) The infamous ".ini file"! The .ini description file that accompanies the *.map file (later to be renamed *.bin .. see 15 below) must not be larger than 16384 bytes!!!! (just do a DOS 'dir' command to find out how big this ini file is) ... Many things about this multiplayer scenerio will STOP working and/or even be missing ... if this file goes above 16,384 bytes! Also, inside the .ini file ... are descriptive sections describing the locations and actions of the various components ... ie .. [OVERLAY], [TERRAIN], [STRUCTURE], etc .... Another constraint is that NONE of information INSIDE these descriptive sections, can be longer than 1024 lines!!! (ie, you can't have an [OVERLAY] section longer than 1024 lines ... even though the total .ini file is less than 16,384 bytes long)
  116.  
  117. 15) I've enclosed some STARTER maps for you to use for multiplayer programming.
  118. The maps are as follows:
  119.       starttem.map & starttem.ini = temperate scenerio
  120.       startwin.map & startwin.ini = winter scenerio
  121.       startdes.map & startdes.ini = desert scenerio
  122.  
  123. Here's the sequence ... suppose you want to make a new desert scenerio ....
  124.  
  125.         a) Copy the startdes.* files to one of C&Cs multiplayer files ... 
  126.                 COPY startdes.* scm20ea.*
  127.         b) Edit your scenerio using ccmap or one of the others ...
  128.                 CCMAP scm20ea
  129.         c) Edit the .ini file
  130.                 1) put in your name for the scenerio
  131.                 2) be sure to make the entries for the waypoints
  132.                 3) add any triggers, teamtypes, etc...
  133.                 4) check to make sure that NO section is longer than 1024 lines (by hand counting!)
  134.                 5) save the file, then make sure that the file is no longer than 16,384 bytes long!
  135.         d) once finished - rename the scm20ea.map file to scm20ea.bin
  136.                 REN scm20ea.map scm20ea.bin     
  137.         e) copy both files to the C&C subdirectory
  138.                 COPY scm20ea.* c:\c&c
  139.         f) GIVE copies of these files to a friend ... and have him also put these in HIS c&c directory!
  140.         g) RUN the game .... and check it out!!!!!!
  141.  
  142.  
  143.  
  144. I hope this helps, guys ...... Good Luck!
  145.  
  146.  
  147.  
  148. LEGION
  149.  
  150. al@starlink.com 
  151.  
  152.  
  153.