<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Disco_Marines</id>
		<title>Disco Marines - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Disco_Marines"/>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Disco_Marines&amp;action=history"/>
		<updated>2026-05-25T05:35:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Disco_Marines&amp;diff=264&amp;oldid=prev</id>
		<title>DevliN: 1 revision imported: Restoring SC1 backup</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Disco_Marines&amp;diff=264&amp;oldid=prev"/>
				<updated>2015-03-21T04:37:53Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported: Restoring SC1 backup&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:37, 21 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&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>DevliN</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Disco_Marines&amp;diff=263&amp;oldid=prev</id>
		<title>DevliN: Created page with 'Tutorial by: Lord_Agamemnon  ==Requirements== *DatEdit *IceCC  ==Tutorial== This tutorial will teach you some more advanced iscripting techniques that modders use and som…'</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Disco_Marines&amp;diff=263&amp;oldid=prev"/>
				<updated>2012-11-24T19:44:23Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;Tutorial by: Lord_Agamemnon  ==Requirements== *&lt;a href=&quot;/wiki/index.php?title=DatEdit&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;DatEdit (page does not exist)&quot;&gt;DatEdit&lt;/a&gt; *&lt;a href=&quot;/wiki/index.php?title=IceCC&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;IceCC (page does not exist)&quot;&gt;IceCC&lt;/a&gt;  ==Tutorial== This tutorial will teach you some more advanced iscripting techniques that modders use and som…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Tutorial by: Lord_Agamemnon&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
*[[DatEdit]]&lt;br /&gt;
*[[IceCC]]&lt;br /&gt;
&lt;br /&gt;
==Tutorial==&lt;br /&gt;
This tutorial will teach you some more advanced iscripting techniques that modders use and some codes that will be very useful for neat effects.&lt;br /&gt;
&lt;br /&gt;
First, let's do the DatEdit part.&lt;br /&gt;
&lt;br /&gt;
===THE DATEDIT PART===&lt;br /&gt;
#Go into weapons.dat. Find Gauss Rifle1(Unused), ID 117.&lt;br /&gt;
#Change its behavior to &amp;quot;Attack &amp;amp; Self-destruct&amp;quot;.&lt;br /&gt;
#Change its graphic to &amp;quot;White Circle (Invisible)&amp;quot;.&lt;br /&gt;
#Change its explosion to &amp;quot;Splash (Radial)&amp;quot; and make the splash radii 20/40/80.&lt;br /&gt;
#Make it deal a large amount of damage, say, 100.&lt;br /&gt;
#Save weapons.dat in your mod folder.&lt;br /&gt;
&lt;br /&gt;
What we just did: We modified an unused weapon to be a suicide attack with large splash.&lt;br /&gt;
&lt;br /&gt;
===THE ISCRIPT PART===&lt;br /&gt;
Note: I will use '''ICECC 1.3''' code for this section. It is not exactly like 1.1, which is what most people use, but it does resemble it.&lt;br /&gt;
&lt;br /&gt;
#Decompile iscript.bin and open the text file. Find the Marine's iscript.&lt;br /&gt;
#Add the following line after the line &amp;quot;MarineGndAttkInit:&amp;quot; in the code&lt;br /&gt;
 trgtrangecondjmp  32 ExplodingMarine &lt;br /&gt;
&lt;br /&gt;
What we just did: trgtrangecondjmp will made the Marine go to the code block &amp;quot;ExplodingMarine&amp;quot; if its target is within 32 pixels. 1 weapons.dat range unit = 16 pixels.&lt;br /&gt;
&lt;br /&gt;
Add the following block of code somewhere in the Marine's iscript as a separate routine:&lt;br /&gt;
 ExplodingMarine:&lt;br /&gt;
 nobrkcodestart&lt;br /&gt;
 setvertpos -16&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -24&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -28&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -30&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -31&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -30&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -28&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -24&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -16&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos 0&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -16&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -24&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -28&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -30&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -31&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -30&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -28&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -24&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos -16&lt;br /&gt;
 wait 1&lt;br /&gt;
 setvertpos 0&lt;br /&gt;
 wait 1 &lt;br /&gt;
&lt;br /&gt;
What we just did: So far, this block of code will make the Marine leap into the air twice. setvertpos moves the graphic to # units down from its original position. The nobrkcodestart means that once this starts, the Marine cannot receive orders. But this isn't that great; let's add some more.&lt;br /&gt;
&lt;br /&gt;
Add the following after that previous code:&lt;br /&gt;
 imgol 332 0 0&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 imgol 332 0 0&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1 &lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1&lt;br /&gt;
 turncwise 2&lt;br /&gt;
 wait 1 &lt;br /&gt;
&lt;br /&gt;
What we just did: Whew, that was long. The &amp;quot;imgol&amp;quot; will display an orange explosion on top of the Marine, since images.dat ID 332 is the small orange explosion. &amp;quot;turncwise&amp;quot; and its cousin I'm not using here &amp;quot;turnccwise&amp;quot; turn the graphic # units in the indicated direction (cwise = clockwise, ccwise = counterclockwise). 32 units make up a circle. So the Marine will spin twice.&lt;br /&gt;
&lt;br /&gt;
We're not done yet, though.&lt;br /&gt;
&lt;br /&gt;
After that big mother of code, add these five lines:&lt;br /&gt;
 sprol 267 0 0&lt;br /&gt;
 useweapon 117&lt;br /&gt;
 nobrkcodeend&lt;br /&gt;
 gotorepeatattk&lt;br /&gt;
 goto MarineGndAttkToIdle &lt;br /&gt;
&lt;br /&gt;
What we just did: The sprol here acts like imgol, except that sprols won't follow their parent image around (read: they're stuck in place) and they won't go away if the parent dies; 267 is the Sprites.dat ID of the nuclear explosion. useweapon command the unit to, well, use a specific weapon, in this case Gauss Rifle1(Unused) that we modified earlier. nobrkcodeend ends the section begun by nobrkcodestart, and gotorepeatattk and goto are fairly self-explanatory and simple.&lt;br /&gt;
&lt;br /&gt;
So all in all, this script will make the Marine bounce twice, spin twice with explosions, and then nuke himself.&lt;br /&gt;
&lt;br /&gt;
Once you have all that in your code block, save, compile, and put the iscript.bin into you mod folder under the \scripts path.&lt;br /&gt;
&lt;br /&gt;
[[MPQ]]ify it and run.&lt;br /&gt;
&lt;br /&gt;
Get a Marine right next to something and watch the carnage!&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
[[Category:Modding]]&lt;/div&gt;</summary>
		<author><name>DevliN</name></author>	</entry>

	</feed>