|
Post by Chriss on Aug 3, 2011 11:08:02 GMT
Hey does someone know if i can make a moving, working elevator from a prop in source sdk?
|
|
|
Post by Zeph on Aug 3, 2011 12:18:14 GMT
There are elevator props, and it can be made.
First however, how many stops do you want? Two is very easy to make. More takes a lot of logic. Do you want doors on the elevator and/or each level? Is it for multiplayer or for single player?
I have made elevator test maps before, but i cannot find any on this forum. Guess i've helped someone via steam and not via forums on this matter and therefore have not attached the test maps.
I will have a play when i get home today, see if i can find my test maps.
|
|
|
Post by Zeph on Aug 3, 2011 18:32:49 GMT
Here's a simple (LOL) two-stop elevator, with working doors! Attachments:
|
|
|
Post by Zeph on Aug 3, 2011 18:36:22 GMT
And here is my Multi-level (4) Elevator. Note quite as simple as before! Attachments:
|
|
|
Post by moee on Aug 3, 2011 19:51:41 GMT
U rock Zeph!!!
|
|
|
Post by chriss97 on Aug 3, 2011 23:20:43 GMT
zeph your a genius but i dont understand nothing ehrn i open the map
|
|
|
Post by Zeph on Aug 4, 2011 10:30:26 GMT
Yeah... Perhaps a tutorial on it would be good... The problem is, i don't even know what i did... but it works! I'll have to decode it sometime myself and write it up. It probably still wont be easy to follow... EDIT: I think it comes down to TWO math counters: Level Wanted Current Level. When you press a button (eg for level 3), it sets the "Level Wanted" math counter to 3. It then compares (logic_compare) this value with it's "Current Level", say for now 2. Since 2<3, it says "you need to move up", and starts the elevator in that direction (start forward). When it moves over a path_track, it updates "Current Level" with the level it's at. If Current Level = Wanted Level, stop the elevator! (Or it always stops at each level, but re-checks and stops continuing if the same) oh and lock buttons until it's reached it's destination. Don't want to confuse the poor thing. something like that. actually pretty simple.
|
|
|
Post by wilson1225 on Aug 30, 2011 2:37:47 GMT
Good info Zeph, what advice would you give for setups for multiplayer elevators?
|
|
|
Post by Zeph on Aug 30, 2011 9:29:07 GMT
I believe my elevators would be suitable for multiplayer maps. The best trick i can suggest is not to use too many shortcuts.
EG instead of closing the particular door for the floor you are at, but instead to close all doors (via the * notation), would mean that all doors would play the closing animation, even when they were already closed. On single player you can get away with this, as you only see one door at time, but for multiplayer there is a chance someone would be watching another door.
Other than that, good luck...
If you need specific help, then we can look into things further.
|
|
|
Post by therealguymins on Aug 30, 2011 21:51:19 GMT
I made a pretty awesome elevator once for a css warehouse map I made.
|
|