https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_MP_Game_Script_Files&feed=atom&action=history Call of Duty 4: MP Game Script Files - Revision history 2024-03-29T10:47:03Z Revision history for this page on the wiki MediaWiki 1.41.0 https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_MP_Game_Script_Files&diff=15511&oldid=prev Zeroy at 10:30, 25 January 2011 2011-01-25T10:30:11Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 13:30, 25 January 2011</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l17">Line 17:</td> <td colspan="2" class="diff-lineno">Line 17:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;maps\mp\mp_backlot_fx::main();'''&lt;/font&gt; - This is a reference to the special FX file for the map.  Only needed if the map_fx.gsc file exists. &lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;maps\mp\mp_backlot_fx::main();'''&lt;/font&gt; - This is a reference to the special FX file for the map.  Only needed if the map_fx.gsc file exists. &lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;maps\createart\mp_backlot_art::main();'''&lt;/font&gt; - This is a reference to the Art file for the map.  The map_art.gsc files don't exist in the community tools, so in a user-made map this line wouldn't exist.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;maps\createart\mp_backlot_art::main();'''&lt;/font&gt; - This is a reference to the Art file for the map.  The map_art.gsc files don't exist in the community tools, so in a user-made map this line wouldn't exist.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;maps\mp\_load::main();'''&lt;/font&gt; - Required for map to run. &lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;maps\mp\_load::main();'''&lt;/font&gt; - Required for map to run. &lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;maps\mp\_compass::setupMiniMap("compass_map_mp_backlot");'''&lt;/font&gt; - This line is needed for the minimap image to display correctly.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;maps\mp\_compass::setupMiniMap("compass_map_mp_backlot");'''&lt;/font&gt; - This line is needed for the minimap image to display correctly.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;//setExpFog(500, 2200, 0.81, 0.75, 0.63, 0);'''&lt;/font&gt; - This line creates exponential fog for the map (start distance, end distance, red, green, blue, transition time).  It is commented out because it was later redefined in the map_art.gsc file.  It should be uncommented in a user-made map.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;//setExpFog(500, 2200, 0.81, 0.75, 0.63, 0);'''&lt;/font&gt; - This line creates exponential fog for the map (start distance, end distance, red, green, blue, transition time).  It is commented out because it was later redefined in the map_art.gsc file.  It should be uncommented in a user-made map.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;//VisionSetNaked( "mp_backlot" );'''&lt;/font&gt; - This line references the map's .vision file for post-processed color correction.  It is commented out because it was later redefined in the map_art.gsc file.  It should be uncommented in a user-made map with a .vision file.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;//VisionSetNaked( "mp_backlot" );'''&lt;/font&gt; - This line references the map's .vision file for post-processed color correction.  It is commented out because it was later redefined in the map_art.gsc file.  It should be uncommented in a user-made map with a .vision file.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;ambientPlay("ambient_backlot_ext");'''&lt;/font&gt; - Plays the ambient sound track created for this map.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;ambientPlay("ambient_backlot_ext");'''&lt;/font&gt; - Plays the ambient sound track created for this map.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;game["allies"] = "marines";'''&lt;/font&gt; - Sets the "friendly" team to Marines.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;game["allies"] = "marines";'''&lt;/font&gt; - Sets the "friendly" team to Marines.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;game["axis"] = "opfor";'''&lt;/font&gt; - Sets the "enemy" team to the OpFor desert enemies.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;game["axis"] = "opfor";'''&lt;/font&gt; - Sets the "enemy" team to the OpFor desert enemies.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;game["attackers"] = "axis";'''&lt;/font&gt; - Sets the attacking team in Search and Destroy to the "enemy" team.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;game["attackers"] = "axis";'''&lt;/font&gt; - Sets the attacking team in Search and Destroy to the "enemy" team.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;game["defenders"] = "allies";'''&lt;/font&gt; - Sets the defending team in Search and Destroy to the "friendly" team.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;game["defenders"] = "allies";'''&lt;/font&gt; - Sets the defending team in Search and Destroy to the "friendly" team.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;game["allies_soldiertype"] = "desert";'''&lt;/font&gt; - The Marines in this map will be using desert gear.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;game["allies_soldiertype"] = "desert";'''&lt;/font&gt; - The Marines in this map will be using desert gear.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;game["axis_soldiertype"] = "desert";'''&lt;/font&gt; - The OpFor in this map will also be using desert gear.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;game["axis_soldiertype"] = "desert";'''&lt;/font&gt; - The OpFor in this map will also be using desert gear.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;setdvar( "r_specularcolorscale", "1" );'''&lt;/font&gt;&lt;/font&gt; - This value is defined in some maps to make surfaces more reflective.  (To simulate wet surfaces in maps like Downpour, for instance).  It has to be zeroed out to 1 in all other maps so it won't stay at the reflective value on a map switch.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;setdvar( "r_specularcolorscale", "1" );'''&lt;/font&gt;&lt;/font&gt; - This value is defined in some maps to make surfaces more reflective.  (To simulate wet surfaces in maps like Downpour, for instance).  It has to be zeroed out to 1 in all other maps so it won't stay at the reflective value on a map switch.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;setdvar("r_glowbloomintensity0",".25");'''&lt;/font&gt; - These three values are values used to tweak the bloom effect, when bloom is enabled.  Not necissarily needed for user-made map.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;setdvar("r_glowbloomintensity0",".25");'''&lt;/font&gt; - These three values are values used to tweak the bloom effect, when bloom is enabled.  Not necissarily needed for user-made map.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;setdvar("r_glowbloomintensity1",".25");'''&lt;/font&gt;&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;setdvar("r_glowbloomintensity1",".25");'''&lt;/font&gt;&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;setdvar("r_glowskybleedintensity0",".3");'''&lt;/font&gt;&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;setdvar("r_glowskybleedintensity0",".3");'''&lt;/font&gt;&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<del style="font-weight: bold; text-decoration: none;">yellow</del>"&gt;setdvar("compassmaxrange","1800");'''&lt;/font&gt; - Sets the display distance of the minimap.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;font color="<ins style="font-weight: bold; text-decoration: none;">blue</ins>"&gt;setdvar("compassmaxrange","1800");'''&lt;/font&gt; - Sets the display distance of the minimap.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Creating the level_fx.gsc file==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Creating the level_fx.gsc file==</div></td></tr> </table> Zeroy https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_MP_Game_Script_Files&diff=4219&oldid=prev Zeroy at 11:34, 27 January 2009 2009-01-27T11:34:46Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:34, 27 January 2009</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Call of Duty 4]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Call of Duty 4]]</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:<del style="font-weight: bold; text-decoration: none;">ModTools</del>]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:<ins style="font-weight: bold; text-decoration: none;">Modtools</ins>]]</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Scripting]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Scripting]]</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Mapping]]&lt;br&gt;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Mapping]]&lt;br&gt;</div></td></tr> </table> Zeroy https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_MP_Game_Script_Files&diff=3852&oldid=prev Zeroy at 17:52, 15 December 2008 2008-12-15T17:52:02Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:52, 15 December 2008</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Call of Duty 4]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Call of Duty 4]]</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[[Category:Call of Duty 5]]</del></div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:ModTools]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:ModTools]]</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Scripting]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Scripting]]</div></td></tr> </table> Zeroy https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_MP_Game_Script_Files&diff=2390&oldid=prev Zeroy: /* Creating the level_fx.gsc file */ 2008-11-05T09:55:39Z <p><span dir="auto"><span class="autocomment">Creating the level_fx.gsc file</span></span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:55, 5 November 2008</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l72">Line 72:</td> <td colspan="2" class="diff-lineno">Line 72:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Defining a looping sound at certain point in the map:'''</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Defining a looping sound at certain point in the map:'''</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ent = maps\mp\_createfx::createLoopSound();<del style="font-weight: bold; text-decoration: none;">&lt;br&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ent = maps\mp\_createfx::createLoopSound();</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "origin" ] = ( -619.675, -2705.93, 331.715 );<del style="font-weight: bold; text-decoration: none;">&lt;br&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "origin" ] = ( -619.675, -2705.93, 331.715 );</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "angles" ] = ( 270, 0, 0 );<del style="font-weight: bold; text-decoration: none;">&lt;br&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "angles" ] = ( 270, 0, 0 );</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ &quot;soundalias&quot; ] = &quot;emt_tree_palm_rustle&quot;;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ &quot;soundalias&quot; ] = &quot;emt_tree_palm_rustle&quot;;</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l80">Line 80:</td> <td colspan="2" class="diff-lineno">Line 80:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Defining a one-shot effect:'''</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Defining a one-shot effect:'''</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ent = maps\mp\_utility::createOneshotEffect( "firelp_small_pm" );<del style="font-weight: bold; text-decoration: none;">&lt;br&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ent = maps\mp\_utility::createOneshotEffect( "firelp_small_pm" );</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "origin" ] = ( -187.003, -703.577, 67.8959 );<del style="font-weight: bold; text-decoration: none;">&lt;br&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "origin" ] = ( -187.003, -703.577, 67.8959 );</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "angles" ] = ( 270, 30.6197, 101.38 );<del style="font-weight: bold; text-decoration: none;">&lt;br&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "angles" ] = ( 270, 30.6197, 101.38 );</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "fxid" ] = "firelp_small_pm";<del style="font-weight: bold; text-decoration: none;">&lt;br&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "fxid" ] = "firelp_small_pm";</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "delay" ] = -15;<del style="font-weight: bold; text-decoration: none;">&lt;br&gt;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ "delay" ] = -15;</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ &quot;soundalias&quot; ] = &quot;fire_metal_small&quot;;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>  ent.v[ &quot;soundalias&quot; ] = &quot;fire_metal_small&quot;;</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A one-shot effect places a certain effect at the specified location in a map.  The effect file itself is generally set to looping, so a placed one-shot effect will generally loop.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A one-shot effect places a certain effect at the specified location in a map.  The effect file itself is generally set to looping, so a placed one-shot effect will generally loop.</div></td></tr> </table> Zeroy https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_MP_Game_Script_Files&diff=2387&oldid=prev Zeroy at 09:54, 5 November 2008 2008-11-05T09:54:22Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:54, 5 November 2008</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l3">Line 3:</td> <td colspan="2" class="diff-lineno">Line 3:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:ModTools]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:ModTools]]</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Scripting]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Scripting]]</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Mapping]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Mapping]]<ins style="font-weight: bold; text-decoration: none;">&lt;br&gt;</ins></div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">== MP Game Script Files (</del>.<del style="font-weight: bold; text-decoration: none;">gsc) ==</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Image:Nutshell</ins>.<ins style="font-weight: bold; text-decoration: none;">png]] </ins>The purpose of this section is to outline what is needed to create the .gsc files used in a multiplayer map.<ins style="font-weight: bold; text-decoration: none;">&lt;br&gt;</ins></div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>==Creating the level.gsc file==</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The purpose of this section is to outline what is needed to create the .gsc files used in a multiplayer map.</div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">=</del>==Creating the level.gsc file<del style="font-weight: bold; text-decoration: none;">=</del>==</div></td><td colspan="2" class="diff-side-added"></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The first step is to create a game script file with your level's name in the filename.  It goes in the following game directory:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The first step is to create a game script file with your level's name in the filename.  It goes in the following game directory:</div></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l23">Line 23:</td> <td colspan="2" class="diff-lineno">Line 18:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''maps\mp\mp_backlot_fx::main();''' - This is a reference to the special FX file for the map.  Only needed if the map_fx.gsc file exists. &lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>maps\mp\mp_backlot_fx::main();'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- This is a reference to the special FX file for the map.  Only needed if the map_fx.gsc file exists. &lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''maps\createart\mp_backlot_art::main();''' - This is a reference to the Art file for the map.  The map_art.gsc files don't exist in the community tools, so in a user-made map this line wouldn't exist.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>maps\createart\mp_backlot_art::main();'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- This is a reference to the Art file for the map.  The map_art.gsc files don't exist in the community tools, so in a user-made map this line wouldn't exist.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''maps\mp\_load::main();''' - Required for map to run. &lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>maps\mp\_load::main();'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- Required for map to run. &lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''maps\mp\_compass::setupMiniMap("compass_map_mp_backlot");''' - This line is needed for the minimap image to display correctly.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>maps\mp\_compass::setupMiniMap("compass_map_mp_backlot");'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- This line is needed for the minimap image to display correctly.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''//setExpFog(500, 2200, 0.81, 0.75, 0.63, 0);''' - This line creates exponential fog for the map (start distance, end distance, red, green, blue, transition time).  It is commented out because it was later redefined in the map_art.gsc file.  It should be uncommented in a user-made map.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>//setExpFog(500, 2200, 0.81, 0.75, 0.63, 0);'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- This line creates exponential fog for the map (start distance, end distance, red, green, blue, transition time).  It is commented out because it was later redefined in the map_art.gsc file.  It should be uncommented in a user-made map.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''//VisionSetNaked( "mp_backlot" );''' - This line references the map's .vision file for post-processed color correction.  It is commented out because it was later redefined in the map_art.gsc file.  It should be uncommented in a user-made map with a .vision file.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>//VisionSetNaked( "mp_backlot" );'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- This line references the map's .vision file for post-processed color correction.  It is commented out because it was later redefined in the map_art.gsc file.  It should be uncommented in a user-made map with a .vision file.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''ambientPlay("ambient_backlot_ext");''' - Plays the ambient sound track created for this map.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>ambientPlay("ambient_backlot_ext");'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- Plays the ambient sound track created for this map.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''game["allies"] = "marines";''' - Sets the "friendly" team to Marines.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>game["allies"] = "marines";'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- Sets the "friendly" team to Marines.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''game["axis"] = "opfor";''' - Sets the "enemy" team to the OpFor desert enemies.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>game["axis"] = "opfor";'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- Sets the "enemy" team to the OpFor desert enemies.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''game["attackers"] = "axis";''' - Sets the attacking team in Search and Destroy to the "enemy" team.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>game["attackers"] = "axis";'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- Sets the attacking team in Search and Destroy to the "enemy" team.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''game["defenders"] = "allies";''' - Sets the defending team in Search and Destroy to the "friendly" team.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>game["defenders"] = "allies";'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- Sets the defending team in Search and Destroy to the "friendly" team.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''game["allies_soldiertype"] = "desert";''' - The Marines in this map will be using desert gear.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>game["allies_soldiertype"] = "desert";'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- The Marines in this map will be using desert gear.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''game["axis_soldiertype"] = "desert";''' - The OpFor in this map will also be using desert gear.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>game["axis_soldiertype"] = "desert";'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- The OpFor in this map will also be using desert gear.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''setdvar( "r_specularcolorscale", "1" );''' - This value is defined in some maps to make surfaces more reflective.  (To simulate wet surfaces in maps like Downpour, for instance).  It has to be zeroed out to 1 in all other maps so it won't stay at the reflective value on a map switch.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>setdvar( "r_specularcolorscale", "1" );'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt;&lt;/font&gt; </ins>- This value is defined in some maps to make surfaces more reflective.  (To simulate wet surfaces in maps like Downpour, for instance).  It has to be zeroed out to 1 in all other maps so it won't stay at the reflective value on a map switch.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''setdvar("r_glowbloomintensity0",".25");''' - These three values are values used to tweak the bloom effect, when bloom is enabled.  Not necissarily needed for user-made map.&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>setdvar("r_glowbloomintensity0",".25");'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- These three values are values used to tweak the bloom effect, when bloom is enabled.  Not necissarily needed for user-made map.&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''setdvar("r_glowbloomintensity1",".25");'''&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>setdvar("r_glowbloomintensity1",".25");'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt;</ins>&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''setdvar("r_glowskybleedintensity0",".3");'''&lt;br&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>setdvar("r_glowskybleedintensity0",".3");'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt;</ins>&lt;br&gt;</div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''setdvar("compassmaxrange","1800");''' - Sets the display distance of the minimap.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''<ins style="font-weight: bold; text-decoration: none;">&lt;font color="yellow"&gt;</ins>setdvar("compassmaxrange","1800");'''<ins style="font-weight: bold; text-decoration: none;">&lt;/font&gt; </ins>- Sets the display distance of the minimap.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">=</del>==Creating the level_fx.gsc file<del style="font-weight: bold; text-decoration: none;">=</del>==</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>==Creating the level_fx.gsc file==</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The level_fx.gsc file is optional, but can be used to add special effects to your level.  It goes in the following game directory:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The level_fx.gsc file is optional, but can be used to add special effects to your level.  It goes in the following game directory:</div></td></tr> </table> Zeroy https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_MP_Game_Script_Files&diff=2386&oldid=prev Zeroy: New page: Category:Call of Duty 4 Category:Call of Duty 5 Category:ModTools Category:Scripting Category:Mapping == MP Game Script Files (.gsc) == The purpose of this section is ... 2008-11-05T09:52:13Z <p>New page: <a href="/index.php?title=Category:Call_of_Duty_4" title="Category:Call of Duty 4">Category:Call of Duty 4</a> <a href="/index.php?title=Category:Call_of_Duty_5" title="Category:Call of Duty 5">Category:Call of Duty 5</a> <a href="/index.php?title=Category:ModTools&amp;action=edit&amp;redlink=1" class="new" title="Category:ModTools (page does not exist)">Category:ModTools</a> <a href="/index.php?title=Category:Scripting" title="Category:Scripting">Category:Scripting</a> <a href="/index.php?title=Category:Mapping" title="Category:Mapping">Category:Mapping</a> == MP Game Script Files (.gsc) == The purpose of this section is ...</p> <p><b>New page</b></p><div>[[Category:Call of Duty 4]]<br /> [[Category:Call of Duty 5]]<br /> [[Category:ModTools]]<br /> [[Category:Scripting]]<br /> [[Category:Mapping]]<br /> == MP Game Script Files (.gsc) ==<br /> <br /> The purpose of this section is to outline what is needed to create the .gsc files used in a multiplayer map.<br /> <br /> <br /> <br /> ===Creating the level.gsc file===<br /> <br /> The first step is to create a game script file with your level's name in the filename. It goes in the following game directory:<br /> <br /> ''\raw\maps\mp\mp_yourmap.gsc''<br /> <br /> <br /> Below is a screenshot of the mp_backlot.gsc file, opened in UltraEdit. It can be opened in any text editing application. Below the image is a breakdown of each of the lines in the script file.<br /> <br /> <br /> [[Image:Sm_gsc_01.jpg]]<br /> <br /> <br /> '''maps\mp\mp_backlot_fx::main();''' - This is a reference to the special FX file for the map. Only needed if the map_fx.gsc file exists. &lt;br&gt;<br /> '''maps\createart\mp_backlot_art::main();''' - This is a reference to the Art file for the map. The map_art.gsc files don't exist in the community tools, so in a user-made map this line wouldn't exist.&lt;br&gt;<br /> '''maps\mp\_load::main();''' - Required for map to run. &lt;br&gt;<br /> '''maps\mp\_compass::setupMiniMap(&quot;compass_map_mp_backlot&quot;);''' - This line is needed for the minimap image to display correctly.<br /> <br /> <br /> '''//setExpFog(500, 2200, 0.81, 0.75, 0.63, 0);''' - This line creates exponential fog for the map (start distance, end distance, red, green, blue, transition time). It is commented out because it was later redefined in the map_art.gsc file. It should be uncommented in a user-made map.&lt;br&gt;<br /> '''//VisionSetNaked( &quot;mp_backlot&quot; );''' - This line references the map's .vision file for post-processed color correction. It is commented out because it was later redefined in the map_art.gsc file. It should be uncommented in a user-made map with a .vision file.&lt;br&gt;<br /> '''ambientPlay(&quot;ambient_backlot_ext&quot;);''' - Plays the ambient sound track created for this map.<br /> <br /> <br /> '''game[&quot;allies&quot;] = &quot;marines&quot;;''' - Sets the &quot;friendly&quot; team to Marines.&lt;br&gt;<br /> '''game[&quot;axis&quot;] = &quot;opfor&quot;;''' - Sets the &quot;enemy&quot; team to the OpFor desert enemies.&lt;br&gt;<br /> '''game[&quot;attackers&quot;] = &quot;axis&quot;;''' - Sets the attacking team in Search and Destroy to the &quot;enemy&quot; team.&lt;br&gt;<br /> '''game[&quot;defenders&quot;] = &quot;allies&quot;;''' - Sets the defending team in Search and Destroy to the &quot;friendly&quot; team.&lt;br&gt;<br /> '''game[&quot;allies_soldiertype&quot;] = &quot;desert&quot;;''' - The Marines in this map will be using desert gear.&lt;br&gt;<br /> '''game[&quot;axis_soldiertype&quot;] = &quot;desert&quot;;''' - The OpFor in this map will also be using desert gear.<br /> <br /> <br /> '''setdvar( &quot;r_specularcolorscale&quot;, &quot;1&quot; );''' - This value is defined in some maps to make surfaces more reflective. (To simulate wet surfaces in maps like Downpour, for instance). It has to be zeroed out to 1 in all other maps so it won't stay at the reflective value on a map switch.<br /> <br /> <br /> '''setdvar(&quot;r_glowbloomintensity0&quot;,&quot;.25&quot;);''' - These three values are values used to tweak the bloom effect, when bloom is enabled. Not necissarily needed for user-made map.&lt;br&gt;<br /> '''setdvar(&quot;r_glowbloomintensity1&quot;,&quot;.25&quot;);'''&lt;br&gt;<br /> '''setdvar(&quot;r_glowskybleedintensity0&quot;,&quot;.3&quot;);'''&lt;br&gt;<br /> '''setdvar(&quot;compassmaxrange&quot;,&quot;1800&quot;);''' - Sets the display distance of the minimap.<br /> <br /> ===Creating the level_fx.gsc file===<br /> <br /> The level_fx.gsc file is optional, but can be used to add special effects to your level. It goes in the following game directory:<br /> <br /> \raw\maps\mp\mp_yourmap_fx.gsc<br /> <br /> <br /> Below is a screenshot of the mp_backlot_fx.gsc file, opened in UltraEdit. It can be opened in any text editing application.<br /> <br /> <br /> [[Image:Sm_gsc_02.jpg]]<br /> <br /> <br /> Each of these lines is loading a special effect into memory under a certain alias, which can then be referenced when defining an effect as described below.<br /> <br /> <br /> The maps that shipped with the game have a separate map_art.gsc file where these effects were defined. User-made maps won't have this file, so the effects should be defined within the map_fx.gsc file. <br /> <br /> <br /> Names of special FX that you can use are located in the \raw\fx directory.<br /> <br /> <br /> Below are a few examples of what these definitions would look like.<br /> <br /> <br /> '''Defining a looping sound at certain point in the map:'''<br /> <br /> ent = maps\mp\_createfx::createLoopSound();&lt;br&gt;<br /> ent.v[ &quot;origin&quot; ] = ( -619.675, -2705.93, 331.715 );&lt;br&gt;<br /> ent.v[ &quot;angles&quot; ] = ( 270, 0, 0 );&lt;br&gt;<br /> ent.v[ &quot;soundalias&quot; ] = &quot;emt_tree_palm_rustle&quot;;<br /> <br /> <br /> '''Defining a one-shot effect:'''<br /> <br /> ent = maps\mp\_utility::createOneshotEffect( &quot;firelp_small_pm&quot; );&lt;br&gt;<br /> ent.v[ &quot;origin&quot; ] = ( -187.003, -703.577, 67.8959 );&lt;br&gt;<br /> ent.v[ &quot;angles&quot; ] = ( 270, 30.6197, 101.38 );&lt;br&gt;<br /> ent.v[ &quot;fxid&quot; ] = &quot;firelp_small_pm&quot;;&lt;br&gt;<br /> ent.v[ &quot;delay&quot; ] = -15;&lt;br&gt;<br /> ent.v[ &quot;soundalias&quot; ] = &quot;fire_metal_small&quot;;<br /> <br /> A one-shot effect places a certain effect at the specified location in a map. The effect file itself is generally set to looping, so a placed one-shot effect will generally loop.</div> Zeroy