https://creatures.wiki/Reindeer_(teardown)?action=history&feed=atom&Reindeer (teardown) - Revision history2024-03-29T08:27:39ZRevision history for this page on the wikiMediaWiki 1.33.1https://creatures.wiki/index.php?title=Reindeer_(teardown)&diff=66805&oldid=prevScoobyGambit at 22:18, 22 July 20222022-07-22T22:18:58Z<p></p>
<table class="diff diff-contentalign-left" 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: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 22:18, 22 July 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l12" >Line 12:</td>
<td colspan="2" class="diff-lineno">Line 12:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>''This is a teardown page explaining the details and inner workings of this agent. For general information, see [[Reindeer (C3)]]''</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>''This is a teardown page explaining the details and inner workings of this agent. For general information, see [[Reindeer (C3)]]''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; 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 '''Reindeer''' is a [[simple]] [[critter]] agent created by [[Mark Ashton]] for [[Creatures 3]], as part of the [[Advent Pack]]. The sprite is based on the original sprites for the C1 Reindeer, and only has a timer script which controls the reindeer's leaps in the [[Norn Terrarium]] or in other locations if needed. <del class="diffchange diffchange-inline">Too </del>directly see the code and files, [[Revelation]], [[Zeus]] or [[Jagent]] can be used to decompile the agent file.</div></td><td class='diff-marker'>+</td><td style="color: #222; 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>The '''Reindeer''' is a [[simple]] [[critter]] agent created by [[Mark Ashton]] for [[Creatures 3]], as part of the [[Advent Pack]]. The sprite is based on the original sprites for the C1 Reindeer, and only has a timer script which controls the reindeer's leaps in the [[Norn Terrarium]] or in other locations if needed. <ins class="diffchange diffchange-inline">To </ins>directly see the code and files, [[Revelation]], [[Zeus]] or [[Jagent]] can be used to decompile the agent file.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>== Scripts ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>== Scripts ==</div></td></tr>
</table>ScoobyGambithttps://creatures.wiki/index.php?title=Reindeer_(teardown)&diff=57727&oldid=prevScoobyGambit: Created page with "{{Teardown| name=Reindeer | version=Creatures 3 | filename= | classifier=2 15 30 | images= reindeer.c16| sounds= | cataloguetags= reindeer.catalogue | agents=none | other=none..."2018-11-25T09:29:16Z<p>Created page with "{{Teardown| name=Reindeer | version=Creatures 3 | filename= | classifier=2 15 30 | images= reindeer.c16| sounds= | cataloguetags= reindeer.catalogue | agents=none | other=none..."</p>
<p><b>New page</b></p><div>{{Teardown|<br />
name=Reindeer |<br />
version=Creatures 3 |<br />
filename= |<br />
classifier=2 15 30 |<br />
images= reindeer.c16|<br />
sounds= |<br />
cataloguetags= reindeer.catalogue |<br />
agents=none |<br />
other=none<br />
}}<br />
''This is a teardown page explaining the details and inner workings of this agent. For general information, see [[Reindeer (C3)]]''<br />
<br />
The '''Reindeer''' is a [[simple]] [[critter]] agent created by [[Mark Ashton]] for [[Creatures 3]], as part of the [[Advent Pack]]. The sprite is based on the original sprites for the C1 Reindeer, and only has a timer script which controls the reindeer's leaps in the [[Norn Terrarium]] or in other locations if needed. Too directly see the code and files, [[Revelation]], [[Zeus]] or [[Jagent]] can be used to decompile the agent file.<br />
<br />
== Scripts ==<br />
===Inject===<br />
*Six reindeer are injected<br />
*Sets the [[ATTR]] to 192 (the reindeer will collide with things and follow the laws of physics)<br />
*Moves the reindeer all to one spot in the C3 Norn terrarium.<br />
*They are relatively [[ELAS|low elasticity]], fairly high but not perfect [[FRIC|friction]], and have a high [[ACCG|specific gravity]] - 9.81. <br />
*They each have a [[tick]] of 1: their timer script will be triggered every 1/20th of a second. <br />
*They have a [[PERM|permeability]] of 99. <br />
===Timer (9)===<br />
*Commands are activated instantly<br />
*If the reindeer is not falling<br />
**Check if your [[POSX|x-position]] is greater than 3000.<br />
***If so, repeat the following 6 times:<br />
****set a [[RAND|random]] [[VELO|velocity]] of between -10 and -20 in the X-direction, which will cause the reindeer to move to the player's left, and a random velocity of -10 to -20 in the Y-direction, which will cause the reindeer to jump up.<br />
****[[ANIM|animate]] the reindeer using the poses of walking left<br />
****wait until the animation is [[OVER]]<br />
****[[WAIT|Wait]] a little longer: between 3-7 ticks (approx. 1/3rd of a second)<br />
***Close the 6-repeats<br />
**Check the X-position again: see [[ELIF|if]] it's less than 1500:<br />
***If so, repeat the following 6 times:<br />
****set a [[RAND|random]] [[VELO|velocity]] of between 10 and 20 in the X-direction, which will cause the reindeer to move to the player's right, and a random velocity of -10 to -20 in the Y-direction, which will cause the reindeer to jump up.<br />
****[[ANIM|animate]] the reindeer using the poses of walking right<br />
****wait until the animation is [[OVER]]<br />
****[[WAIT|Wait]] a little longer: between 3-7 ticks (approx. 1/3rd of a second)<br />
***Close the 6-repeats<br />
**If the X-position is somewhere [[ELSE|else]]<br />
***[[WAIT|Wait]] a little: between 3-7 ticks (approx. 1/3rd of a second)<br />
***Spring once: Set a random velocity of between 20 and -20 in the X-direction (could go either way) and a random velocity of -5 and -20 in the Y-direction (still jumping up)<br />
***Check the [[VELX|x-velocity]]:<br />
****If the X-velocity is greater than 0<br />
****animate the right-walking poses<br />
****Else, if the X-velocity is less than 0<br />
****animate the left-walking poses<br />
****Close the X-velocity check<br />
***End the script-long X-position check<br />
**End the 'if I'm falling' check<br />
*Wait until the animation is [[OVER|over]] (from the 'somewhere else' contingency plan)<br />
*end the timer script.<br />
<br />
===Remove===<br />
*Removes all instances of the reindeer.<br />
<br />
[[Category:Teardown]]</div>ScoobyGambit