Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Can somebody make me a cog?
Can somebody make me a cog?
2001-12-08, 10:16 AM #1
I don't know if it can be done, but can somebody make a cog for me that will spawn people of different teams (in a multiplayer level) to specified ghost positions. 4 ghost positions to be exact.

------------------
The Masta Of Deth, Deth Masta...
(Hostile Takeover)
http://www.massassi.net/levels/files/1708.shtml
(RWP)
http://www.massassi.net/levels/files/1780.shtml
Check Um Out...
2001-12-09, 9:29 AM #2
Code:
# Jedi Knight Cog Script
#
# respawnthingywraapoop.COG
#
# [Cave_Demon, 12/9/01]
# 
#
# This Cog is Not supported by LucasArts Entertainment Co

symbols
int	player		local
thing	ghost1
thing	ghost2
thing	ghost3
thing	ghost4

message newplayer


end

# ========================================================================================

code
newplayer:
player = GetLocalPlayerThing();
if(GetPlayerTeam(player) == 1)
{
TeleportThing(player, ghost1);
}
else
if(GetPlayerTeam(player) == 2)
{
TeleportThing(player, ghost2);
}
else
if(GetPlayerTeam(player) == 3)
{
TeleportThing(player, ghost3);
}
else
if(GetPlayerTeam(player) == 4)
{
TeleportThing(player, ghost4);
}
Return;

# ........................................................................................

end


It should work, haven't tested it in MP... well... not really, i tested it alone... if it doesn't work tell me and i add teh r0><0r flags.

Credit me.

------------------
Punainen tiili kädes, sinä vapauteesi juokse.
Välil maan ja taivaan raha menee rahan luokse.
Alas kapitalismin kahleet, näin unessani enteen.
Elä aatteidesi puolesta, vedä vielä kerran henkee.

Punainen Tiili kädes, huomenna kaikki muuttuu.
Raha enää vain muisto, rakkaus enää vain puuttuu.
Alas kapitalismin kahleet, näin unessani enteen.
Elä aatteidesi puolesta, vedä vielä kerran henkee.
WHAT?
2001-12-10, 4:14 AM #3
Of course you'll be credited, of what I can see it works good. Thanks.

------------------
The Masta Of Deth, Deth Masta...
(Hostile Takeover)
http://www.massassi.net/levels/files/1708.shtml
(RWP)
http://www.massassi.net/levels/files/1780.shtml
Check Um Out...
2001-12-10, 6:42 AM #4
Hey could I use that as well?

I'll give you credit [http://forums.massassi.net/html/wink.gif] [http://forums.massassi.net/html/wink.gif]
2001-12-10, 7:28 AM #5
Go on... [http://forums.massassi.net/html/smile.gif]

------------------
Punainen tiili kädes, sinä vapauteesi juokse.
Välil maan ja taivaan raha menee rahan luokse.
Alas kapitalismin kahleet, näin unessani enteen.
Elä aatteidesi puolesta, vedä vielä kerran henkee.

Punainen Tiili kädes, huomenna kaikki muuttuu.
Raha enää vain muisto, rakkaus enää vain puuttuu.
Alas kapitalismin kahleet, näin unessani enteen.
Elä aatteidesi puolesta, vedä vielä kerran henkee.
WHAT?

↑ Up to the top!