

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.zeroy.com/index.php?action=history&amp;feed=atom&amp;title=Call_of_Duty_4%3A_Using_GSCs_scripts</id>
	<title>Call of Duty 4: Using GSCs scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zeroy.com/index.php?action=history&amp;feed=atom&amp;title=Call_of_Duty_4%3A_Using_GSCs_scripts"/>
	<link rel="alternate" type="text/html" href="https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Using_GSCs_scripts&amp;action=history"/>
	<updated>2026-04-30T06:58:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Using_GSCs_scripts&amp;diff=742&amp;oldid=prev</id>
		<title>Daevius: COD MW : Using GSCs scripts moved to Call of Duty 4: Using GSCs scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Using_GSCs_scripts&amp;diff=742&amp;oldid=prev"/>
		<updated>2008-10-15T22:55:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=COD_MW_:_Using_GSCs_scripts&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;COD MW : Using GSCs scripts (page does not exist)&quot;&gt;COD MW : Using GSCs scripts&lt;/a&gt; moved to &lt;a href=&quot;/index.php?title=Call_of_Duty_4:_Using_GSCs_scripts&quot; title=&quot;Call of Duty 4: Using GSCs scripts&quot;&gt;Call of Duty 4: Using GSCs scripts&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:55, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Daevius</name></author>
	</entry>
	<entry>
		<id>https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Using_GSCs_scripts&amp;diff=736&amp;oldid=prev</id>
		<title>Daevius at 22:54, 15 October 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Using_GSCs_scripts&amp;diff=736&amp;oldid=prev"/>
		<updated>2008-10-15T22:54:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:54, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Call of Duty 4]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;=== Add FXs to your custom maps #1 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;=== Add FXs to your custom maps #1 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Daevius</name></author>
	</entry>
	<entry>
		<id>https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Using_GSCs_scripts&amp;diff=163&amp;oldid=prev</id>
		<title>Zeroy: New page: === Add FXs to your custom maps #1 ===  &lt;i&gt;In this example a large fire FX with metal fire sound is used&lt;/i&gt;  1. Create a folder &lt;i&gt;createfx&lt;/i&gt; under /raw/maps/  2. In that folder create ...</title>
		<link rel="alternate" type="text/html" href="https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Using_GSCs_scripts&amp;diff=163&amp;oldid=prev"/>
		<updated>2008-10-14T17:02:59Z</updated>

		<summary type="html">&lt;p&gt;New page: === Add FXs to your custom maps #1 ===  &amp;lt;i&amp;gt;In this example a large fire FX with metal fire sound is used&amp;lt;/i&amp;gt;  1. Create a folder &amp;lt;i&amp;gt;createfx&amp;lt;/i&amp;gt; under /raw/maps/  2. In that folder create ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Add FXs to your custom maps #1 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;In this example a large fire FX with metal fire sound is used&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create a folder &amp;lt;i&amp;gt;createfx&amp;lt;/i&amp;gt; under /raw/maps/&lt;br /&gt;
&lt;br /&gt;
2. In that folder create a new file called mp_mapname_fx.gsc, in it put the following / &amp;lt;b&amp;gt;mapname being your map name&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//_createfx generated. Do not touch!!&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
ent = maps\mp\_utility::createOneshotEffect( &amp;quot;firelp_vhc_lrg_pm_farview&amp;quot; );&lt;br /&gt;
ent.v[ &amp;quot;origin&amp;quot; ] = ( X, Y, Z );&lt;br /&gt;
ent.v[ &amp;quot;angles&amp;quot; ] = ( 270, 0, 0 );&lt;br /&gt;
ent.v[ &amp;quot;fxid&amp;quot; ] = &amp;quot;firelp_vhc_lrg_pm_farview&amp;quot;;&lt;br /&gt;
ent.v[ &amp;quot;delay&amp;quot; ] = -15;&lt;br /&gt;
ent.v[ &amp;quot;soundalias&amp;quot; ] = &amp;quot;fire_metal_large&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;X, Y, Z are the coordinate where you wish to place your FX.&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. under raw/maps/mp/ create another file called mp_mapname_fx.gsc / &amp;lt;b&amp;gt;mapname being your map name&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. put the following in it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
	level._effect[ &amp;quot;firelp_vhc_lrg_pm_farview&amp;quot; ]	= loadfx( &amp;quot;fire/firelp_vhc_lrg_pm_farview&amp;quot; );&lt;br /&gt;
	&lt;br /&gt;
/#&lt;br /&gt;
	if ( getdvar( &amp;quot;clientSideEffects&amp;quot; ) != &amp;quot;1&amp;quot; )&lt;br /&gt;
		maps\createfx\mp_mapname_fx::main();&lt;br /&gt;
#/		&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. In your raw/maps/mp/mp_mapname.gsc put the following after &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;maps\mp\_load::main();&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
maps\mp\mp_mapname_fx::main();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Last step, in your zone_source/mp_mapname.csv add this line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fx,fire/firelp_vhc_lrg_pm_farview&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will work for any FX you see under raw/fx folder. For soundaliases its a little bit different, I found creating your own soundaliases file is best. In this example thought the soundalias &amp;lt;i&amp;gt;fire_metal_large&amp;lt;/i&amp;gt; is from stock and load automatically on any MP map.&lt;/div&gt;</summary>
		<author><name>Zeroy</name></author>
	</entry>
</feed>