User panel stuff on forum
  9 posts on 1 page  1
Maps & Textures
2008-04-09, 13:14
Member
188 posts

Registered:
May 2007
Hello everybody. I recently started mapping and now I am stuck at a point. I am using QuArK and i want to implement a platform in my map. My problem is that it seems that only 2-way platforms are possible. Platforms that are going up and down OR left and right. I would like to use a 4-way platform, going down, right, up, left and repeat. like a circle. Is that even possible? And if this is not possible, can you make a platform go down, disappear and reappear at the start point again?

Thx a lot
2008-04-09, 13:27
Member
569 posts

Registered:
Feb 2006
Sounds like a map from SMB
2008-04-09, 14:52
Member
1102 posts

Registered:
Jan 2006
You will need to use a func_train with path_corners.
eg:

func_train: targetname "corner1"
path_corner: targetname "corner1" & "target" "corner2"
path_corner: targetname "corner2" & "target" "corner3"
path_corner: targetname "corner3" & "target" "corner4"
path_corner: targetname "corner4" & "target" "corner1"

You will no be able to make it stop though. And it can only move in rectangular ways (iirc).
2008-04-14, 07:22
Member
405 posts

Registered:
Jan 2006
rectangular ways? train moved from one path_corner to another and count of corners "unlimited", also you can use wait flag/property/whateveryoucallit on each corner so train stay at corner for some time before continue movement.
<3
2008-04-14, 07:28
Member
1102 posts

Registered:
Jan 2006
Yes, rectangular. You cannot make the train move in diagonal directions unless my memory fails me really bad.
2008-04-14, 11:03
Member
14 posts

Registered:
May 2006
Spirit: it does.
2008-04-14, 12:16
Member
1102 posts

Registered:
Jan 2006
That is actually a good thing then.
2008-04-16, 10:44
Member
188 posts

Registered:
May 2007
Thx for your help.
It works, just need to play a little bit more around with it. Just one thing. It has to be

func_train: targetname "corner1" & "target" "corner1"

otherwise the platform follows you all the time
2008-04-16, 18:04
Member
1102 posts

Registered:
Jan 2006
oops, I typed wrong up there.
The func_train needs "target" "corner1", it must NOT have "targetname" "corner1".
  9 posts on 1 page  1