+void Spawn_Draw(void)
+{
+ pointparticles(particleeffectnum("EF_STARDUST"), self.origin, '0 0 2', bound(0, frametime, 0.1));
+}
+
+void Ent_ReadSpawnPoint(float is_new)
+{
+ self.team = ReadByte();
+ self.origin_x = ReadShort();
+ self.origin_y = ReadShort();
+ self.origin_z = ReadShort();
+
+ //self.colormod = colormapPaletteColor(self.team - 1, FALSE);
+
+ //setsize(self, PL_MIN, PL_MAX);
+
+ //droptofloor();
+
+ //self.mdl = "models/domination/dom_unclaimed.md3";
+ //precache_model(self.mdl);
+ //setmodel(self, self.mdl);
+ self.drawmask = MASK_NORMAL;
+ self.movetype = MOVETYPE_NOCLIP;
+ self.draw = Spawn_Draw;
+
+ print(ftos(is_new), " - read a spawnpoint at ", vtos(self.origin), ", bitches.\n");
+}
+