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 → Cog Request
Cog Request
2003-12-06, 6:36 AM #1
I need a simple cog that will teleport the player if his x-coord passes below a specific number... I would use a sector, but my level is almost entirely 3dos, and it would be more trouble to make a sector than to use the x-coord as an indicator (the teleports are on the left and right ends of the level).

I am making a Pac-Man level [http://forums.massassi.net/html/tongue.gif]

[http://www.parea.gr/entertainment/pacman.gif]

And if the player walks down the warp tunnel far enough he'll get teleported to the other one. [http://forums.massassi.net/html/smile.gif]

So would someone be kind enough to make a cog for me, complete with respawning-type effects on teleport? Thanks.

------------------
The Mega-ZZTer's Gaming Haven!

[This message has been edited by Gebohq (edited December 28, 2003).]

2003-12-07, 5:16 AM #2
just use a simple teleport cog, in the Cogs section.

JediKirby

------------------
"I was driving along listening to the radio, when Judas Priest comes on. It was 'You've got another thing coming.' All of a sudden, I enter 'VICE CITY RAMAGE MODE' and nearly ran some guy over"
- ]-[ellequin
ᵗʰᵉᵇˢᵍ๒ᵍᵐᵃᶥᶫ∙ᶜᵒᵐ
ᴸᶥᵛᵉ ᴼᵑ ᴬᵈᵃᵐ
2003-12-07, 11:34 AM #3
I have just the thing! I'm also making a Pack-man level (for JK). Only one level, no dots, and the ghosts don't hurt... They just crowd...
Code:
# Touch and Poof!
#
# By Edward
symbols
message		touched
surface		touchable
thing		otherside
thing		toucher		local
end
#
code
touched:
	If(GetSenderRef()!=touchable) return;
	toucher=GetLocalPlayerThing();
	TeleportThing(toucher,otherside);
Return;
end

My Pack-man level consists of sectors (apart from the ghosts). But feel free to change surface to thing... Works fine!

/Edward
Edward's Cognative Hazards
2003-12-08, 6:34 AM #4
mmk, thanks. [http://forums.massassi.net/html/smile.gif]

------------------
The Mega-ZZTer's Gaming Haven!

[This message has been edited by Gebohq (edited December 28, 2003).]

↑ Up to the top!