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
Member
569 posts
Registered:
Feb 2006
Sounds like a map from SMB
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).
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.
Member
1102 posts
Registered:
Jan 2006
Yes, rectangular. You cannot make the train move in diagonal directions unless my memory fails me really bad.
Member
14 posts
Registered:
May 2006
Spirit: it does.
Member
1102 posts
Registered:
Jan 2006
That is actually a good thing then.
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
Member
1102 posts
Registered:
Jan 2006
oops, I typed wrong up there.
The func_train needs "target" "corner1", it must NOT have "targetname" "corner1".