Talk:Team Fortress 2/Creating a Payload Map
Before anyone asks I started this page on 3rd may 2008, feel free to make adjustments whenever you feel necessary. This tutorial was made from reverse engineering pl_goldrush and creating my own map which is shown in the tutorial. If after following the example completely and finding that it doesn't work right please either adjust the page if you know the solution to what I've missed or add a reply here. --NekoBaron 10:40, 3 May 2008 (PDT)
Payload Camera
For those of who have been making custom payload maps, have you noticed that one of the camera views (which you can view by cycling through all the camera views while you are dead) is from the center of the cart?
It's appears that the func_train has it's own camera built in, but I have found no way to change it or disable it. It's not necessary for the payload system, but the camera view from inside the cart doesn't look that nice, and i'm sure most mappers would want to change it. --Spacemonkey 15:07, 1 Jul 2008 (PDT)
Traintracks
First, congratulations on the excellent work with the tutorial. Alright, so I decompiled GoldRush to examine how this thing is built, but I couldn't find how Valve laid down the traintracks on the map, they are simply not there, do you have any idea how it's done? --Baliame (talk) 14:49, 4 May 2008 (PDT)
- Thanks this is my first wiki submission, if they aren't there then the de compiler your using probably isn't gathering all the information, I presume that your on about the actual track it self being all the props themselves (other wise your on about the path_track which is covered). You could try using another decompiler I used one called VMEX ( http://www.geocities.com/cofrdrbob/vmex.html ) to look at pl_goldrush. Or if you want you can have a look at the source for the map used in the tutorial it self which comes with the map http://www.fpsbanana.com/maps/53448 and see what I used. When you actually get to look at the track close up you can easily see all the small joins and overlaps but these aren't seen when running around. --NekoBaron 15:24, 4 May 2008 (PDT)
Bomb_CapZone
It says "Click on and find the properties of the Bomb_CapZone" but where is this entity supposed to be? what type of entity is it? I don't see anything previous to this about creating it, yet it sounds like we have to find it...but how can you find something that was never there to begin with? Entice 20:53, 8 May 2008 (PDT)
- At least you HAVE entities in your version. For the time being, I'm stuck with 3.4 and not even a playerstart! --JeffMOD 04:43, 9 May 2008 (PDT)
- Apologies, I was half tired writing all this in one go, Bomb_CapZone is meant to be Bomb_CapArea and I've edited the wiki to show that, If you see any other problems just write here again.--NekoBaron 18:24, 11 May 2008 (PDT)
- SetSpeedDirAccel shows up as red letters...I'm gonna try and do SetSpeedDir, that is black...hopefully it will work. Entice 20:17, 11 May 2008 (PDT)
- hmm...I ran the game both ways and each time I touched the cart the game froze...I ran the map for problems and other than that SetSpeedDirAccel is the Bomb_Train has unused keyvalue for "ManualAccelSpeed" but it is set to 70. Entice 20:34, 11 May 2008 (PDT)
- SetSpeedDirAccel does work even if it shows as broken (I copied them from goldrush and they give the train a smoother acceleration, along with the 3 keywords added to it), at a guess do you have 2 capture points with the same index? Ive had a map crash when you touch the capture zone and it crashed the game.--NekoBaron 03:57, 12 May 2008 (PDT)
- I didn't have my 2nd capture point set up yet, but I made it and put it out in the middle of nowhere...the cart moves now...but I've got more problems =/
1. Bomb cart moves backwards. 2. cart stops just before the cap point, where it starts moving upwards onto the cap thing and it just stops. I looked at the track but it seems fine...what else would cause that? Entice 19:58, 12 May 2008 (PDT)
- I'm guessing the train is facing the wrong way, have it pointing right in hammer (the track should turn it around in game), I can't really tell with out seeing it myself so only suggestion is to download this map http://www.fpsbanana.com/maps/53448 which the tutorial was made on, that map works fine apart from the cap warning sounds which is fix in the tutorial.--NekoBaron 01:32, 13 May 2008 (PDT)
ok, I got the cart turned around...but now I found a new problem. The cart moves forward without anyone near it...but I have case 1 set to 0 speed accel. oh, and the cart doesn't move backwards all the time (when there is nobody near). Entice 18:36, 13 May 2008 (PDT)
- I really cant give any more specific help other than re read the tutorial and check if everything was done accordingly / check it against the example map, I just went though the tutorial myself again and apart from some unrelated things the train worked fine. --NekoBaron 11:09, 14 May 2008 (PDT)
- alright, I'll see what I can do...thanks a bunch for the tutorial, helped a ton =D Entice 18:03, 14 May 2008 (PDT)
AH! I found out why the cart kept moving...I had the bomb logic case for Case01 set to 1 instead of 0. Entice 21:00, 15 May 2008 (PDT)
Bomb Flashing Light
I noticed while playing goldrush that the bomb has a flashing light on while it is being pushed, however my map made with this tutorial does not have this, and the tutorial says nothing about it, so I was just wondering if you knew about the light or not, and if you do, do you know how to fix it? --Deth 8:52, 28 May 2008 (PDT)
- I know of the light but personally I didn't care for the details, its an entity linked to the train that shows when it moves forward. Its not a case of fixing it but adding it in something I felt that the tutorial didn't need as with the cart sparks. If you want to add it you'll need to look at goldrush it self and open it up with vmex, sorry I cant give much help currently :/.--NekoBaron 04:09, 28 May 2008 (PDT)
- That's ok, i'll figure it out one of these days, Thanks for making this great tutorial it helped me a whole bunch, I would have never got payload working without you! =) --Deth 6:54, 28 May 2008 (PDT)
Final Explosion
I have looked through your tutorial and (it might be just me) but i can't seem to find anything on how to create an explosion, once you have caputered every control point in the level. The best and only example i can think of is at the end of Goldrush, when the bomb falls into the hole and creates an explosion that wreaks havoc among the scenery and players. --XGBUKx Simple 09:57, 7 Jun 2008 (PDT)
- It's not in the tutorial as it's not a key part to getting a payload system to work, plus its not a real time explosion. There is around 30(at a guess) animated props used at the end of goldrush to create the explosion effect so you can either use some of the goldrush models or model and animate your own.--NekoBaron 21:23, 9 Jun 2008 (PDT)
- Animating your own, will be very difficult, but possible.--Gear 22:53, 9 Jun 2008 (PDT)
- It's not in the tutorial as it's not a key part to getting a payload system to work, plus its not a real time explosion. There is around 30(at a guess) animated props used at the end of goldrush to create the explosion effect so you can either use some of the goldrush models or model and animate your own.--NekoBaron 21:23, 9 Jun 2008 (PDT)
My cart won't spawn!
I've been following your instructions all the way through and made the settings the same as in PL_OrangeBomb but my cart still wont spawn. Any help ?
6/13/08 Updates
- Removed: Note about default FGD missing the value. Comes with fgd by default.
- Added:
- Added:
--Lord Ned