newfocus Posted January 15, 2009 Share Posted January 15, 2009 Adds more realism when driving one when I stop at a bus stop Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/ Share on other sites More sharing options...
QwertyAAA Posted January 15, 2009 Share Posted January 15, 2009 One word: Yes. Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058879882 Share on other sites More sharing options...
badaboom666 Posted January 16, 2009 Share Posted January 16, 2009 One word: Yes. lamer.. how? u syaing that for help or just spam? Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058883467 Share on other sites More sharing options...
QwertyAAA Posted January 16, 2009 Share Posted January 16, 2009 f*ck off. It's possible. Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058883931 Share on other sites More sharing options...
Marduk123 Posted January 16, 2009 Share Posted January 16, 2009 f*ck off. It's possible. such a kid Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058883961 Share on other sites More sharing options...
QwertyAAA Posted January 16, 2009 Share Posted January 16, 2009 f*ck off. It's possible. such a kid Pardon me? Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058884330 Share on other sites More sharing options...
GamerShotgun Posted January 16, 2009 Share Posted January 16, 2009 One word: Yes. lamer.. how? u syaing that for help or just spam? Now that was a pretty well-thought post mate.... seriously, go back to your cave and do your thing. If you think about it, it's possible somehow. Since he didn't ask HOW, the answer is correct. So please make this world better by shooting yourself. Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058884342 Share on other sites More sharing options...
dbpStoney Posted January 16, 2009 Share Posted January 16, 2009 Wow nice thread. There was little need for the f*ck off imo. Continuing from the OP and the answer of "Yes", How? Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058884661 Share on other sites More sharing options...
QwertyAAA Posted January 16, 2009 Share Posted January 16, 2009 One word: Yes. lamer.. how? u syaing that for help or just spam? Now that was a pretty well-thought post mate.... seriously, go back to your cave and do your thing. If you think about it, it's possible somehow. Since he didn't ask HOW, the answer is correct. So please make this world better by shooting yourself. Precisely. The question was, whether one can code the game to make the bus doors open when one's PC is inside a bus and at certain locations, eg bus stops. The answer is, yes. However, you have to: -Crack the model format. -Crack the animation format. -Edit the model of the bus and add an animation - in this case, the animation of the doors opening. -Develop a tool that would tell one one's location on the map, in game's files' units. -Crack the script files - completely, that is. -Crack the opcodes. -Find the opcode that plays certain animations. -Find the opcode that creates certain game areas for defined purposes. -Create an area of such type at every bus stop. -Create a command that would activate the (already compiled) animation for opening the doors. -Write code that would play the animation if the player is 1. riding a bus, 2. is not on a mission, and 3. is going at 15 kmph or less. -Bind the code to the areas. -Debug debug debug debug. dbpStoney, believe me, there was. Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058884698 Share on other sites More sharing options...
HazardX Posted January 16, 2009 Share Posted January 16, 2009 (edited) Precisely. The question was, whether one can code the game to make the bus doors open when one's PC is inside a bus and at certain locations, eg bus stops. The answer is, yes. However, you have to: -Crack the model format. -Crack the animation format. -Edit the model of the bus and add an animation - in this case, the animation of the doors opening. -Develop a tool that would tell one one's location on the map, in game's files' units. -Crack the script files - completely, that is. -Crack the opcodes. -Find the opcode that plays certain animations. -Find the opcode that creates certain game areas for defined purposes. -Create an area of such type at every bus stop. -Create a command that would activate the (already compiled) animation for opening the doors. -Write code that would play the animation if the player is 1. riding a bus, 2. is not on a mission, and 3. is going at 15 kmph or less. -Bind the code to the areas. -Debug debug debug debug. dbpStoney, believe me, there was. wrong. the bus doors are animated already. just tried it with a few group members. all you have to do to trigger it by script is to call the native OPEN_CAR_DOOR with the door IDs 1 (right front) and 3 (right rear). @petergriffin: i'll write you a script when i release the next version of my .Net script hook. it will support door handling. its just 4 lines of code or something. Edited January 16, 2009 by HazardX Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058884807 Share on other sites More sharing options...
chiefwhosm Posted January 16, 2009 Share Posted January 16, 2009 no wonder your title reads 'Pedestrian Mangler', HazardX if you're putting in the ability to hit people out of the way by opening the doors mid-drive..... Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058884830 Share on other sites More sharing options...
QwertyAAA Posted January 17, 2009 Share Posted January 17, 2009 Precisely. The question was, whether one can code the game to make the bus doors open when one's PC is inside a bus and at certain locations, eg bus stops. The answer is, yes. However, you have to: -Crack the model format. -Crack the animation format. -Edit the model of the bus and add an animation - in this case, the animation of the doors opening. -Develop a tool that would tell one one's location on the map, in game's files' units. -Crack the script files - completely, that is. -Crack the opcodes. -Find the opcode that plays certain animations. -Find the opcode that creates certain game areas for defined purposes. -Create an area of such type at every bus stop. -Create a command that would activate the (already compiled) animation for opening the doors. -Write code that would play the animation if the player is 1. riding a bus, 2. is not on a mission, and 3. is going at 15 kmph or less. -Bind the code to the areas. -Debug debug debug debug. dbpStoney, believe me, there was. wrong. the bus doors are animated already. just tried it with a few group members. all you have to do to trigger it by script is to call the native OPEN_CAR_DOOR with the door IDs 1 (right front) and 3 (right rear). @petergriffin: i'll write you a script when i release the next version of my .Net script hook. it will support door handling. its just 4 lines of code or something. open_car_door only in certain areas, automatically. Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058885063 Share on other sites More sharing options...
HazardX Posted January 17, 2009 Share Posted January 17, 2009 open_car_door only in certain areas, automatically. Did he say that? No. I think he meant that he wants to be able to open the doors of the bus when he is driving. And even if not, it would just require an array of positions, then check if one position is close to the bus and then open the doors when speed is close to zero. 15 lines of code instead of 5, OMG. BTW: i think you both should improve your tone. this is no flame board or something. Link to comment https://gtaforums.com/topic/392355-q-is-it-possible-to-make-the-bus-doors-open/#findComment-1058885091 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now