<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Team Spartan Cookies &amp; Milk Forums - Starfall]]></title>
		<link>https://teamscm.co.uk/</link>
		<description><![CDATA[Team Spartan Cookies &amp; Milk Forums - https://teamscm.co.uk]]></description>
		<pubDate>Sun, 22 Nov 2026 20:46:55 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Useful constant values]]></title>
			<link>https://teamscm.co.uk/thread-3828.html</link>
			<pubDate>Tue, 25 Aug 2026 12:43:13 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=4021">Caprica</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3828.html</guid>
			<description><![CDATA[Here are some lua tables for copying and pasting that may be useful to you.<br />
<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
<br />
PLANET_MODELS = {<br />
    ["Hiigara"]		= "models/hiigara/hiigara.mdl",<br />
    ["Desert"]		= "models/planets/chinook.mdl",<br />
    ["Lava"]		= "models/sb_forlorn/vimana.mdl",<br />
    ["Shakuras"]	= "models/sb_forlorn/bluemars.mdl",<br />
    ["Moon"]		= "models/zup/planets/moon_001.mdl",<br />
    ["Earth"]		= "models/kobol/kobol.mdl"<br />
}<br />
<br />
<br />
PLANET_SIZES = {<br />
    ["Hiigara"] 	= 10030,<br />
    ["Desert"]		= 8224,<br />
    ["Lava"] 		= 6244,<br />
    ["Shakuras"]	= 10320,<br />
    ["Moon"]		= 3100,<br />
    ["Earth"]		= 8560,<br />
}<br />
<br />
PLANET_LOCATIONS = {<br />
    ["Hiigara"] 	= Vector(7168, 8704, -6064),<br />
    ["Desert"]		= Vector(10624, -10668, -9384),<br />
    ["Lava"] 		= Vector(-9792, -80, -4688),<br />
    ["Shakuras"]	= Vector(-7552, -7056, 6832),<br />
    ["Moon"]		= Vector(-4480, 13792, 9920),<br />
    ["Earth"]		= Vector(0, 8032, 8064),<br />
}<br />
<br />
<br />
constants.GALAXY_BOUNDS = {<br />
<br />
    ["Milky Way"] = { Vector(-15820.052734, 42.512852, 32.031250) , Vector(15823.839844, 15824.048828, 15839.968750) },<br />
    ["Pegasus"] = { Vector(-15822.894531, -15771.076172, 32.031250) , Vector(15823.913086, -167.429413, 15839.968750) },<br />
    ["Universe"] = { Vector(-15734.663086, -15720.826172, -14015.968750) , Vector(15824.086914,15824.072266,-0.031250 ) },<br />
<br />
}<br />
<br />
<br />
GALAXY_SIZES = {<br />
<br />
    ["Milky Way"] = GALAXY_BOUNDS["Milky Way"][2] - GALAXY_BOUNDS["Milky Way"][1],<br />
    ["Pegasus"] = GALAXY_BOUNDS["Pegasus"][2] - GALAXY_BOUNDS["Pegasus"][1],<br />
    ["Universe"] = GALAXY_BOUNDS["Universe"][2] - GALAXY_BOUNDS["Universe"][1],<br />
<br />
}<br />
<br />
SHIP_TYPE_NAMES = {<br />
    ["ship_core"] = "Ship",<br />
    ["st_shuttle_type6"] = "Type 6 Shuttle",<br />
    ["st_shuttle_type9"] = "Type 9 Shuttle",<br />
    ["st_shuttle_type11"] = "Type 11 Shuttle",<br />
    ["atlantis_puddle_jumper"] = "Puddle Jumper",<br />
    ["puddle_jumper"] = "Puddle Jumper",<br />
    ["sci_fi_shuttle"] = "Shuttle",<br />
    ["sg_vehicle_gate_glider"] = "Gate Glider",<br />
    ["sg_vehicle_glider"] = "Glider",<br />
    ["sg_vehicle_teltac"] = "TelTac",<br />
    ["sg_vehicle_shuttle"] = "Destiny Shuttle",<br />
    ["box_cube_tactical"] = "Tactical Borg Cube",<br />
    ["box_cube"] = "Box Cube",<br />
    ["box_sphere"] = "Box Sphere"<br />
}<br />
<br />
WEAPON_SPEEDS_TORPEDOS = {<br />
    <br />
    ["Biomolecular"] = 3500,<br />
    ["Chronitron"] = 3000,<br />
    ["Photon"] = 3500,<br />
    ["Photon (TOS)"] = 3500,<br />
    ["Photon (TMP)"] = 3500,<br />
    ["Plasma"] = 1000,<br />
    ["Quantum"] = 2500,<br />
    ["Transphasic"] = 4000,<br />
    ["Transphasic Chronitron"] = 3500,<br />
    ["Tricobalt"] = 1000<br />
    <br />
}<br />
<br />
SMALL_ASTEROIDS = {<br />
<br />
    Vector(-4893.475098,-8706.698242,-5829.842285),<br />
    Vector(-3078.478516,-4429.211914,-4577.475586),<br />
    Vector(-901.760742,1270.473877,-4936.942383),<br />
    Vector(11275.528320,10412.892578,7512.837891),<br />
    Vector(11441.208984,4523.573730,7783.929199),<br />
    Vector(12953.072266,12334.515625,5988.247559),<br />
    Vector(12851.844727,8818.186523,7322.199707),<br />
    Vector(9852.474609,8320.409180,7630.070313),<br />
    Vector(10244.836914,8693.919922,6217.937500),<br />
    Vector(10266.384766,6293.636719,7018.546387),<br />
    Vector(11473.662109,7088.573730,6662.829590),<br />
    Vector(12978.364258,7336.712402,6691.908203),<br />
    Vector(12965.692383,6056.286621,6889.985840),<br />
    Vector(14303.525391,5836.482422,7696.038086),<br />
    Vector(13806.735352,4366.573242,5103.553223),<br />
    Vector(11769.862305,2954.001465,5269.969238),<br />
    Vector(11682.141602,1267.350952,7595.317383),<br />
    Vector(13171.077148,3005.401123,7238.441895),<br />
    Vector(14137.685547,1705.514893,7664.321777),<br />
    Vector(-12454.196289,15193.941406,5739.574219),<br />
    Vector(-12735.449219,13719.534180,5054.560547),<br />
    Vector(-14646.883789,14233.960938,6340.086914),<br />
    Vector(-13809.067383,11993.784180,5480.808594),<br />
    Vector(-14531.768555,10140.322266,4410.569336),<br />
    Vector(-14269.203125,8128.708008,6048.006836),<br />
    Vector(-12535.284180,7295.908691,5011.748535),<br />
    Vector(-11918.349609,8457.932617,5065.781738),<br />
    Vector(-11324.933594,8577.904297,5983.849121),<br />
    Vector(-12567.875000,5449.369141,5400.960449),<br />
    Vector(-12625.921875,3648.587891,5725.894043),<br />
    Vector(-13890.981445,4033.645996,4410.836426),<br />
    Vector(-14658.180664,3972.528320,5162.541504),<br />
    Vector(-14990.374023,1955.886475,5638.643066),<br />
    Vector(-13592.718750,2687.042969,3575.142334),<br />
    Vector(13010.075195,-13505.045898,11971.145508),<br />
    Vector(10771.949219,-13469.437500,8869.811523),<br />
    Vector(12099.030273,-10611.516602,7168.553223),<br />
    Vector(10189.707031,-12037.592773,5891.839844),<br />
    Vector(8855.337891,-11971.681641,7310.809082),<br />
    Vector(6223.385742,-12969.037109,7768.616211),<br />
    Vector(5201.816895,-14172.000977,8454.920898),<br />
    Vector(5675.821289,-9218.089844,7310.842285),<br />
    Vector(5597.736328,-6863.802246,6782.231445),<br />
    Vector(4716.123535,-1039.328857,7605.331543),<br />
    Vector(4833.456055,-2350.011719,8717.138672),<br />
    Vector(8726.083008,-1658.175415,11085.191406),<br />
    Vector(10419.687500,-3685.637939,9572.759766),<br />
    Vector(11371.421875,-5771.729980,10344.173828),<br />
    Vector(10929.984375,-8467.875000,10408.230469),<br />
    Vector(13444.790039,-8804.123047,11302.495117),<br />
    Vector(9989.920898,-9474.977539,12175.196289),<br />
    Vector(-2978.097900,2598.452637,-6121.896973),<br />
    Vector(-2978.097900,2598.452637,-6121.896973),<br />
    Vector(-4861.406250,2646.728516,-4788.158203),<br />
    Vector(-4861.406250,2646.728516,-4788.158203),<br />
    Vector(-4219.568848,838.740356,-4980.515137),<br />
    Vector(-4219.568848,838.740356,-4980.515137),<br />
    Vector(-1471.609985,-824.209534,-4805.875977),<br />
    Vector(-1471.609985,-824.209534,-4805.875977),<br />
    Vector(-870.850342,-810.080017,-6334.704102),<br />
    Vector(-870.850342,-810.080017,-6334.704102),<br />
    Vector(1024.270752,-2557.475098,-5128.838867),<br />
    Vector(1024.270752,-2557.475098,-5128.838867),<br />
    Vector(-972.745911,-4589.486328,-5571.042969),<br />
    Vector(-972.745911,-4589.486328,-5571.042969),<br />
    Vector(-2545.524414,-2615.715820,-5310.518555),<br />
    Vector(-2545.524414,-2615.715820,-5310.518555),<br />
    Vector(-4523.518555,-5942.263672,-6212.656250),<br />
    Vector(-4523.518555,-5942.263672,-6212.656250),<br />
    Vector(-1414.741333,-6295.604004,-7091.087891),<br />
    Vector(-1414.741333,-6295.604004,-7091.087891),<br />
    Vector(-3630.353760,-7029.224609,-7723.216309),<br />
    Vector(-3630.353760,-7029.224609,-7723.216309),<br />
    Vector(-6914.794434,-7613.146973,-6211.839844),<br />
    Vector(-6914.794434,-7613.146973,-6211.839844)<br />
<br />
}<br />
<br />
LARGE_ASTEROIDS = {<br />
<br />
    Vector(-844.677368,1323.252686,-4821.671387),<br />
    Vector(-3060.234863,-4650.157227,-4563.606445),<br />
    Vector(-4893.448242,-8784.168945,-5869.309082),<br />
    Vector(-14022.283203,5725.795410,6139.930176),<br />
    Vector(-13024.235352,9681.091797,4317.079102),<br />
    Vector(-12245.401367,10824.199219,5869.507324),<br />
    Vector(12853.097656,-4926.916504,6112.025391),<br />
    Vector(6326.254883,-2311.179688,8263.719727),<br />
    Vector(7516.903809,-13955.066406,9258.272461)<br />
<br />
}<br />
<br />
<br />
</code></pre>]]></description>
			<content:encoded><![CDATA[Here are some lua tables for copying and pasting that may be useful to you.<br />
<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
<br />
PLANET_MODELS = {<br />
    ["Hiigara"]		= "models/hiigara/hiigara.mdl",<br />
    ["Desert"]		= "models/planets/chinook.mdl",<br />
    ["Lava"]		= "models/sb_forlorn/vimana.mdl",<br />
    ["Shakuras"]	= "models/sb_forlorn/bluemars.mdl",<br />
    ["Moon"]		= "models/zup/planets/moon_001.mdl",<br />
    ["Earth"]		= "models/kobol/kobol.mdl"<br />
}<br />
<br />
<br />
PLANET_SIZES = {<br />
    ["Hiigara"] 	= 10030,<br />
    ["Desert"]		= 8224,<br />
    ["Lava"] 		= 6244,<br />
    ["Shakuras"]	= 10320,<br />
    ["Moon"]		= 3100,<br />
    ["Earth"]		= 8560,<br />
}<br />
<br />
PLANET_LOCATIONS = {<br />
    ["Hiigara"] 	= Vector(7168, 8704, -6064),<br />
    ["Desert"]		= Vector(10624, -10668, -9384),<br />
    ["Lava"] 		= Vector(-9792, -80, -4688),<br />
    ["Shakuras"]	= Vector(-7552, -7056, 6832),<br />
    ["Moon"]		= Vector(-4480, 13792, 9920),<br />
    ["Earth"]		= Vector(0, 8032, 8064),<br />
}<br />
<br />
<br />
constants.GALAXY_BOUNDS = {<br />
<br />
    ["Milky Way"] = { Vector(-15820.052734, 42.512852, 32.031250) , Vector(15823.839844, 15824.048828, 15839.968750) },<br />
    ["Pegasus"] = { Vector(-15822.894531, -15771.076172, 32.031250) , Vector(15823.913086, -167.429413, 15839.968750) },<br />
    ["Universe"] = { Vector(-15734.663086, -15720.826172, -14015.968750) , Vector(15824.086914,15824.072266,-0.031250 ) },<br />
<br />
}<br />
<br />
<br />
GALAXY_SIZES = {<br />
<br />
    ["Milky Way"] = GALAXY_BOUNDS["Milky Way"][2] - GALAXY_BOUNDS["Milky Way"][1],<br />
    ["Pegasus"] = GALAXY_BOUNDS["Pegasus"][2] - GALAXY_BOUNDS["Pegasus"][1],<br />
    ["Universe"] = GALAXY_BOUNDS["Universe"][2] - GALAXY_BOUNDS["Universe"][1],<br />
<br />
}<br />
<br />
SHIP_TYPE_NAMES = {<br />
    ["ship_core"] = "Ship",<br />
    ["st_shuttle_type6"] = "Type 6 Shuttle",<br />
    ["st_shuttle_type9"] = "Type 9 Shuttle",<br />
    ["st_shuttle_type11"] = "Type 11 Shuttle",<br />
    ["atlantis_puddle_jumper"] = "Puddle Jumper",<br />
    ["puddle_jumper"] = "Puddle Jumper",<br />
    ["sci_fi_shuttle"] = "Shuttle",<br />
    ["sg_vehicle_gate_glider"] = "Gate Glider",<br />
    ["sg_vehicle_glider"] = "Glider",<br />
    ["sg_vehicle_teltac"] = "TelTac",<br />
    ["sg_vehicle_shuttle"] = "Destiny Shuttle",<br />
    ["box_cube_tactical"] = "Tactical Borg Cube",<br />
    ["box_cube"] = "Box Cube",<br />
    ["box_sphere"] = "Box Sphere"<br />
}<br />
<br />
WEAPON_SPEEDS_TORPEDOS = {<br />
    <br />
    ["Biomolecular"] = 3500,<br />
    ["Chronitron"] = 3000,<br />
    ["Photon"] = 3500,<br />
    ["Photon (TOS)"] = 3500,<br />
    ["Photon (TMP)"] = 3500,<br />
    ["Plasma"] = 1000,<br />
    ["Quantum"] = 2500,<br />
    ["Transphasic"] = 4000,<br />
    ["Transphasic Chronitron"] = 3500,<br />
    ["Tricobalt"] = 1000<br />
    <br />
}<br />
<br />
SMALL_ASTEROIDS = {<br />
<br />
    Vector(-4893.475098,-8706.698242,-5829.842285),<br />
    Vector(-3078.478516,-4429.211914,-4577.475586),<br />
    Vector(-901.760742,1270.473877,-4936.942383),<br />
    Vector(11275.528320,10412.892578,7512.837891),<br />
    Vector(11441.208984,4523.573730,7783.929199),<br />
    Vector(12953.072266,12334.515625,5988.247559),<br />
    Vector(12851.844727,8818.186523,7322.199707),<br />
    Vector(9852.474609,8320.409180,7630.070313),<br />
    Vector(10244.836914,8693.919922,6217.937500),<br />
    Vector(10266.384766,6293.636719,7018.546387),<br />
    Vector(11473.662109,7088.573730,6662.829590),<br />
    Vector(12978.364258,7336.712402,6691.908203),<br />
    Vector(12965.692383,6056.286621,6889.985840),<br />
    Vector(14303.525391,5836.482422,7696.038086),<br />
    Vector(13806.735352,4366.573242,5103.553223),<br />
    Vector(11769.862305,2954.001465,5269.969238),<br />
    Vector(11682.141602,1267.350952,7595.317383),<br />
    Vector(13171.077148,3005.401123,7238.441895),<br />
    Vector(14137.685547,1705.514893,7664.321777),<br />
    Vector(-12454.196289,15193.941406,5739.574219),<br />
    Vector(-12735.449219,13719.534180,5054.560547),<br />
    Vector(-14646.883789,14233.960938,6340.086914),<br />
    Vector(-13809.067383,11993.784180,5480.808594),<br />
    Vector(-14531.768555,10140.322266,4410.569336),<br />
    Vector(-14269.203125,8128.708008,6048.006836),<br />
    Vector(-12535.284180,7295.908691,5011.748535),<br />
    Vector(-11918.349609,8457.932617,5065.781738),<br />
    Vector(-11324.933594,8577.904297,5983.849121),<br />
    Vector(-12567.875000,5449.369141,5400.960449),<br />
    Vector(-12625.921875,3648.587891,5725.894043),<br />
    Vector(-13890.981445,4033.645996,4410.836426),<br />
    Vector(-14658.180664,3972.528320,5162.541504),<br />
    Vector(-14990.374023,1955.886475,5638.643066),<br />
    Vector(-13592.718750,2687.042969,3575.142334),<br />
    Vector(13010.075195,-13505.045898,11971.145508),<br />
    Vector(10771.949219,-13469.437500,8869.811523),<br />
    Vector(12099.030273,-10611.516602,7168.553223),<br />
    Vector(10189.707031,-12037.592773,5891.839844),<br />
    Vector(8855.337891,-11971.681641,7310.809082),<br />
    Vector(6223.385742,-12969.037109,7768.616211),<br />
    Vector(5201.816895,-14172.000977,8454.920898),<br />
    Vector(5675.821289,-9218.089844,7310.842285),<br />
    Vector(5597.736328,-6863.802246,6782.231445),<br />
    Vector(4716.123535,-1039.328857,7605.331543),<br />
    Vector(4833.456055,-2350.011719,8717.138672),<br />
    Vector(8726.083008,-1658.175415,11085.191406),<br />
    Vector(10419.687500,-3685.637939,9572.759766),<br />
    Vector(11371.421875,-5771.729980,10344.173828),<br />
    Vector(10929.984375,-8467.875000,10408.230469),<br />
    Vector(13444.790039,-8804.123047,11302.495117),<br />
    Vector(9989.920898,-9474.977539,12175.196289),<br />
    Vector(-2978.097900,2598.452637,-6121.896973),<br />
    Vector(-2978.097900,2598.452637,-6121.896973),<br />
    Vector(-4861.406250,2646.728516,-4788.158203),<br />
    Vector(-4861.406250,2646.728516,-4788.158203),<br />
    Vector(-4219.568848,838.740356,-4980.515137),<br />
    Vector(-4219.568848,838.740356,-4980.515137),<br />
    Vector(-1471.609985,-824.209534,-4805.875977),<br />
    Vector(-1471.609985,-824.209534,-4805.875977),<br />
    Vector(-870.850342,-810.080017,-6334.704102),<br />
    Vector(-870.850342,-810.080017,-6334.704102),<br />
    Vector(1024.270752,-2557.475098,-5128.838867),<br />
    Vector(1024.270752,-2557.475098,-5128.838867),<br />
    Vector(-972.745911,-4589.486328,-5571.042969),<br />
    Vector(-972.745911,-4589.486328,-5571.042969),<br />
    Vector(-2545.524414,-2615.715820,-5310.518555),<br />
    Vector(-2545.524414,-2615.715820,-5310.518555),<br />
    Vector(-4523.518555,-5942.263672,-6212.656250),<br />
    Vector(-4523.518555,-5942.263672,-6212.656250),<br />
    Vector(-1414.741333,-6295.604004,-7091.087891),<br />
    Vector(-1414.741333,-6295.604004,-7091.087891),<br />
    Vector(-3630.353760,-7029.224609,-7723.216309),<br />
    Vector(-3630.353760,-7029.224609,-7723.216309),<br />
    Vector(-6914.794434,-7613.146973,-6211.839844),<br />
    Vector(-6914.794434,-7613.146973,-6211.839844)<br />
<br />
}<br />
<br />
LARGE_ASTEROIDS = {<br />
<br />
    Vector(-844.677368,1323.252686,-4821.671387),<br />
    Vector(-3060.234863,-4650.157227,-4563.606445),<br />
    Vector(-4893.448242,-8784.168945,-5869.309082),<br />
    Vector(-14022.283203,5725.795410,6139.930176),<br />
    Vector(-13024.235352,9681.091797,4317.079102),<br />
    Vector(-12245.401367,10824.199219,5869.507324),<br />
    Vector(12853.097656,-4926.916504,6112.025391),<br />
    Vector(6326.254883,-2311.179688,8263.719727),<br />
    Vector(7516.903809,-13955.066406,9258.272461)<br />
<br />
}<br />
<br />
<br />
</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Setting a client side model using a VMT]]></title>
			<link>https://teamscm.co.uk/thread-3823.html</link>
			<pubDate>Fri, 31 Jul 2026 22:42:32 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=4021">Caprica</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3823.html</guid>
			<description><![CDATA[I am working on a SGU dialing interface, and I have a client side model for both the stargate and the chevrons. <br />
<br />
Unlike the chevrons for SG1 and SGA they are not skins, but rather it is a different material. Using mat_texture_list in the console I found the material that it uses:<br />
<br />
the_sniper_9/universe/stargate/universechevronon<br />
<br />
When I try to set the client side model to the texture it does not work. Looking at the CAP code its a .vmt<br />
<br />
Is there a way to set the texture of this client side model?]]></description>
			<content:encoded><![CDATA[I am working on a SGU dialing interface, and I have a client side model for both the stargate and the chevrons. <br />
<br />
Unlike the chevrons for SG1 and SGA they are not skins, but rather it is a different material. Using mat_texture_list in the console I found the material that it uses:<br />
<br />
the_sniper_9/universe/stargate/universechevronon<br />
<br />
When I try to set the client side model to the texture it does not work. Looking at the CAP code its a .vmt<br />
<br />
Is there a way to set the texture of this client side model?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Reliably getting an entity's velocity clientside.]]></title>
			<link>https://teamscm.co.uk/thread-3816.html</link>
			<pubDate>Mon, 06 Apr 2026 03:39:19 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=1786">The17thDoctor</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3816.html</guid>
			<description><![CDATA[So I've been working on a starfall that requires getting an arbitrary entity's velocity no matter how this entity is being moved (whether through "natural" physics movements, drive core, parenting, etc..)<br />
<br />
I've tried using the <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">PhysObj:getVelocity()</span> method, however this does not work when the entity is being moved by a drive core for instance.<br />
I then tried to keep the last position of the entity and compare it to the current, however this produced artifacts when I tried doing that. I have theories on why but it's irrelevant to the problem.<br />
<br />
I'm really struggling to find a way to reliably get velocity without artifacts of sorts. Is there any way that exists or that could be implemented ?]]></description>
			<content:encoded><![CDATA[So I've been working on a starfall that requires getting an arbitrary entity's velocity no matter how this entity is being moved (whether through "natural" physics movements, drive core, parenting, etc..)<br />
<br />
I've tried using the <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">PhysObj:getVelocity()</span> method, however this does not work when the entity is being moved by a drive core for instance.<br />
I then tried to keep the last position of the entity and compare it to the current, however this produced artifacts when I tried doing that. I have theories on why but it's irrelevant to the problem.<br />
<br />
I'm really struggling to find a way to reliably get velocity without artifacts of sorts. Is there any way that exists or that could be implemented ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Spooky action at a distance, remote callbacks (server only, client doesnt work?)]]></title>
			<link>https://teamscm.co.uk/thread-3805.html</link>
			<pubDate>Sun, 21 Sep 2025 18:10:20 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=4021">Caprica</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3805.html</guid>
			<description><![CDATA[It is entirely possible to trigger a callback on a different starfall chip (if both are on servers).<br />
Below is  code that sends a function via channels, and in a different starfield chip I do a callback, and it will call the function (on the original chip).<br />
I have found it very useful. Though you cannot do the same with net (see bottom).<br />
<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
<br />
    hook.add( "playerbuttonup", "hookname", function( ply, key )<br />
<br />
        if ( key == input.KEY_8 ) then<br />
<br />
            print('SenderServer trigger')<br />
<br />
            if ( channels.canSend() ) then<br />
<br />
                local command = {}<br />
                command["callback"] = function(response)<br />
<br />
                    print('SenderServer ' .. response)<br />
                    serverResponse = response<br />
<br />
                end<br />
<br />
                channels.sendPrivate(command)<br />
<br />
            end<br />
<br />
        elseif ( key == input.KEY_7 ) then<br />
<br />
            print(serverResponse)<br />
<br />
        end<br />
<br />
    end )<br />
<br />
--ENTIRELY SEPERATE STARFALL--<br />
channels.listenPrivate( 'ReceiverTest', function(chip, received)<br />
<br />
        print('ReceiverNet received')<br />
<br />
        received["callback"](time.curTime())<br />
<br />
    end )<br />
<br />
</code></pre>
<br />
--NET Configuration--<br />
<br />
In this scenario, the callback doesnt work, as the function is not sent. If you print the table out the function is missing, i do not know if it was intentional. If it was possible to do this, it would be very cool as you could access variables directly. <br />
<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
<br />
if ( SERVER ) then<br />
<br />
    hook.add( "net", "hookname", function( length, player )<br />
<br />
        local received = net.readTable()<br />
<br />
        received["callback"](time.curTime())<br />
<br />
    end )<br />
<br />
    hook.add( "playerbuttonup", "hookname", function( ply, key )<br />
<br />
        if ( key == input.KEY_8 ) then<br />
<br />
            print('SenderServer trigger')<br />
<br />
            if ( channels.canSend() ) then<br />
<br />
                local command = {}<br />
                command["callback"] = function(response)<br />
<br />
                    print('SenderServer ' .. response)<br />
                    serverResponse = response<br />
<br />
                end<br />
<br />
                channels.sendPrivate(command)<br />
<br />
            end<br />
<br />
        elseif ( key == input.KEY_7 ) then<br />
<br />
            print(serverResponse)<br />
<br />
        end<br />
<br />
    end )<br />
<br />
elseif ( CLIENT ) then<br />
<br />
<br />
    hook.add( "playerbuttonup", "hookname", function( ply, key )<br />
<br />
        if ( key == input.KEY_9 ) then<br />
<br />
            print('SenderClient trigger')<br />
<br />
            if ( net.start() ) then<br />
<br />
                local command = {}<br />
                command["callback"] = function(response)<br />
<br />
                    print('SenderClient ' .. response)<br />
<br />
                end<br />
<br />
                net.writeTable(command)<br />
<br />
                net.sendToServer()<br />
<br />
            end<br />
<br />
        end<br />
<br />
<br />
    end )<br />
<br />
end<br />
<br />
</code></pre>]]></description>
			<content:encoded><![CDATA[It is entirely possible to trigger a callback on a different starfall chip (if both are on servers).<br />
Below is  code that sends a function via channels, and in a different starfield chip I do a callback, and it will call the function (on the original chip).<br />
I have found it very useful. Though you cannot do the same with net (see bottom).<br />
<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
<br />
    hook.add( "playerbuttonup", "hookname", function( ply, key )<br />
<br />
        if ( key == input.KEY_8 ) then<br />
<br />
            print('SenderServer trigger')<br />
<br />
            if ( channels.canSend() ) then<br />
<br />
                local command = {}<br />
                command["callback"] = function(response)<br />
<br />
                    print('SenderServer ' .. response)<br />
                    serverResponse = response<br />
<br />
                end<br />
<br />
                channels.sendPrivate(command)<br />
<br />
            end<br />
<br />
        elseif ( key == input.KEY_7 ) then<br />
<br />
            print(serverResponse)<br />
<br />
        end<br />
<br />
    end )<br />
<br />
--ENTIRELY SEPERATE STARFALL--<br />
channels.listenPrivate( 'ReceiverTest', function(chip, received)<br />
<br />
        print('ReceiverNet received')<br />
<br />
        received["callback"](time.curTime())<br />
<br />
    end )<br />
<br />
</code></pre>
<br />
--NET Configuration--<br />
<br />
In this scenario, the callback doesnt work, as the function is not sent. If you print the table out the function is missing, i do not know if it was intentional. If it was possible to do this, it would be very cool as you could access variables directly. <br />
<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
<br />
if ( SERVER ) then<br />
<br />
    hook.add( "net", "hookname", function( length, player )<br />
<br />
        local received = net.readTable()<br />
<br />
        received["callback"](time.curTime())<br />
<br />
    end )<br />
<br />
    hook.add( "playerbuttonup", "hookname", function( ply, key )<br />
<br />
        if ( key == input.KEY_8 ) then<br />
<br />
            print('SenderServer trigger')<br />
<br />
            if ( channels.canSend() ) then<br />
<br />
                local command = {}<br />
                command["callback"] = function(response)<br />
<br />
                    print('SenderServer ' .. response)<br />
                    serverResponse = response<br />
<br />
                end<br />
<br />
                channels.sendPrivate(command)<br />
<br />
            end<br />
<br />
        elseif ( key == input.KEY_7 ) then<br />
<br />
            print(serverResponse)<br />
<br />
        end<br />
<br />
    end )<br />
<br />
elseif ( CLIENT ) then<br />
<br />
<br />
    hook.add( "playerbuttonup", "hookname", function( ply, key )<br />
<br />
        if ( key == input.KEY_9 ) then<br />
<br />
            print('SenderClient trigger')<br />
<br />
            if ( net.start() ) then<br />
<br />
                local command = {}<br />
                command["callback"] = function(response)<br />
<br />
                    print('SenderClient ' .. response)<br />
<br />
                end<br />
<br />
                net.writeTable(command)<br />
<br />
                net.sendToServer()<br />
<br />
            end<br />
<br />
        end<br />
<br />
<br />
    end )<br />
<br />
end<br />
<br />
</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[3D context only in one render hook, intended or bug ?]]></title>
			<link>https://teamscm.co.uk/thread-3802.html</link>
			<pubDate>Fri, 02 May 2025 05:44:36 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=1786">The17thDoctor</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3802.html</guid>
			<description><![CDATA[Since the major overhaul of how emitters render, some SFs broke because of mainly the act of using multiple rendering hooks in the code.<br />
<br />
It seems the first rendering hook gets the privilege of starting 3D2Ds whereas the next ones can't. Is that expected (but undocumented) behaviour or a bug ?<br />
<br />
If it is expected, could it be documented ?]]></description>
			<content:encoded><![CDATA[Since the major overhaul of how emitters render, some SFs broke because of mainly the act of using multiple rendering hooks in the code.<br />
<br />
It seems the first rendering hook gets the privilege of starting 3D2Ds whereas the next ones can't. Is that expected (but undocumented) behaviour or a bug ?<br />
<br />
If it is expected, could it be documented ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[StarfallEX got exploited. Is TSCMFall safe?]]></title>
			<link>https://teamscm.co.uk/thread-3795.html</link>
			<pubDate>Mon, 24 Feb 2025 04:48:17 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=4847">ST2005</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3795.html</guid>
			<description><![CDATA[So, from what little do I know, someone from Wiremod Devteam (or someone who <span style="font-style: italic;" class="mycode_i">used to be</span> there) has discovered a serverside exploit in StarfallEX and attacked at least 2 servers, as well as spread information about it. Do we know if the exploit is present in TSCMFall? Can it be present there? Is TSCM at risk?]]></description>
			<content:encoded><![CDATA[So, from what little do I know, someone from Wiremod Devteam (or someone who <span style="font-style: italic;" class="mycode_i">used to be</span> there) has discovered a serverside exploit in StarfallEX and attacked at least 2 servers, as well as spread information about it. Do we know if the exploit is present in TSCMFall? Can it be present there? Is TSCM at risk?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to run heavy tasks without reaching quota ?]]></title>
			<link>https://teamscm.co.uk/thread-3793.html</link>
			<pubDate>Sun, 26 Jan 2025 23:15:33 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=1786">The17thDoctor</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3793.html</guid>
			<description><![CDATA[Since a few years now, I've had starfalls performing load-heavy tasks on people's client and one of the main problem with performing said tasks is to make sure code doesn't exceed quota.<br />
<br />
The most naïve but relatively reliable approach is to use cpuAverage / cpuMax &lt; threshold% and use that to decide whether an iteration of the heavy task will be able to run.<br />
However it's not the best and doesnt take into account other Starfalls that might be running clientside which also take from the client quota.<br />
<br />
I've been trying to think of smarter approaches to make sure quota won't be reached but I cannot think of any.<br />
Are there any alternative ?]]></description>
			<content:encoded><![CDATA[Since a few years now, I've had starfalls performing load-heavy tasks on people's client and one of the main problem with performing said tasks is to make sure code doesn't exceed quota.<br />
<br />
The most naïve but relatively reliable approach is to use cpuAverage / cpuMax &lt; threshold% and use that to decide whether an iteration of the heavy task will be able to run.<br />
However it's not the best and doesnt take into account other Starfalls that might be running clientside which also take from the client quota.<br />
<br />
I've been trying to think of smarter approaches to make sure quota won't be reached but I cannot think of any.<br />
Are there any alternative ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SFMesh format for custom meshes]]></title>
			<link>https://teamscm.co.uk/thread-3790.html</link>
			<pubDate>Wed, 24 Jul 2024 19:35:39 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=5">Veegi</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3790.html</guid>
			<description><![CDATA[I've released my SFMesh format specification, my Blender add-on, and a parser library in SF. This allows for easy exporting of custom mesh data from Blender into Starfall.<br />
<br />
The spec and Blender add-on are available at <a href="https://github.com/Veegi/sfmesh" target="_blank" rel="noopener" class="mycode_url">https://github.com/Veegi/sfmesh</a><br />
<br />
The Starfall files are in my shared folder, and they include a decent example.<br />
The example uses a coroutine wrapper I wrote which I've released with execute permissions only, as it's not in a stable state right now.<br />
<br />
Unfortunately GitHub Pages costs money so I can't host the docs for the two libraries there, but the parser is open source and I can provide the docs for the coroutine wrapper if someone really wants them.<br />
<br />
Feel free to ask me if there's anything unclear about any of these, or if you need help otherwise. Suggestions are also welcome.]]></description>
			<content:encoded><![CDATA[I've released my SFMesh format specification, my Blender add-on, and a parser library in SF. This allows for easy exporting of custom mesh data from Blender into Starfall.<br />
<br />
The spec and Blender add-on are available at <a href="https://github.com/Veegi/sfmesh" target="_blank" rel="noopener" class="mycode_url">https://github.com/Veegi/sfmesh</a><br />
<br />
The Starfall files are in my shared folder, and they include a decent example.<br />
The example uses a coroutine wrapper I wrote which I've released with execute permissions only, as it's not in a stable state right now.<br />
<br />
Unfortunately GitHub Pages costs money so I can't host the docs for the two libraries there, but the parser is open source and I can provide the docs for the coroutine wrapper if someone really wants them.<br />
<br />
Feel free to ask me if there's anything unclear about any of these, or if you need help otherwise. Suggestions are also welcome.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Futures/Async Runtime]]></title>
			<link>https://teamscm.co.uk/thread-3788.html</link>
			<pubDate>Sat, 01 Jun 2024 21:58:06 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=3617">57e11a</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3788.html</guid>
			<description><![CDATA[Hey everyone! I've been working on a library for futures/promises/async/whateverthehellyouwanttocallthem. It's built on coroutines and has a bunch of logic for jumping into and out of them.<br />
<br />
<span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut</span> API:<ul class="mycode_list"><li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.async(fn: func(args...) -&gt; ?) -&gt; (func(args...) -&gt; Future&lt;?&gt;)</span><br />
Create an async function, when called, returns a future that wakes when the function returns with the given return value.<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.new() -&gt; Future&lt;T&gt;, func(value: T, silent: bool)</span><br />
Returns a future and a function that wakes the future with a given <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">value</span>. Pass <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">true</span> into the <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">silent</span> parameter to prevent an error when trying to wake the future after it's already been woken.<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.join(futures: Future&lt;?&gt;[]) -&gt; Future&lt;?[]&gt;</span><br />
"Joins" the futures into one, when all of them have woken, the returned future will wake with an array of values corresponding to the returned values of the given futures (in the same order).<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.race(futures: Future&lt;?&gt;[]) -&gt; Future&lt;?&gt;</span><br />
"Races" the futures into one, the first that wakes will wake the returned future with its' value.<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.delay(time: number, value: ?) -&gt; Future&lt;?&gt;</span><br />
Helper function to create a future that wakes with the given <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">value</span> after the given amount of time.<br />
</li>
</ul>
<br />
<span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">Future</span> API:<ul class="mycode_list"><li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">Future&lt;T&gt;:await() -&gt; T</span><br />
<span style="color: red;" class="mycode_color">Must run inside an async function</span><br />
Suspends the current async function until the future wakes (akin to <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">await promise</span> in JavaScript)<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">Future&lt;T&gt;:on(func(value: T))</span><br />
Runs a function when the future wakes (akin to <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">promise.then(value =&gt; ...)</span> in JavaScript)<br />
</li>
</ul>
<br />
Example:<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
--@dependency STEAM_0:1:180222680 anisu/lib/fut.txt async<br />
local fut = require('anisu/lib/fut.txt')<br />
<br />
local inner = fut.async(function(value)<br />
    print('inner before')<br />
    fut.delay(5):await()<br />
    print('inner after')<br />
    return value<br />
end)<br />
<br />
local main = fut.async(function(you, can, have, args)<br />
    --[[--<br />
    output:<br />
        1 2 3 4<br />
    --]]--<br />
    print(you, can, have, args)<br />
    <br />
    --[[--<br />
    output:<br />
        outer before<br />
        inner before<br />
        &lt;5s wait&gt;<br />
        inner after<br />
        42<br />
        outer after<br />
    --]]--<br />
    print('RUNNING TEST sequence')<br />
    print('outer before')<br />
    print(inner(42):await())<br />
    print('outer after')<br />
<br />
    --[[--<br />
    output:<br />
        outer before<br />
        inner before<br />
        outer after invoke<br />
        &lt;5s wait&gt;<br />
        inner after<br />
        42<br />
        outer after await<br />
    --]]--<br />
    print('RUNNING TEST simul')<br />
    print('outer before')<br />
    local f = inner(42)<br />
    print('outer after invoke')<br />
    print(f:await())<br />
    print('outer after await')<br />
<br />
    --[[--<br />
    output:<br />
        before<br />
        &lt;2s wait&gt;<br />
        42<br />
        after<br />
    --]]--<br />
    print('RUNNING TEST race')<br />
    print('before')<br />
    -- wakes after first future wakes<br />
    print(fut.race {<br />
        fut.delay(1, 42),<br />
        fut.delay(2, 69),<br />
    }:await())<br />
    print('after')<br />
<br />
    --[[--<br />
    output:<br />
        before<br />
        &lt;1s wait&gt;<br />
        {42, 69}<br />
        after<br />
    --]]--<br />
    print('RUNNING TEST join')<br />
    print('before')<br />
    -- wakes after last future wakes<br />
    print(fut.join {<br />
        fut.delay(1, 42),<br />
        fut.delay(2, 69),<br />
    }:await())<br />
    print('after')<br />
<br />
    --[[--<br />
    output:<br />
    before<br />
    &lt;2s wait&gt;<br />
    after<br />
    --]]--<br />
    print('RUNNING TEST custom delay')<br />
    <br />
    -- literally the implementation of fut.delay<br />
    local function delay(time, value)<br />
        local f, wake = fut.new()<br />
        timer.simple(time, function() wake(value) end)<br />
        return f<br />
    end<br />
<br />
    print('before')<br />
    delay(2):await()<br />
    print('after')<br />
<br />
    return 69<br />
end)<br />
<br />
-- prints 69 after the rest of everything is done<br />
main(1, 2, 3, 4):on(print)<br />
</code></pre>]]></description>
			<content:encoded><![CDATA[Hey everyone! I've been working on a library for futures/promises/async/whateverthehellyouwanttocallthem. It's built on coroutines and has a bunch of logic for jumping into and out of them.<br />
<br />
<span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut</span> API:<ul class="mycode_list"><li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.async(fn: func(args...) -&gt; ?) -&gt; (func(args...) -&gt; Future&lt;?&gt;)</span><br />
Create an async function, when called, returns a future that wakes when the function returns with the given return value.<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.new() -&gt; Future&lt;T&gt;, func(value: T, silent: bool)</span><br />
Returns a future and a function that wakes the future with a given <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">value</span>. Pass <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">true</span> into the <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">silent</span> parameter to prevent an error when trying to wake the future after it's already been woken.<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.join(futures: Future&lt;?&gt;[]) -&gt; Future&lt;?[]&gt;</span><br />
"Joins" the futures into one, when all of them have woken, the returned future will wake with an array of values corresponding to the returned values of the given futures (in the same order).<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.race(futures: Future&lt;?&gt;[]) -&gt; Future&lt;?&gt;</span><br />
"Races" the futures into one, the first that wakes will wake the returned future with its' value.<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">fut.delay(time: number, value: ?) -&gt; Future&lt;?&gt;</span><br />
Helper function to create a future that wakes with the given <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">value</span> after the given amount of time.<br />
</li>
</ul>
<br />
<span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">Future</span> API:<ul class="mycode_list"><li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">Future&lt;T&gt;:await() -&gt; T</span><br />
<span style="color: red;" class="mycode_color">Must run inside an async function</span><br />
Suspends the current async function until the future wakes (akin to <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">await promise</span> in JavaScript)<br />
</li>
<li><span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">Future&lt;T&gt;:on(func(value: T))</span><br />
Runs a function when the future wakes (akin to <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">promise.then(value =&gt; ...)</span> in JavaScript)<br />
</li>
</ul>
<br />
Example:<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
--@dependency STEAM_0:1:180222680 anisu/lib/fut.txt async<br />
local fut = require('anisu/lib/fut.txt')<br />
<br />
local inner = fut.async(function(value)<br />
    print('inner before')<br />
    fut.delay(5):await()<br />
    print('inner after')<br />
    return value<br />
end)<br />
<br />
local main = fut.async(function(you, can, have, args)<br />
    --[[--<br />
    output:<br />
        1 2 3 4<br />
    --]]--<br />
    print(you, can, have, args)<br />
    <br />
    --[[--<br />
    output:<br />
        outer before<br />
        inner before<br />
        &lt;5s wait&gt;<br />
        inner after<br />
        42<br />
        outer after<br />
    --]]--<br />
    print('RUNNING TEST sequence')<br />
    print('outer before')<br />
    print(inner(42):await())<br />
    print('outer after')<br />
<br />
    --[[--<br />
    output:<br />
        outer before<br />
        inner before<br />
        outer after invoke<br />
        &lt;5s wait&gt;<br />
        inner after<br />
        42<br />
        outer after await<br />
    --]]--<br />
    print('RUNNING TEST simul')<br />
    print('outer before')<br />
    local f = inner(42)<br />
    print('outer after invoke')<br />
    print(f:await())<br />
    print('outer after await')<br />
<br />
    --[[--<br />
    output:<br />
        before<br />
        &lt;2s wait&gt;<br />
        42<br />
        after<br />
    --]]--<br />
    print('RUNNING TEST race')<br />
    print('before')<br />
    -- wakes after first future wakes<br />
    print(fut.race {<br />
        fut.delay(1, 42),<br />
        fut.delay(2, 69),<br />
    }:await())<br />
    print('after')<br />
<br />
    --[[--<br />
    output:<br />
        before<br />
        &lt;1s wait&gt;<br />
        {42, 69}<br />
        after<br />
    --]]--<br />
    print('RUNNING TEST join')<br />
    print('before')<br />
    -- wakes after last future wakes<br />
    print(fut.join {<br />
        fut.delay(1, 42),<br />
        fut.delay(2, 69),<br />
    }:await())<br />
    print('after')<br />
<br />
    --[[--<br />
    output:<br />
    before<br />
    &lt;2s wait&gt;<br />
    after<br />
    --]]--<br />
    print('RUNNING TEST custom delay')<br />
    <br />
    -- literally the implementation of fut.delay<br />
    local function delay(time, value)<br />
        local f, wake = fut.new()<br />
        timer.simple(time, function() wake(value) end)<br />
        return f<br />
    end<br />
<br />
    print('before')<br />
    delay(2):await()<br />
    print('after')<br />
<br />
    return 69<br />
end)<br />
<br />
-- prints 69 after the rest of everything is done<br />
main(1, 2, 3, 4):on(print)<br />
</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help required with overrideBlend]]></title>
			<link>https://teamscm.co.uk/thread-3786.html</link>
			<pubDate>Wed, 29 Nov 2023 21:24:03 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=1786">The17thDoctor</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3786.html</guid>
			<description><![CDATA[I must say render.overrideBlend gives me a real headache. Im having trouble seeing how this function behaves and neither the GMod Wiki nor the OpenGL docs are helping me.<br />
<br />
What I want is to apply some color atop of a texture with varying alpha such as fully opaque parts of the texture will be e.g fully red and other parts just transparent red.]]></description>
			<content:encoded><![CDATA[I must say render.overrideBlend gives me a real headache. Im having trouble seeing how this function behaves and neither the GMod Wiki nor the OpenGL docs are helping me.<br />
<br />
What I want is to apply some color atop of a texture with varying alpha such as fully opaque parts of the texture will be e.g fully red and other parts just transparent red.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Clarification about textures & materials]]></title>
			<link>https://teamscm.co.uk/thread-3781.html</link>
			<pubDate>Wed, 26 Apr 2023 20:33:43 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=1786">The17thDoctor</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3781.html</guid>
			<description><![CDATA[When I'm creating special effects, I really enjoy browsing the tons of materials and textures available (using mat_texture_list 1) but I'm quite confused as there's a ton of them that will simply not render.<br />
<br />
Is there any "rule" that could tell if a certain texture / material can or cant be used with SF ?]]></description>
			<content:encoded><![CDATA[When I'm creating special effects, I really enjoy browsing the tons of materials and textures available (using mat_texture_list 1) but I'm quite confused as there's a ton of them that will simply not render.<br />
<br />
Is there any "rule" that could tell if a certain texture / material can or cant be used with SF ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Interactive TSCM Map V1]]></title>
			<link>https://teamscm.co.uk/thread-3767.html</link>
			<pubDate>Mon, 26 Sep 2022 17:49:50 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=1958">Avorius</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3767.html</guid>
			<description><![CDATA[I present to you my latest starfall, with a lot of help from The17thDoctor.<br />
<br />
Its a simple interactive map using the real world positions of each planet on TSCM, scaled down to fit inside a lil PCB.<br />
<br />
The code can be found <a href="https://pastebin.com/9CMT7ZQ3" target="_blank" rel="noopener" class="mycode_url">here</a> or on my starfall shared under 'George &gt; Public &gt; interactivemap.txt'<br />
<br />
<img src="https://i.imgur.com/feBv5fK.png" loading="lazy"  width="512" height="512" alt="[Image: feBv5fK.png]" class="mycode_img" /><img src="https://i.imgur.com/SqkfOzY.png" loading="lazy"  width="512" height="512" alt="[Image: SqkfOzY.png]" class="mycode_img" /><br />
<br />
Future plans for this will be to make it a fully fledged radar type system, displaying peoples ships/shuttles even outside of each planet.<br />
<br />
I hope you enjoy the map! <br />
If any bugs/errors pop up make a reply to this thread, or message me on discord (Avorius#6114)<br />
<br />
- George]]></description>
			<content:encoded><![CDATA[I present to you my latest starfall, with a lot of help from The17thDoctor.<br />
<br />
Its a simple interactive map using the real world positions of each planet on TSCM, scaled down to fit inside a lil PCB.<br />
<br />
The code can be found <a href="https://pastebin.com/9CMT7ZQ3" target="_blank" rel="noopener" class="mycode_url">here</a> or on my starfall shared under 'George &gt; Public &gt; interactivemap.txt'<br />
<br />
<img src="https://i.imgur.com/feBv5fK.png" loading="lazy"  width="512" height="512" alt="[Image: feBv5fK.png]" class="mycode_img" /><img src="https://i.imgur.com/SqkfOzY.png" loading="lazy"  width="512" height="512" alt="[Image: SqkfOzY.png]" class="mycode_img" /><br />
<br />
Future plans for this will be to make it a fully fledged radar type system, displaying peoples ships/shuttles even outside of each planet.<br />
<br />
I hope you enjoy the map! <br />
If any bugs/errors pop up make a reply to this thread, or message me on discord (Avorius#6114)<br />
<br />
- George]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to get into Starfall]]></title>
			<link>https://teamscm.co.uk/thread-3765.html</link>
			<pubDate>Tue, 20 Sep 2022 12:29:55 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=1786">The17thDoctor</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3765.html</guid>
			<description><![CDATA[During my time on TSCM, I've seen a lot of people wanting to get into starfall with more or less success. Getting into starfall can be quite complicated when you have no knowledge in code whatsoever and I've seen alot of people just give up trying.<br />
I've been here too, I went from being someone who had little to no knowledge about coding to becoming someone who helps people with coding endeavours on a regular basis and releasing scripts to make people's life easier, going from the most basics to mainframes (without learning anything at school).<br />
<br />
So here I'd like to share some of my tips on how to learn Starfall starting from scratch aswell as giving some tips to people who want to help people learn.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #ff857a;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">Disclaimer: This guide aims to give my learning &amp; teaching experiences and is in no way a universal guide on how to get good. I cannot ensure you that this method will work with you. Moreover, learning starfall as a whole is not easy, this guide just aims at giving you guidance on how to make it easier and not give up early, however you will have to invest some of your time and braincells into the matter.</span></span></span><br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">I. Coding is reading</span></span><br />
Most like any other complex topics, reading is a crucial step in the process of learning how to code. You will find yourself always having a documentation tab opened in your editor aswell as other kinds of documentation sources like guides and wiki pages. Every time you're getting stuck on something, there will be some source of knowledge that can help you getting unstuck with your problems. From other players' advices to internet answers.<br />
Here's a few good sources of information in order to learn and solve your problems:<ul class="mycode_list"><li><a href="http://www.lua.org/pil/1.html" target="_blank" rel="noopener" class="mycode_url">Lua's Official Guide</a><br />
</li>
<li><a href="https://teamscm.co.uk/thread-7.html" target="_blank" rel="noopener" class="mycode_url">Person8880's Official Starfall Tutorial</a><br />
</li>
<li><a href="https://teamscm.co.uk/thread-3081.html" target="_blank" rel="noopener" class="mycode_url">My Starfall Shared Area Tutorial</a><br />
</li>
<li><a href="https://stackoverflow.com" target="_blank" rel="noopener" class="mycode_url">Stack Overflow</a> (General help with lua problems)<br />
</li>
</ul>
<br />
<span style="text-decoration: underline;" class="mycode_u">Note: Stack Overflow is very good at giving you answers directly in the form of code. However I greatly recommend reading people's explanation to how that code might work. Simply copy-pasting will lead you into using code you don't understand and thus not learning how it works.</span><br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">II. Familiarise yourself with the environment</span></span><br />
Most like any complex tools like Hammer Editor ; Photoshop ; Illustrator etc.. Starfall (and programming languages in general) have its share of tabs, technical terms and specific syntax codes one needs to learn in order to use it properly. Getting to know how to use the editor correctly, learning the meaning of errors and learning how to use the shared area correctly are key steps in making your learning experience much smoother and overall better. When the tools you use are not an obstacle to face but a platform to base yourself on, solving problems is becoming all the more trivial and satisfying.<br />
<br />
I highly recommend reading <a href="https://wiki.facepunch.com/gmod/Lua_Error_Explanation" target="_blank" rel="noopener" class="mycode_url">Garry's Mod Wiki ; Lua Error Explanations</a> in order to understand why your code is erroring and how to fix it. Errors are probably the most important thing to understand when debugging code. Knowing why something errors paves the way to solving it.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">III. Start simple</span></span><br />
When you see some people making stunning starfall stunts and complex codes, it might inspire you to start doing the same. However it takes time to get here and the easiest way to demotivate yourself and stop starfall altogether is to start with complex stuff. I would recommend starting with making simple scripts like chat bots, warp chips or simple screens in order to get familiar with some of the inner workings of Starfall.<br />
Do not be ashamed if you can't do stuff that's as great as other people. Be proud of what you can do instead of looking at what you can't. The more you do, the more you will be <span style="font-style: italic;" class="mycode_i">able </span>to do<span style="font-style: italic;" class="mycode_i">.</span><br />
If when trying to do something, you face a problem that looks too complicated for you to handle, also consider using libraries from other people. The shared area has plenty of those.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">IV. Persevere to succeed</span></span><br />
When facing a stubborn problem in your code, you might end up getting frustrated and not understand <span style="font-style: italic;" class="mycode_i">"Why in hell isn't it working!"</span>. My biggest advice here would be to keep on trying. And if you really can't figure it out, take a break. If it's getting late, go sleep and when waking up tomorrow and getting back to it, you'll most probably discover a new approach to the problem and solving it might seem trivial.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">V. Do not hesitate asking for help</span></span><br />
When you face a problem you really can't figure out on your own, there's always the option to ask people for help. Every experienced coder will be glad to help you in solving your problem.<br />
You can ask for help in the server chat. If coders are around, they'll generally come and help. If nobody is on, consider checking the coding channel in the community's <a href="https://discord.gg/EsZmhAQZPg" target="_blank" rel="noopener" class="mycode_url">discord server</a>.<br />
There's always someone to come and help.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">VI. Practice regularly</span></span><br />
Like sports, coding takes regular practice in order to progress and keep your knowledge up to date. If you can, try and code on a daily basis or a few days a week. The more you code, the more you will learn.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">VII. Decompose the problem</span></span><br />
Tackling a complex problem head on is a good way to confuse you and not know where to even start.<br />
Try and decompose the problem into smaller, problems. If those problems are still too complicated, decompose even further until you know how to solve them.<br />
This problem decomposition method is one of the key factor in getting to create more complex code alongside general experience with the language.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">VIII. Do not be afraid to have badly written code</span></span><br />
It is by nature that your first codes will never be great. Indentation might be bad, some functions will be less than optimised and what could be done in 3 lines will be done in 30. But that's ok. The more you learn the more you will learn how to do code that is efficient, time saving and easy to read / understand.<br />
<br />
<br />
All those tips should help you make learning Starfall an enjoyable experience with way less problems than without. It worked for me so I hope it will for you.<br />
Feel free to also share your struggles and the way you faced them in this thread as a way to help enriching and help people learn better.<br />
We need more coders out there and anyone who wants to start is always welcome with open hands.<br />
<br />
<br />
<span style="font-size: large;" class="mycode_size"><span style="text-decoration: underline;" class="mycode_u">On to Teaching</span></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">I. Be comprehensive &amp; supportive</span></span><br />
When trying to help someone, it is more than useless and even bad to laugh at someone for their dumb mistakes. Coding can be hard to understand and people who do not have a coding mindset yet are likely to not understand things. Instead of that, try to understand their problem with calm and respect and suggesting a solution that solves their problem. When someone asks for something and gets the answer they wanted, it makes it satisfying and gives them a nice opinion of you.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">II. Do not take anything for granted</span></span><br />
While it may seem easy for you to know what a nil value is or what does <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">Attempting to index global myVar (a nil value)</span> mean, remember that people starting with code do not know anything about those technical terms. Try to explain using metaphores and comparisons. Instead of explaining that a table is an ordered data structure stored in memory, just say that its a box, with objects inside.<br />
Instead of saying a function takes in an argument and outputs a result, say its a closed box that takes in a piece of paper with information and gives you back another piece of paper with something else written on it, etc..<br />
Making comparisons with everyday objects help people understanding how code works at a base level with everyday life objects.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">III. Don't just give someone fish</span></span><br />
It might seem like the easy way to just throw code at someone and telling them "it does what you asked" and while indeed its easy to do that, it gives no insight as to what that code does to the person learning.<br />
Instead you might want to explain to them step by step how they can solve their problem aswell as giving them key functions in order to accomplish what they want.<br />
That way they can learn how to solve that problem themselves while learning how to solve it.<br />
<br />
These advices should help you teaching people better. Remember that teaching is never easy, it takes in a lot of patience when you are helping someone to code a starfall from start to finish.<br />
But the reward of seeing him enjoying his new piece of code and being grateful towards you is just great and is what motivates me in doing everything I do for people.<br />
<br />
As always, feel free to also share some of your teaching experiences in this thread.]]></description>
			<content:encoded><![CDATA[During my time on TSCM, I've seen a lot of people wanting to get into starfall with more or less success. Getting into starfall can be quite complicated when you have no knowledge in code whatsoever and I've seen alot of people just give up trying.<br />
I've been here too, I went from being someone who had little to no knowledge about coding to becoming someone who helps people with coding endeavours on a regular basis and releasing scripts to make people's life easier, going from the most basics to mainframes (without learning anything at school).<br />
<br />
So here I'd like to share some of my tips on how to learn Starfall starting from scratch aswell as giving some tips to people who want to help people learn.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #ff857a;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">Disclaimer: This guide aims to give my learning &amp; teaching experiences and is in no way a universal guide on how to get good. I cannot ensure you that this method will work with you. Moreover, learning starfall as a whole is not easy, this guide just aims at giving you guidance on how to make it easier and not give up early, however you will have to invest some of your time and braincells into the matter.</span></span></span><br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">I. Coding is reading</span></span><br />
Most like any other complex topics, reading is a crucial step in the process of learning how to code. You will find yourself always having a documentation tab opened in your editor aswell as other kinds of documentation sources like guides and wiki pages. Every time you're getting stuck on something, there will be some source of knowledge that can help you getting unstuck with your problems. From other players' advices to internet answers.<br />
Here's a few good sources of information in order to learn and solve your problems:<ul class="mycode_list"><li><a href="http://www.lua.org/pil/1.html" target="_blank" rel="noopener" class="mycode_url">Lua's Official Guide</a><br />
</li>
<li><a href="https://teamscm.co.uk/thread-7.html" target="_blank" rel="noopener" class="mycode_url">Person8880's Official Starfall Tutorial</a><br />
</li>
<li><a href="https://teamscm.co.uk/thread-3081.html" target="_blank" rel="noopener" class="mycode_url">My Starfall Shared Area Tutorial</a><br />
</li>
<li><a href="https://stackoverflow.com" target="_blank" rel="noopener" class="mycode_url">Stack Overflow</a> (General help with lua problems)<br />
</li>
</ul>
<br />
<span style="text-decoration: underline;" class="mycode_u">Note: Stack Overflow is very good at giving you answers directly in the form of code. However I greatly recommend reading people's explanation to how that code might work. Simply copy-pasting will lead you into using code you don't understand and thus not learning how it works.</span><br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">II. Familiarise yourself with the environment</span></span><br />
Most like any complex tools like Hammer Editor ; Photoshop ; Illustrator etc.. Starfall (and programming languages in general) have its share of tabs, technical terms and specific syntax codes one needs to learn in order to use it properly. Getting to know how to use the editor correctly, learning the meaning of errors and learning how to use the shared area correctly are key steps in making your learning experience much smoother and overall better. When the tools you use are not an obstacle to face but a platform to base yourself on, solving problems is becoming all the more trivial and satisfying.<br />
<br />
I highly recommend reading <a href="https://wiki.facepunch.com/gmod/Lua_Error_Explanation" target="_blank" rel="noopener" class="mycode_url">Garry's Mod Wiki ; Lua Error Explanations</a> in order to understand why your code is erroring and how to fix it. Errors are probably the most important thing to understand when debugging code. Knowing why something errors paves the way to solving it.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">III. Start simple</span></span><br />
When you see some people making stunning starfall stunts and complex codes, it might inspire you to start doing the same. However it takes time to get here and the easiest way to demotivate yourself and stop starfall altogether is to start with complex stuff. I would recommend starting with making simple scripts like chat bots, warp chips or simple screens in order to get familiar with some of the inner workings of Starfall.<br />
Do not be ashamed if you can't do stuff that's as great as other people. Be proud of what you can do instead of looking at what you can't. The more you do, the more you will be <span style="font-style: italic;" class="mycode_i">able </span>to do<span style="font-style: italic;" class="mycode_i">.</span><br />
If when trying to do something, you face a problem that looks too complicated for you to handle, also consider using libraries from other people. The shared area has plenty of those.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">IV. Persevere to succeed</span></span><br />
When facing a stubborn problem in your code, you might end up getting frustrated and not understand <span style="font-style: italic;" class="mycode_i">"Why in hell isn't it working!"</span>. My biggest advice here would be to keep on trying. And if you really can't figure it out, take a break. If it's getting late, go sleep and when waking up tomorrow and getting back to it, you'll most probably discover a new approach to the problem and solving it might seem trivial.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">V. Do not hesitate asking for help</span></span><br />
When you face a problem you really can't figure out on your own, there's always the option to ask people for help. Every experienced coder will be glad to help you in solving your problem.<br />
You can ask for help in the server chat. If coders are around, they'll generally come and help. If nobody is on, consider checking the coding channel in the community's <a href="https://discord.gg/EsZmhAQZPg" target="_blank" rel="noopener" class="mycode_url">discord server</a>.<br />
There's always someone to come and help.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">VI. Practice regularly</span></span><br />
Like sports, coding takes regular practice in order to progress and keep your knowledge up to date. If you can, try and code on a daily basis or a few days a week. The more you code, the more you will learn.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">VII. Decompose the problem</span></span><br />
Tackling a complex problem head on is a good way to confuse you and not know where to even start.<br />
Try and decompose the problem into smaller, problems. If those problems are still too complicated, decompose even further until you know how to solve them.<br />
This problem decomposition method is one of the key factor in getting to create more complex code alongside general experience with the language.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">VIII. Do not be afraid to have badly written code</span></span><br />
It is by nature that your first codes will never be great. Indentation might be bad, some functions will be less than optimised and what could be done in 3 lines will be done in 30. But that's ok. The more you learn the more you will learn how to do code that is efficient, time saving and easy to read / understand.<br />
<br />
<br />
All those tips should help you make learning Starfall an enjoyable experience with way less problems than without. It worked for me so I hope it will for you.<br />
Feel free to also share your struggles and the way you faced them in this thread as a way to help enriching and help people learn better.<br />
We need more coders out there and anyone who wants to start is always welcome with open hands.<br />
<br />
<br />
<span style="font-size: large;" class="mycode_size"><span style="text-decoration: underline;" class="mycode_u">On to Teaching</span></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">I. Be comprehensive &amp; supportive</span></span><br />
When trying to help someone, it is more than useless and even bad to laugh at someone for their dumb mistakes. Coding can be hard to understand and people who do not have a coding mindset yet are likely to not understand things. Instead of that, try to understand their problem with calm and respect and suggesting a solution that solves their problem. When someone asks for something and gets the answer they wanted, it makes it satisfying and gives them a nice opinion of you.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">II. Do not take anything for granted</span></span><br />
While it may seem easy for you to know what a nil value is or what does <span style="box-sizing:border-box;background-color: #333;font-family: Consolas, monospace;padding: 2px;padding-left:4px;padding-right:4px;color:#fff;border-radius:4px;display:inline-block;">Attempting to index global myVar (a nil value)</span> mean, remember that people starting with code do not know anything about those technical terms. Try to explain using metaphores and comparisons. Instead of explaining that a table is an ordered data structure stored in memory, just say that its a box, with objects inside.<br />
Instead of saying a function takes in an argument and outputs a result, say its a closed box that takes in a piece of paper with information and gives you back another piece of paper with something else written on it, etc..<br />
Making comparisons with everyday objects help people understanding how code works at a base level with everyday life objects.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">III. Don't just give someone fish</span></span><br />
It might seem like the easy way to just throw code at someone and telling them "it does what you asked" and while indeed its easy to do that, it gives no insight as to what that code does to the person learning.<br />
Instead you might want to explain to them step by step how they can solve their problem aswell as giving them key functions in order to accomplish what they want.<br />
That way they can learn how to solve that problem themselves while learning how to solve it.<br />
<br />
These advices should help you teaching people better. Remember that teaching is never easy, it takes in a lot of patience when you are helping someone to code a starfall from start to finish.<br />
But the reward of seeing him enjoying his new piece of code and being grateful towards you is just great and is what motivates me in doing everything I do for people.<br />
<br />
As always, feel free to also share some of your teaching experiences in this thread.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Genesis Warp Chip]]></title>
			<link>https://teamscm.co.uk/thread-3762.html</link>
			<pubDate>Wed, 17 Aug 2022 17:23:18 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=1958">Avorius</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3762.html</guid>
			<description><![CDATA[Hello all,<br />
<br />
I recently updated my old warp chip to and thought I should share it here, as I did with the last variation. Its pretty easy to use, <br />
and free for anyone to modify (but not release/give out claiming it's your own)<br />
<br />
<br />
Current commands:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/warp to &lt;location&gt;
/warp rotate &lt;angle&gt;
/warp back/return
/warp here/me</code></div></div><br />
The code for the Starfall will be below, and a text file attached so everyone has an option of how they want to download it. Its also on my Starfall Shared under 'Shared &gt; George &gt; Public &gt; GenesisWarpChip.txt'<br />
<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>--@name Genesis Warp Chip
--@author George
--@class processor
--@dependency STEAM_0:0:145101342 libs/mcs.txt
--@dependency STEAM_0:0:145101342 genesismainframe/libs/gm-locations.txt sv
--@dependency STEAM_0:0:145101342 genesismainframe/libs/gm-wirelinks.txt sv

require("libs/mcs.txt")

--[[
--TO BE ADDED--
-Precision warping
-Drive switching
-Any other fancy suggestions
]]

----------------------------------------------------
MCSVars["ChatTag"] = "Genesis Warp Module"
MCSVars["TagColour"] = Color(100,255,125)
MCSVars["ChatColour"] = Color(255,255,255)
MCSVars["ChatPrefix"] = "/"
----------------------------------------------------

drives = {
	wirelinks["bsg_drive"],
	wirelinks["sg_hyperdrive"],
	wirelinks["quantum_slipstream_drive"],
	wirelinks["ship_drive"],
	wirelinks["spore_drive"],
	wirelinks["st_warp_drive"]
}

aDrive = drives[1] -- drives[1] will always be default

locMatch = Vector()
locName = ""
function locFinder(loc)
	local isMatch = false
	for k, v in pairs(WarpVecs) do
		if string.find(k:lower(), loc:lower()) ~= nil and not isMatch then --Removing capitals during the find
			isMatch = true
			locName = k
			locMatch = v
		end
	end

	if not isMatch then
		broadcast("Could not find suitable location with key '"..loc.."', please try again")
		locMatch = Vector()
		return
	end
end

prevLoc = Vector()
ogAngle = aDrive[1]:entity():ang()
warpReturn = false
function warpControl(state,x)
	if aDrive[1] ~= nil then
		if state == "warp" then
			if x ~= Vector(0,0,0) then
				prevLoc = aDrive[1]:entity():pos()
				broadcast("Engaging drive. Jumping to: ",MCSVars["TagColour"],locName,MCSVars["ChatColour"],".")
				aDrive[1]["Destination"] = x
				aDrive[1]["Activate"] = 1
			end

		elseif state == "here" then
			if not stargate.locationJammed(ents.owner():pos()) then
				prevLoc = aDrive[1]:entity():pos()
				broadcast("Engaging drive. Jumping to you.")
				aDrive[1]["Destination"] = ents.owner():pos()
				aDrive[1]["Activate"] = 1
			end

		elseif state == "back" then
			if prevLoc ~= Vector() and not warpReturn then
				broadcast("Engaging Drive. Returning to previous location.")
				aDrive[1]["Destination"] = Vector(prevLoc)
				aDrive[1]["Activate"] = 1
				warpReturn = true
			else
				broadcast("You don't have a previous location to jump to.")
			end
		elseif state == "rotate" then
			if x ~= nil then
				broadcast("Engaging Drive. Rotating ship by "..x.."°.")
				aDrive[1]["Destination"] = aDrive[1]:entity():pos()
				aDrive[1]["Angle Offset"] = Angle(aDrive[1]:entity():ang().p, tonumber(x), aDrive[1]:entity():ang().r)
				aDrive[1]["Activate"] = 1
				aDrive[1]["Angle Offset"] = Angle()
			end
		elseif state == "up" or state == "down" or state == "left" or state == "right" or state == "forward" or state == "backward" then
			broadcast("Precision movement offline. To be fixed soon.")
		end
	else
		broadcast(Color(255,50,50),"WARNING &gt;&gt; ",MCSVars["ChatColour"], "Ship does not have a valid Warp Drive.")
	end
end

createCMD("warp", function(a1,a2)
	if aDrive[1] ~= nil then
		if a1 ~= nil then
			if a1 == "to" then
				if a2 ~= nil then
					locFinder(a2)
					warpControl("warp",locMatch)
				end
			elseif a1 == "here" or a1 == "me" then
				warpControl("here")
			elseif a1 == "back" or a1 == "return" then
				warpControl("back")
			elseif a1 == "rotate" then
				if a2 ~= nil then
					warpControl("rotate",a2)
				end
			elseif a1 == "up" then
				if a2 ~= nil then
					warpControl("up",a2)
				end
			elseif a1 == "down" then
				if a2 ~= nil then
					warpControl("down",a2)
				end
			elseif a1 == "left" then
				if a2 ~= nil then
					warpControl("left",a2)
				end
			elseif a1 == "right" then
				if a2 ~= nil then
					warpControl("right",a2)
				end
			elseif a1 == "forward" then
				if a2 ~= nil then
					warpControl("forward",a2)
				end
			elseif a1 == "backward" then
				if a2 ~= nil then
					warpControl("backward",a2)
				end
			end
		end
	end
end,"w")</code></div></div></code></pre><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://teamscm.co.uk/images/attachtypes/txt.gif" title="Text Document" border="0" alt=".txt" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=945" target="_blank" title="">genesiswarpchip.txt</a> (Size: 3.84 KB / Downloads: 2)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hello all,<br />
<br />
I recently updated my old warp chip to and thought I should share it here, as I did with the last variation. Its pretty easy to use, <br />
and free for anyone to modify (but not release/give out claiming it's your own)<br />
<br />
<br />
Current commands:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/warp to &lt;location&gt;
/warp rotate &lt;angle&gt;
/warp back/return
/warp here/me</code></div></div><br />
The code for the Starfall will be below, and a text file attached so everyone has an option of how they want to download it. Its also on my Starfall Shared under 'Shared &gt; George &gt; Public &gt; GenesisWarpChip.txt'<br />
<br />
<pre class="prettyprint linenums" style="box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);border-left: 4px solid rgb(186,130,0);"><code class="language-lua"><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>--@name Genesis Warp Chip
--@author George
--@class processor
--@dependency STEAM_0:0:145101342 libs/mcs.txt
--@dependency STEAM_0:0:145101342 genesismainframe/libs/gm-locations.txt sv
--@dependency STEAM_0:0:145101342 genesismainframe/libs/gm-wirelinks.txt sv

require("libs/mcs.txt")

--[[
--TO BE ADDED--
-Precision warping
-Drive switching
-Any other fancy suggestions
]]

----------------------------------------------------
MCSVars["ChatTag"] = "Genesis Warp Module"
MCSVars["TagColour"] = Color(100,255,125)
MCSVars["ChatColour"] = Color(255,255,255)
MCSVars["ChatPrefix"] = "/"
----------------------------------------------------

drives = {
	wirelinks["bsg_drive"],
	wirelinks["sg_hyperdrive"],
	wirelinks["quantum_slipstream_drive"],
	wirelinks["ship_drive"],
	wirelinks["spore_drive"],
	wirelinks["st_warp_drive"]
}

aDrive = drives[1] -- drives[1] will always be default

locMatch = Vector()
locName = ""
function locFinder(loc)
	local isMatch = false
	for k, v in pairs(WarpVecs) do
		if string.find(k:lower(), loc:lower()) ~= nil and not isMatch then --Removing capitals during the find
			isMatch = true
			locName = k
			locMatch = v
		end
	end

	if not isMatch then
		broadcast("Could not find suitable location with key '"..loc.."', please try again")
		locMatch = Vector()
		return
	end
end

prevLoc = Vector()
ogAngle = aDrive[1]:entity():ang()
warpReturn = false
function warpControl(state,x)
	if aDrive[1] ~= nil then
		if state == "warp" then
			if x ~= Vector(0,0,0) then
				prevLoc = aDrive[1]:entity():pos()
				broadcast("Engaging drive. Jumping to: ",MCSVars["TagColour"],locName,MCSVars["ChatColour"],".")
				aDrive[1]["Destination"] = x
				aDrive[1]["Activate"] = 1
			end

		elseif state == "here" then
			if not stargate.locationJammed(ents.owner():pos()) then
				prevLoc = aDrive[1]:entity():pos()
				broadcast("Engaging drive. Jumping to you.")
				aDrive[1]["Destination"] = ents.owner():pos()
				aDrive[1]["Activate"] = 1
			end

		elseif state == "back" then
			if prevLoc ~= Vector() and not warpReturn then
				broadcast("Engaging Drive. Returning to previous location.")
				aDrive[1]["Destination"] = Vector(prevLoc)
				aDrive[1]["Activate"] = 1
				warpReturn = true
			else
				broadcast("You don't have a previous location to jump to.")
			end
		elseif state == "rotate" then
			if x ~= nil then
				broadcast("Engaging Drive. Rotating ship by "..x.."°.")
				aDrive[1]["Destination"] = aDrive[1]:entity():pos()
				aDrive[1]["Angle Offset"] = Angle(aDrive[1]:entity():ang().p, tonumber(x), aDrive[1]:entity():ang().r)
				aDrive[1]["Activate"] = 1
				aDrive[1]["Angle Offset"] = Angle()
			end
		elseif state == "up" or state == "down" or state == "left" or state == "right" or state == "forward" or state == "backward" then
			broadcast("Precision movement offline. To be fixed soon.")
		end
	else
		broadcast(Color(255,50,50),"WARNING &gt;&gt; ",MCSVars["ChatColour"], "Ship does not have a valid Warp Drive.")
	end
end

createCMD("warp", function(a1,a2)
	if aDrive[1] ~= nil then
		if a1 ~= nil then
			if a1 == "to" then
				if a2 ~= nil then
					locFinder(a2)
					warpControl("warp",locMatch)
				end
			elseif a1 == "here" or a1 == "me" then
				warpControl("here")
			elseif a1 == "back" or a1 == "return" then
				warpControl("back")
			elseif a1 == "rotate" then
				if a2 ~= nil then
					warpControl("rotate",a2)
				end
			elseif a1 == "up" then
				if a2 ~= nil then
					warpControl("up",a2)
				end
			elseif a1 == "down" then
				if a2 ~= nil then
					warpControl("down",a2)
				end
			elseif a1 == "left" then
				if a2 ~= nil then
					warpControl("left",a2)
				end
			elseif a1 == "right" then
				if a2 ~= nil then
					warpControl("right",a2)
				end
			elseif a1 == "forward" then
				if a2 ~= nil then
					warpControl("forward",a2)
				end
			elseif a1 == "backward" then
				if a2 ~= nil then
					warpControl("backward",a2)
				end
			end
		end
	end
end,"w")</code></div></div></code></pre><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://teamscm.co.uk/images/attachtypes/txt.gif" title="Text Document" border="0" alt=".txt" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=945" target="_blank" title="">genesiswarpchip.txt</a> (Size: 3.84 KB / Downloads: 2)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Starfalls of mine]]></title>
			<link>https://teamscm.co.uk/thread-3759.html</link>
			<pubDate>Tue, 03 May 2022 22:06:40 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://teamscm.co.uk/member.php?action=profile&uid=940">4N0NYM</a>]]></dc:creator>
			<guid isPermaLink="false">https://teamscm.co.uk/thread-3759.html</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u"><span style="font-size: x-large;" class="mycode_size">Nuetzliches</span></span></span></span> (German for "Useful"  | All are public to read)<br />
<br />
<span style="font-weight: bold;" class="mycode_b">antikinu</span><br />
Connect this to a Beam Emitter. It will shot at Kinus in Range to kill them. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">CSTS</span><br />
If you spawn 2 constant values with the same name value, you are able to go between them without having a display to make a smooth corridor transition. For owners it doesnt even need a Transporter as it sets your position!<br />
<br />
<span style="font-weight: bold;" class="mycode_b">LUA Timer Function</span><br />
It is basically the Timer function of Lua itself just converted into Starfall.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Material Collector</span><br />
With this Starfall you can collect as many materials you need then get them all printed out in your console!<br />
<br />
<span style="font-weight: bold;" class="mycode_b">position</span><br />
returns you a useable Table Vector value in your console as a print (e.g. TickPos[meep] = Vector(-10080.168945312,-11148.625976562,-3319.3498535156)´)<br />
<br />
<span style="font-size: x-large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">fun</span></span></span> </span><span style="font-size: small;" class="mycode_size">(All are public to read)</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">AColorFullBoi </span><br />
Spawn it on a Holo Emitter and you get a trace of Rainbow at your position.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Ball Trail Sphere</span><br />
Creates a Sphere around a Entity out of Balls which have well ... a Trail <img src="https://teamscm.co.uk/images/smilies/biggrin.gif" alt="Big Grin" title="Big Grin" class="smilie smilie_4" /><br />
<br />
<span style="font-weight: bold;" class="mycode_b">HoloTablePlatform<br />
</span>When you go onto it, a hologram will be created on another of those platforms like those Star Wars holo-communicators.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">RainbowScreenUpdate</span><br />
Basically just a rainbow function with a client side demonstration.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">RainbowSkin</span><br />
Changes your playermodel color in a rainbow pattern.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">SomeFunnyBoi</span><br />
You know when you dont have internet and you get this Chrome game ? more or less that but way more simple.<br />
<br />
<span style="font-size: x-large;" class="mycode_size"><span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">coding_examples</span> </span></span></span><span style="font-size: small;" class="mycode_size">(All </span><span style="font-size: small;" class="mycode_size">are public to read)</span><br />
<br />
<br />
<span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">BeginScreenTutorial </span></span><br />
<span style="font-size: small;" class="mycode_size">A nice begin when you want to learn about screens. </span><br />
<span style="font-size: small;" class="mycode_size"><br />
<span style="font-weight: bold;" class="mycode_b">FPSBreaker</span><br />
Shows you one method to slow down rendering to save µs.</span><br />
<br />
<span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">NetTableExample</span><br />
Shows you a way to broadcast tables from server to client and vice versa.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">RotatorBase</span><br />
Shows you how to make stuff spin. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">ScreenExampleForTom8to</span><br />
This used to be an example for said Player but it is good fine for others to learn from it too.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">WirelinkWithLoopExample</span><br />
Shows you a way to find Entities and establish a wirelink with them.<br />
<br />
<span style="font-size: x-large;" class="mycode_size"><span style="text-decoration: underline;" class="mycode_u"><span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">standalone </span></span></span></span>(All are public to read)</span><br />
<br />
<span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">stargate_dhd_emitter</span><br />
Basically just a Button for the Iris, which will be on a DHD (ofc should be used for the "normal" DHDs).<br />
<br />
<span style="font-weight: bold;" class="mycode_b">stargate_dial_emitter</span><br />
Creates a emitter screen infront of the Stargate with a list of dial able Stargates which you can dial from. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">teleporter_screen</span><br />
<a href="https://teamscm.co.uk/thread-2507.html" target="_blank" rel="noopener" class="mycode_url">https://teamscm.co.uk/thread-2507.html</a></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">warpdrive</span></span><br />
<span style="font-size: small;" class="mycode_size"><a href="https://teamscm.co.uk/thread-2672.html" target="_blank" rel="noopener" class="mycode_url">https://teamscm.co.uk/thread-2672.html</a></span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u"><span style="font-size: x-large;" class="mycode_size">Nuetzliches</span></span></span></span> (German for "Useful"  | All are public to read)<br />
<br />
<span style="font-weight: bold;" class="mycode_b">antikinu</span><br />
Connect this to a Beam Emitter. It will shot at Kinus in Range to kill them. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">CSTS</span><br />
If you spawn 2 constant values with the same name value, you are able to go between them without having a display to make a smooth corridor transition. For owners it doesnt even need a Transporter as it sets your position!<br />
<br />
<span style="font-weight: bold;" class="mycode_b">LUA Timer Function</span><br />
It is basically the Timer function of Lua itself just converted into Starfall.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Material Collector</span><br />
With this Starfall you can collect as many materials you need then get them all printed out in your console!<br />
<br />
<span style="font-weight: bold;" class="mycode_b">position</span><br />
returns you a useable Table Vector value in your console as a print (e.g. TickPos[meep] = Vector(-10080.168945312,-11148.625976562,-3319.3498535156)´)<br />
<br />
<span style="font-size: x-large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">fun</span></span></span> </span><span style="font-size: small;" class="mycode_size">(All are public to read)</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">AColorFullBoi </span><br />
Spawn it on a Holo Emitter and you get a trace of Rainbow at your position.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Ball Trail Sphere</span><br />
Creates a Sphere around a Entity out of Balls which have well ... a Trail <img src="https://teamscm.co.uk/images/smilies/biggrin.gif" alt="Big Grin" title="Big Grin" class="smilie smilie_4" /><br />
<br />
<span style="font-weight: bold;" class="mycode_b">HoloTablePlatform<br />
</span>When you go onto it, a hologram will be created on another of those platforms like those Star Wars holo-communicators.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">RainbowScreenUpdate</span><br />
Basically just a rainbow function with a client side demonstration.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">RainbowSkin</span><br />
Changes your playermodel color in a rainbow pattern.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">SomeFunnyBoi</span><br />
You know when you dont have internet and you get this Chrome game ? more or less that but way more simple.<br />
<br />
<span style="font-size: x-large;" class="mycode_size"><span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">coding_examples</span> </span></span></span><span style="font-size: small;" class="mycode_size">(All </span><span style="font-size: small;" class="mycode_size">are public to read)</span><br />
<br />
<br />
<span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">BeginScreenTutorial </span></span><br />
<span style="font-size: small;" class="mycode_size">A nice begin when you want to learn about screens. </span><br />
<span style="font-size: small;" class="mycode_size"><br />
<span style="font-weight: bold;" class="mycode_b">FPSBreaker</span><br />
Shows you one method to slow down rendering to save µs.</span><br />
<br />
<span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">NetTableExample</span><br />
Shows you a way to broadcast tables from server to client and vice versa.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">RotatorBase</span><br />
Shows you how to make stuff spin. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">ScreenExampleForTom8to</span><br />
This used to be an example for said Player but it is good fine for others to learn from it too.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">WirelinkWithLoopExample</span><br />
Shows you a way to find Entities and establish a wirelink with them.<br />
<br />
<span style="font-size: x-large;" class="mycode_size"><span style="text-decoration: underline;" class="mycode_u"><span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">standalone </span></span></span></span>(All are public to read)</span><br />
<br />
<span style="font-size: small;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">stargate_dhd_emitter</span><br />
Basically just a Button for the Iris, which will be on a DHD (ofc should be used for the "normal" DHDs).<br />
<br />
<span style="font-weight: bold;" class="mycode_b">stargate_dial_emitter</span><br />
Creates a emitter screen infront of the Stargate with a list of dial able Stargates which you can dial from. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">teleporter_screen</span><br />
<a href="https://teamscm.co.uk/thread-2507.html" target="_blank" rel="noopener" class="mycode_url">https://teamscm.co.uk/thread-2507.html</a></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: small;" class="mycode_size">warpdrive</span></span><br />
<span style="font-size: small;" class="mycode_size"><a href="https://teamscm.co.uk/thread-2672.html" target="_blank" rel="noopener" class="mycode_url">https://teamscm.co.uk/thread-2672.html</a></span>]]></content:encoded>
		</item>
	</channel>
</rss>