teenwolf Posted May 23, 2005 Share Posted May 23, 2005 I have currently finished some scm coding to get 2 buses to run round VC in single player, I have some slight bugs to work out before it is completed , My question is are the MTA team gonna add a bus service to Blue at all, or even an automated taxi service, erm just asked as im too lazy to drive and my driving skills sux but I do think it would be a good idea to do so. Link to comment
=BDC=Kenny Posted May 23, 2005 Share Posted May 23, 2005 Heh... maybe a 1000$ deduct from your money to taxi you your destination? Link to comment
Si|ent Posted May 23, 2005 Share Posted May 23, 2005 A bus service is an interesting idea, and one I've not come across before (Automated variety anyway). I'd imagine it would be relatively simple to sync in future MTAs built upon Blue, as by the sound of it you have done most of the hard work already. You'd just need to ensure enough time at each stop for players to board/alight as keepign the service 'on rails' would be the most efficient way to do it unless youve built some pretty nifty A.I. to control them. Link to comment
teenwolf Posted May 23, 2005 Author Share Posted May 23, 2005 Erm nifty AI is beyond me yet as I am still noobish to SCM however your right it does run on a rail system. The bugs I need to iron out are the bus strays at certain locations so more points to be added, and yes I have already allowed 10 to 15 second delays to main stops and 0 seconds to non-stop points, the other bug to sort out is if the bus is bashed into the drive_ point it does desturb the buses route as it has to go back thro that point to drive to next area . I have only been working on it for 3 days and am willing to pass the code on to someone who could develope the idea further than i can take it. At present the stops are seemless and smooth and the route limited to my fixed locations. I need to add a wrecked command to each sub-routine so it can respawn and reset its variable counter( think this is what it is called ) and start its cycle from point A. Thanx for your reply Mr Bump Also Kenny I will be adding a cost to ride the bus but so far need to think how to approach stopping free entry to the bus when you are short of cash:P Link to comment
Gunny Posted May 23, 2005 Share Posted May 23, 2005 yeh wolfie great idea man I always loved that, I hope this bus works out I know it will Link to comment
eAi Posted May 23, 2005 Share Posted May 23, 2005 You could make a bus system in blue, though it looks likely that the initial version will not support ai peds (i.e. drivers). There are other ways you could 'fake' it though, its not as if you can see bus drivers anyway. Link to comment
teenwolf Posted May 23, 2005 Author Share Posted May 23, 2005 As of yet I havent used a driver, if I could add one that could not be removed on entry I would just for asthetic reasons only, if the driver was a fixed addition to the bus I.E spawns with the bus into the create_car commands before and after the bus has been wrecked, then all will have the driver seen sat in the driver seat regardless of having to synch a ped or not surely, I'm not 100% sure of this but if everyone has a driver/dummy coded in then they all see it whether it does nothing at all but sit there, is that right ???? Is it possible to only allow a player to enter the bus as a passenger only, and not allow him to enter the drivers seat? thanx for the input Link to comment
Si|ent Posted May 24, 2005 Share Posted May 24, 2005 Is it possible to only allow a player to enter the bus as a passenger only, and not allow him to enter the drivers seat? Quite easily yes. One thing, are you using the old fashioned Bus or the Coach? The latter would probably be better as u could cram more than one person in it without too much bother. Link to comment
teenwolf Posted May 25, 2005 Author Share Posted May 25, 2005 Currently I am using the bus think I will convert to the coach tho thanx for that oh my base code is now completed and the bus runs on a rail system with no bugs as yet, still testing it had to change my basic coding and do a rethink which runs way better now, started to work on an AI system for stopping times i.e if no player is near the bus the bus will only stop for 5 seconds and if a player is in the area it will wait 30 seconds to allow time for boarding . I could do with some help in doing collision detection as the bus stops when a car or player obstructs the route, maybe a driver will help for this? Just a couple more drive_to points to add in and co-ord adjustments to make and I will be willing to release what I've done so far, when I do so please remember this is a work in progress and a lot more is to be done to this project Link to comment
ChrML Posted June 30, 2005 Share Posted June 30, 2005 An automated bus service sounds great, and with the new blue server's add-on functionality, it won't be too hard to make working. There might be a few problems I don't know if the blue API can handle though. What if someone tries to jack the bus? What about terrorism? Link to comment
orappa Posted June 30, 2005 Share Posted June 30, 2005 That's a good point actually that no-one's brought up before. Presumably they'd have some sort of basic error handling mechanism for the API because otherwise they're going to get lots of error reports for bugs in third party mods that they have no control over. Link to comment
Subwoofer Posted June 30, 2005 Share Posted June 30, 2005 What about doing the same thing with the train(s) in SA? Link to comment
RMM342 Posted July 2, 2005 Share Posted July 2, 2005 Sounds like a cool idea guys and im glad it seems to be working out i look forward to checkin it out Link to comment
Leviathan Posted July 2, 2005 Share Posted July 2, 2005 Some people might try to block the bus, ram if of the road. Good idea alltough. The trains and airfield to travel quick are must haves in MP. Otherwise if peeps start a meeting in Bayside and they are in Ocean docks... hmm, that would be a long travel and the meeting probably would be over allready... Link to comment
ipconfig Posted July 20, 2005 Share Posted July 20, 2005 how about a player drives taxis around, you can just spawn as a taxi driver, which will make you spawn at a taxi depot with taxi's parked at the depot, and you dressed like a taxi driver (however they dress), you can press the button you normally press to start a taxi mission in single player (or make taxi mission start as soon as you get in a taxi), and go around and pick up players and make $$money$$, Link to comment
teenwolf Posted July 25, 2005 Author Share Posted July 25, 2005 I was hoping in Blue we can add a taxi service which is automated by your own selection,i.e you pick the destination, it takes you to your selected area, hence why I started the bus project, Hope this is possible and I haven't done this for nothing Link to comment
[FMJ]chode Posted July 25, 2005 Share Posted July 25, 2005 well id say it should deffinatly be possible, although weather you can have a model in the bus/taxi/whatever as in original releases i bet all the models will be used for players. be good though, can use it for many a things. Link to comment
Guest Posted August 5, 2005 Share Posted August 5, 2005 What about indestructible? So if someone decides to shoot your car, you can just carry on normally to your destination? Link to comment
=BDC=Kenny Posted August 5, 2005 Share Posted August 5, 2005 LOL indestructable. That would make n00bs get in taxis all the time, escaping from death from the pro players, this would cause chaos. But if you make it destructable, i guess its a great idea. Link to comment
teenwolf Posted August 6, 2005 Author Share Posted August 6, 2005 I think it best to remain with 10000 health and respawn and restart the route again once its destroyed. Would bug me to death to get a noob to almost certain death for him to lamely catch the bus Erm or even me to do that lol Link to comment
Guest Posted August 6, 2005 Share Posted August 6, 2005 Bus... sounds cool! And i have idea - what about sit on bus roof and shooting around? And i have a question - how many passengers can enter bus? Link to comment
=BDC=Kenny Posted August 6, 2005 Share Posted August 6, 2005 to BD: You may do that from "gluing" the players on top of the bus, which isnt possible in this core. Probably Infinite. And how bout if the bus explodes the player is forced to get out. lmfao 10000% health. I think it should only be 100% lol. So it won't be used to escape players. Kill the n00bs lol. Link to comment
Solid Posted August 9, 2005 Share Posted August 9, 2005 god that seems so cool. Writing something yourself and then watching it come to life, bugs or not. I wanna learn how to mod and then write something, even if its sloppy I'd love it like a mother loves her ugly ass child. Could yall link a few sites that will teach me basic C++ from scratch? Link to comment
orappa Posted August 9, 2005 Share Posted August 9, 2005 (edited) http://www.cprogramming.com http://www.cplusplus.com/doc/tutorial/ And here's a list of loads: http://www.cyberdiem.com/vin/learn.html Edited August 19, 2005 by Guest Link to comment
Recommended Posts