PDA

View Full Version : Cog Request



The MAZZTer
12-06-2003, 09:36 AM
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! (http://mzzt.atronox.com/)

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

JediKirby
12-07-2003, 08:16 AM
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

Edward
12-07-2003, 02:34 PM
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...


# 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

The MAZZTer
12-08-2003, 09:34 AM
mmk, thanks. http://forums.massassi.net/html/smile.gif

------------------
The Mega-ZZTer's Gaming Haven! (http://mzzt.atronox.com/)

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