NetStorm Wiki
(New page: <div align="left">{{ed|Editor toc|or}} view this alone</div> {| width="100%" style="background: transparent;" |style="text-align: center; border: 1px solid #a0a0ff; pa...)
 
m (link correction)
 
Line 1: Line 1:
 
<div align="left">{{ed|Editor toc|or}} [[Help:Editor|view this alone]]</div>
 
<div align="left">{{ed|Editor toc|or}} [[Help:Editor|view this alone]]</div>
  +
   
 
{| width="100%" style="background: transparent;"
 
{| width="100%" style="background: transparent;"
 
|style="text-align: center; border: 1px solid #a0a0ff; padding: .5em 1em; margin: 1em; background-color: #990099;padding:0px;" colspan="2"|
 
|style="text-align: center; border: 1px solid #a0a0ff; padding: .5em 1em; margin: 1em; background-color: #990099;padding:0px;" colspan="2"|
 
<b><font color="#ffff80" face="Arial" size="5">Sacrificing for Knowledge</font></b>
 
<b><font color="#ffff80" face="Arial" size="5">Sacrificing for Knowledge</font></b>
 
 
|}
 
|}
 
<font color="#0080ff" face="Verdana, Arial" size="2"><b>Using the <i>GetTechnology</i> Command</b></font>
   
<p><font color="#0080ff" face="Verdana, Arial" size="2"><b>Using the <i>GetTechnology</i> Command</b></font></p>
+
<font face="Verdana, Arial" size="2">It seems that knowledge can be acquired in single player games, using the <i>GetTechnology</i> keyword.</font>
   
<p><font face="Verdana, Arial" size="2">It seems that knowledge can be acquired in single player games, using the <i>GetTechnology</i> keyword.</font></p>
+
<font face="Verdana, Arial" size="2">Here's an example on how to use the new keyword. Suppose you want the player to gain tech after sacking enemy player #2. You would enter the following:</font>
 
<p><font face="Verdana, Arial" size="2">Here's an example on how to use the new keyword. Suppose you want the player to gain tech after sacking enemy player #2. You would enter the following:</font></p>
 
 
<blockquote>
 
<p><font face="Arial" size="2"><em>[ai2PriestDead]<br>
 
Enemy Priest Sacrificed! Yahoo!<br>
 
The furies are well pleased. They decide to grant you knowledge...<br></em></font><br>
 
<font face="Arial" size="2"><em>$Button=OK,GetTechnology,<font color="#800080">tech</font></em></font></p>
 
   
  +
<blockquote><font face="Arial" size="2"><em>[ai2PriestDead]<br />Enemy Priest Sacrificed! Yahoo!<br />The furies are well pleased. They decide to grant you knowledge...<br /></em></font><br /><font face="Arial" size="2"><em>$Button=OK,GetTechnology,<font color="#800080">tech</font></em></font>
 
</blockquote>
 
</blockquote>
 
 
where <font color="#800080"><i>tech</i></font> is a number for the knowledge you want the player to have. From that point on in the game, the player will be able to use the newly acquired tech.
 
where <font color="#800080"><i>tech</i></font> is a number for the knowledge you want the player to have. From that point on in the game, the player will be able to use the newly acquired tech.
   
<p>Currently, the known list for <font color="#800080"><i>tech</i></font> is</p>
+
Currently, the known list for <font color="#800080"><i>tech</i></font> is
71 = [[Sun Disc Thrower]]<br>
+
71 = [[Sun Disc Thrower]]
  +
72 = [[Whirlbase]]<br>
 
75 = [[Wind Generator]]<br>
+
72 = [[Whirlbase]]
  +
76 = [[Rain Generator]]<br>
 
77 = [[Thunder Generator]]<br>
+
75 = [[Wind Generator]]
  +
78 = [[Stone Tower]]<br>
 
79 = [[Bulwark]]<br>
+
76 = [[Rain Generator]]
  +
85 = [[Sun Workshop]]<br>
 
86 = [[Wind Workshop]]<br>
+
77 = [[Thunder Generator]]
  +
87 = [[Rain Workshop]]<br>
 
88 = [[Thunder Workshop]]<br>
+
78 = [[Stone Tower]]
  +
111 = [[Balloon |Sun Balloon]]<br>
 
123 = [[Wind Temple]]<br>
+
79 = [[Bulwark]]
  +
124 = [[Rain Temple]]<br>
 
125 = [[Thunder Temple]]<br>
+
85 = [[Sun Workshop]]
  +
128 = [[Sun Cannon]]<br>
 
129 = [[Ice Cannon]]<br>
+
86 = [[Wind Workshop]]
  +
131 = [[Thunder Cannon]]<br>
 
133 = [[Golem]]<br>
+
87 = [[Rain Workshop]]
  +
135 = [[Bulf]]<br>
 
136 = [[Sun Barricade]]<br>
+
88 = [[Thunder Workshop]]
  +
137 = [[Sail skater |Sail Skater]]<br>
 
139 = [[Devil Maker]]<br>
+
111 = [[Balloon |Sun Balloon]]
  +
140 = [[Crossbow]]<br>
 
141 = [[Airship]]<br>
+
123 = [[Wind Temple]]
  +
142 = [[WindTower]]<br>
 
143 = [[Man 'o War |Man-O-War Pool]]<br>
+
124 = [[Rain Temple]]
  +
145 = [[Acid Barricade]]<br>
 
146 = [[Cloud Floater]]<br>
+
125 = [[Thunder Temple]]
  +
147 = [[Ice Tower]]<br>
 
148 = [[Vader Tower]]<br>
+
128 = [[Sun Cannon]]
  +
149 = [[Arc Spire]]<br>
 
156 = [[Crystal Crab]]<br>
+
129 = [[Ice Cannon]]
  +
 
131 = [[Thunder Cannon]]
  +
  +
133 = [[Golem]]
  +
 
135 = [[Bulf]]
  +
 
136 = [[Sun Barricade]]
  +
 
137 = [[Sail Skater |Sail Skater]]
  +
  +
139 = [[Devil Maker]]
  +
 
140 = [[Crossbow]]
  +
  +
141 = [[Airship]]
  +
 
142 = [[Wind Tower|WindTower]]
  +
  +
143 = [[Man 'o War |Man-O-War Pool]]
  +
 
145 = [[Acid Barricade]]
  +
  +
146 = [[Cloud Floater]]
  +
 
147 = [[Ice Tower]]
  +
  +
148 = [[Vander Tower|Vader Tower]]
  +
 
149 = [[Arc Spire]]
  +
  +
156 = [[Crystal Crab]]
   
 
Although, in theory, tech can be given after any [ai<font color="#800080">n</font>...] command, <i>GetTechnology</i> is usually only used with the [ai<font color="#800080">n</font>PriestDead] option.
<p>
 
Although, in theory, tech can be given after any [ai<font color="#800080">n</font>...] command, <i>GetTechnology</i> is usually only used with the [ai<font color="#800080">n</font>PriestDead] option.</p>
 
   
   
<p><font color="#0080ff" face="Verdana, Arial" size="2"><b>More Choices</b></font></p>
+
<font color="#0080ff" face="Verdana, Arial" size="2"><b>More Choices</b></font>
<p>You can now make scenarios, where the player can choose which alignment to upgrade! Here's an example:</p>
+
You can now make scenarios, where the player can choose which alignment to upgrade! Here's an example:
   
  +
<blockquote><font face="Arial" size="2"><em>[ai2PriestDead]<br />Enemy Priest Sacrificed! Yahoo!<br />The furies are well pleased. They decide to grant you knowledge.<br />Choose which Fury you want knowledge from:</em></font><br /><font face="Arial" size="2"><br /><em>$Button=WIND,GetTechnology,140<br />$Button=RAIN,GetTechnology,129
<blockquote>
 
 
<br />$Button=THUNDER,GetTechnology,131<br />$Button=SUN,GetTechnology,128</em></font>
<p><font face="Arial" size="2"><em>[ai2PriestDead]<br>
 
Enemy Priest Sacrificed! Yahoo!<br>
 
The furies are well pleased. They decide to grant you knowledge.<br>
 
Choose which Fury you want knowledge from:</em></font><br>
 
<font face="Arial" size="2"><br><em>
 
$Button=WIND,GetTechnology,140<br>
 
 
$Button=RAIN,GetTechnology,129<br>
 
$Button=THUNDER,GetTechnology,131<br>
 
$Button=SUN,GetTechnology,128</em></font></p>
 
 
</blockquote>
 
</blockquote>
<p>In the above example, if the player selects the [WIND] button, the crossbow will be added to his arsenal, while selection of the [RAIN],[THUNDER], or [SUN] buttons will allow either the Ice Cannon, Thunder Cannon, or Sun Cannon to be acquired.</p>
+
In the above example, if the player selects the [WIND] button, the crossbow will be added to his arsenal, while selection of the [RAIN],[THUNDER], or [SUN] buttons will allow either the Ice Cannon, Thunder Cannon, or Sun Cannon to be acquired.
 
<p>Kool, huh!?! This opens up a lot more possibilities for single-player campaigns!</p>
 
 
<p><font color="#0080ff" face="Verdana, Arial" size="2"><b>Other Fun Numbers</b></font></p>
 
<p>Here's a list of other numbers that may not add to tech, but are fun to try out:</p>
 
 
70 = Nimbian<br>
 
100 = Trees<br>
 
101 = More Trees<br>
 
108 = Smiling Face<br>
 
126 = Outpost<br>
 
134 = Teleport Effect<br>
 
159 = Blue squiggly line<br>
 
169 = Altar with Priest being sacrificed<br>
 
 
<p>Have fun!</p>
 
   
 
Kool, huh!?! This opens up a lot more possibilities for single-player campaigns!
   
  +
<font color="#0080ff" face="Verdana, Arial" size="2"><b>Other Fun Numbers</b></font>
 
Here's a list of other numbers that may not add to tech, but are fun to try out:
   
 
70 = Nimbian
  +
 
100 = Trees
  +
 
101 = More Trees
  +
 
108 = Smiling Face
  +
 
126 = Outpost
  +
 
134 = Teleport Effect
  +
 
159 = Blue squiggly line
  +
 
169 = Altar with Priest being sacrificed
   
 
Have fun!
 
[[category:NEC]]
 
[[category:NEC]]

Latest revision as of 00:18, 28 July 2010

Editing and making your own campaigns Getting Started,
Advanced Editing 1.Images | 2.Links and E-mails | 3.More [Options] Sections. 4.Options | 5.More [Header] Variables Header Variables | 6.Changing Text Colors | 7.Sacrificing for Knowledge | 8.Branching using MissionBegin | 9.Using denySalvage | 10.Outposts in Your Campaign | 11.Branching with MissionFork | 12.The Tell Command | 13.Creating Menus with $Menu | 14.Formatting Text and Graphics | 15.The $Timeout event | 16.The $OnExit event | 17.adding a DEMO to your Campaign | 18.Re-positioning the Text Window (with $MoveDialog)| 19.Timing with [@ ] | 20.Using the Debug Hotkey | 21.Moving the screen window with $View| 22.Variable basics | 23.IF/THEN Conditionals | 24.The $PlaySound command | 25.Netstorm Command List

view this alone


Sacrificing for Knowledge

Using the GetTechnology Command

It seems that knowledge can be acquired in single player games, using the GetTechnology keyword.

Here's an example on how to use the new keyword. Suppose you want the player to gain tech after sacking enemy player #2. You would enter the following:

[ai2PriestDead]
Enemy Priest Sacrificed! Yahoo!
The furies are well pleased. They decide to grant you knowledge...

$Button=OK,GetTechnology,tech

where tech is a number for the knowledge you want the player to have. From that point on in the game, the player will be able to use the newly acquired tech.

Currently, the known list for tech is

71 = Sun Disc Thrower

72 = Whirlbase

75 = Wind Generator

76 = Rain Generator

77 = Thunder Generator

78 = Stone Tower

79 = Bulwark

85 = Sun Workshop

86 = Wind Workshop

87 = Rain Workshop

88 = Thunder Workshop

111 = Sun Balloon

123 = Wind Temple

124 = Rain Temple

125 = Thunder Temple

128 = Sun Cannon

129 = Ice Cannon

131 = Thunder Cannon

133 = Golem

135 = Bulf

136 = Sun Barricade

137 = Sail Skater

139 = Devil Maker

140 = Crossbow

141 = Airship

142 = WindTower

143 = Man-O-War Pool

145 = Acid Barricade

146 = Cloud Floater

147 = Ice Tower

148 = Vader Tower

149 = Arc Spire

156 = Crystal Crab

Although, in theory, tech can be given after any [ain...] command, GetTechnology is usually only used with the [ainPriestDead] option.


More Choices You can now make scenarios, where the player can choose which alignment to upgrade! Here's an example:

[ai2PriestDead]
Enemy Priest Sacrificed! Yahoo!
The furies are well pleased. They decide to grant you knowledge.
Choose which Fury you want knowledge from:


$Button=WIND,GetTechnology,140
$Button=RAIN,GetTechnology,129


$Button=THUNDER,GetTechnology,131
$Button=SUN,GetTechnology,128

In the above example, if the player selects the [WIND] button, the crossbow will be added to his arsenal, while selection of the [RAIN],[THUNDER], or [SUN] buttons will allow either the Ice Cannon, Thunder Cannon, or Sun Cannon to be acquired.

Kool, huh!?! This opens up a lot more possibilities for single-player campaigns!

Other Fun Numbers Here's a list of other numbers that may not add to tech, but are fun to try out:

70 = Nimbian

100 = Trees

101 = More Trees

108 = Smiling Face

126 = Outpost

134 = Teleport Effect

159 = Blue squiggly line

169 = Altar with Priest being sacrificed

Have fun!