Looking for help with train map

Discussion in 'WIP (Work in Progress)' started by Neo, Nov 10, 2007.

  1. Neo

    Neo Guest

    Positive Ratings:
    0
    http://neo.poned.com/traintesting02.vmf

    I am only working on the bottom row of cars, so pick the red team if you want to see what happens.

    This is a CTF map where you have to hop over moving trains to get to the flag and take it back. It's going to take a lot of work getting it right, but I think it will be really fun in the end.

    To make an endless stream of train cars, I gave each prop a func_tracktrain, and gave each func_traintrack a path_track, where each starting path is the length of a car in distance away from the car in front of it. They all end at the same point (each car has their own ending point as well). What SHOULD happen is that each car gets to the ending point, and respawns at its own starting point, making an endless line of cars. But that's not what happens... There are gaps, and I can't figure out how to get rid of them.

    If anyone can help, or knows an easier way of doing this...please let me know!

    Thanks!
     
  2. spaceweasels

    aa spaceweasels

    Messages:
    219
    Positive Ratings:
    334
    An interesting idea. I got it working for you. Check it out:
    Download the working version here

    Basically, you had a giant leak. I closed it by creating a cheap skybox. When you have leaks, a lot of entities won't work properly, including light, water and others. Traintracks included.

    Hope that helps. ;)

    Edit: I was just looking over the map, and I'll send you a PM with a suggestion that might help a lot.
     
    Last edited: Nov 10, 2007
  3. Neo

    Neo Guest

    Positive Ratings:
    0
    Still not working for me, actually. Not sure what to do. ;\
     
  4. Neo

    Neo Guest

    Positive Ratings:
    0
    http://neo.poned.com/traintesting03.vmf
    http://neo.poned.com/traintesting03.bsp

    Mmkay, I got a little help with how to make an endless stream of train cars, and got most of that working (still a couple of rows that aren't quite working).

    I've added trigger_hurt in 2 places, a.) if you don't land on a train car, you die and b.) if you ride a train car to the wall, you die. Both of these triggers should keep any person from blocking a train thus causing the whole thing to screw up.

    My current problem other than some of the rows still malfunctioning is that the cars are not touching the ground. The flat cars even seem to float higher.

    Seeing as how the map is challenging and some of the rows aren't working, I've yet to test if I did the CTF part right :p Also due to the floating issue, I am still not sure if all 9 classes are able to trainhop.

    The map is still a ways from being complete... Detail and lighting will be the last thing I do. I can probably do the lighting myself, but detail is something I haven't messed around with because the maps I make are meant to be simple. Lighting alone can help make a map look awesome, but I'm looking for someone that thinks they can add a little spunk to the look of the map (honestly I hate my rectangular doorways, lol. They would look so much better curved maybe, but it's something I've never tried) I am happily open to suggestions!

    Thanks to everyone that has helped me so far 8)
     
  5. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    I happen to love doing details :) Soon as I get home I"ll d/l this and take a look. In the meantime, could you put up a couple screens of the floating trains?
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    For them floating, you just need to move the path_tracks lower, or adjust the "height above track" field in the funk_tracktain to something negative.
     
  7. Neo

    Neo Guest

    Positive Ratings:
    0
    Here it is! A fully functional CTF_trainhopping map!

    http://neo.poned.com/ctf_trainhopping1.bsp
    http://neo.poned.com/ctf_trainhopping1.vmf

    As far as things to come, I've added no detail and no lighting, and I haven't gotten to test this with other players yet so there could still be some big changes.

    The map is very hard, I messed around with it for a while as a scout and only made it across one time LOL. I tried heavy as well to see how that would go, and wasn't able to make it too far :p

    One last problem that I can foresee, is someone dying on the trains with the flag. In most cases, it will not be retrievable. A friend suggested it would be fine this way as it could be a penalty for failing to make it across lol. I've considered if there was a way to make the flag elevate itself about 1 block or so after it is dropped, and maybe even change the respawn timer on it (default is 60 seconds).

    Like I said, I haven't gotten to test this with players yet, so expect some changes. We'll see!
     
  8. Neo

    Neo Guest

    Positive Ratings:
    0
    ROFL, okay. Finally did some testing with this map.

    A lot is going to change. I wouldn't try downloading it for now (the above links need their team spawns adjusted anyway). After hours of playing with it, there were 0 successful attempts to capture the flag LOL. It's THAT hard! We could make it to the other side (very very very very rarely) but could never get lucky enough to make it back. I am really enjoying the concept though and I think it's really fun, but I'm gonna have to change some things.

    I do still want to figure out how to elevate the flag when its dropped so that it can be picked up off the trains.

    I'm also wondering if hosting it on a real server would get rid of the lag. I am thinking of removing a couple of the rows of trains and adding a platform in the middle, and am even considering adding walls between the trains to complicate things.
     
  9. ryodoan

    ryodoan Resident Bum

    Messages:
    409
    Positive Ratings:
    59
    I have not looked at the map at all yet (Screenies please!!) but from the way you describe it I see a visual picture of:
    [​IMG]

    The red and blue dots are intelligence, the brown rectangles are trains. It seems to me that if you made the trains really close together and made their speeds really slow, then it would be almost like a continuous floor, but with the floor moving slowly to the sides.

    I am gonna reserver further comments until I either see some screenshots or get to play the demo map you have.
     
  10. Octopus

    Octopus Guest

    Positive Ratings:
    0
    Call it Ctf_frogger. :)
     
  11. Shmitz

    aa Shmitz Old Hat

    Messages:
    1,129
    Positive Ratings:
    740
    For getting the intelligence to stay above the trains, you could try either using a trigger_push with a filter_activator_class, or a func_brush with the excludenpc and invert_exclusion set.
     
  12. Dox

    Dox L8: Fancy Shmancy Member

    Messages:
    588
    Positive Ratings:
    62
    I was thinking the same thing, but you would need cars speeding by too.
     
  13. Neo

    Neo Guest

    Positive Ratings:
    0
    Paul that's EXACTLY what this map looks like :p

    [​IMG]

    [​IMG]

    I took out the roof so I could explain this better. The white arrows show what direction the trains move. They all move at different speeds, the 2 in the middle (the ones that move the same direction) move the fastest and that's what's making this so hard right now. The red and blue arrows show where I am moving the flags to. No sense in having them sitting next to a teams spawn point, Lol. I'll be working more on this a lot tonight. I figure that I am probably going to give in and change the speeds of the trains. I was hoping not to, because I love that the map is a challenge. The flags will be in plain sight of each other, and the map is small. The trains ARE the map so I've got to focus on them, mostly. I think I'll just flip things around... make the middle trains a little slower and make the outter trains a bit faster. When this is all working right, I'm going to work on adding some props and such and then start on the lighting (which I am very bad at, apparently hehe). Gonna work on that trigger_push for the flag, too.

    If anyone would let me test this map on a real server, let me know. I got a friend to host it from his computer, and the trains were laggy. He doesn't have a grand computer either, so that could've made it worse. I kind of need to know if it will work on a real server because if not, I'll have to go with my idea of removing some trains altogether.

    Again, thanks to all for your support!
     
  14. ryodoan

    ryodoan Resident Bum

    Messages:
    409
    Positive Ratings:
    59
    Well, your image links are borked for me... Also, this is just a test map right? Just saying that if it was a real map then there could be some problems if you can see each others intelligences... (snipers!)
     
  15. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    I'd suggest adding some rest-stops in so that people don't have to focus all their attention on getting across once they start.