cj360 Posted November 3, 2009 Share Posted November 3, 2009 Hey I saw saw in the Vehicle Competition, Pico said @Jost, it replaces the Hotknife. I'm almost certain you CAN have it be only a one passenger car. Sadly, due to time constraints I wasn't able to set that up!Aaaaand, I couldn't have him enter like the BF Injection. Seriously limited on time... So I'm wondering how do you set it up? Link to comment Share on other sites More sharing options...
JohnPro Posted November 8, 2009 Share Posted November 8, 2009 Im sure its in the handling and vehicle ide lines but most likely handling because I dont know of any dummies that tell the game where the passenger sits. IF anyone does please give me the name. Ped_rl? Link to comment Share on other sites More sharing options...
cj360 Posted November 21, 2009 Author Share Posted November 21, 2009 I checked both with cfg studio and did not find any thing that seemed to affect the amount of peds that can go in it..... Link to comment Share on other sites More sharing options...
modee masteer Posted November 21, 2009 Share Posted November 21, 2009 how do you mode Link to comment Share on other sites More sharing options...
james227uk Posted November 22, 2009 Share Posted November 22, 2009 "How do you mode?" Doesn't make sense. Come back when you can explain clearly what you want. And please, don't threadjack @CJ360 I believe it's in the model dff file. Link to comment Share on other sites More sharing options...
Flat Face Posted November 24, 2009 Share Posted November 24, 2009 it's both in the dff, the amount of dummy's you have for seats and it's also in the default.dat or vehicles.ide or w/e SA uses. In VC it's either default.dat or default.ide Link to comment Share on other sites More sharing options...
cj360 Posted December 14, 2009 Author Share Posted December 14, 2009 Nope I don't see any thing about the amount of peds allowed in the cars, I wish someone who has done it would look at this topic Link to comment Share on other sites More sharing options...
JohnPro Posted December 14, 2009 Share Posted December 14, 2009 (edited) The bandito is a 1 seater car. It uses the exact same dummies as other vehicles. The handling flags dont have anything related to 1 seater. How does the game determine these things? Alexander Blade made SAVehSpecAbilities which would allow you to use turrets etc. on other vehicles. So how did he do it? What file tells the game what has what? What if we added a new car can we say this is a 1 seater car or is it automatically set to 2 seater or 4 seater depending on how many dummies are in the model? Suggestion: Dont add a right door. Edited December 14, 2009 by JohnPro Link to comment Share on other sites More sharing options...
H13N.H3N Posted December 14, 2009 Share Posted December 14, 2009 Making a 'single ped-seat' is trickly possible, in GTA SA there are vehicles in that only one passenger is allowed and this goes for the driver only, like the 'mower', 'tug', 'Bandito', 'GoKart' etc, in part this is a function hardcoded in the .exe as a feature for those vehicles, nevertheless is not a rule that only those vehicles can use the feature. all vehicles use two types of 'dummies' for pedestrians to sit, ped_frontseat and ped_backseat, plus there are some special dummies for extra actions like making a girl sit on the roof of the car or the front of the car in actions like low-riders competitions. regular vehicles with both dummies; ped_frontseat and ped_backseat, can allow only 4 peds at time while when only 'ped_frontseat' dummy is present only two peds will be able to enter the car, this despite if the car has 4 or 2 doors, only buses like the 'Coach' or 'Bus' are able to carry 7 peds including the driver, i repeat, this is a hardcoded function of the vehicle ID, only ID assigned for bus or coach can load 7 peds at time, nor do i mean is not possible to have more than those two vehicles carrying that number of peds, there is always a way to change this situation. getting back to the dummies, those object are only editable via 3D editors; Blender, 3D Studio Max, Sketchup and Zmodeler can edit them with their respective plugin but you need more than 'want it done' for have what you want, you must first learn to use those tools which i strongly suggest by start looking in the tutorial forum. More about dummies, only two dummies are set for the vehicles as i said, no more than those two, making custom names will bring no results because these custom names aren't recognized by the GTA engine as a valid entry, now, in the model of a regular vehicle they are in this way: excuse me for not putting a mark on which of those dummies (red boxes) are the ped_frontseat and ped_backseat, but by pure logic you must assume that are the ones from the seats.Notice that both dummies are on the right side of the vehicle, so in game, what the engine does is just 'mirror' the cords of those dummies for have the other two ped seats, while when in a single passenger vehicle, only one dummy is required in the vehicle, generally this dummy is set at 'X' axis in zero value (X,0): look that is the same dummy as in the first screenshot (ped_frontseat). While the same dummy, it's seem to be the ID the one that tells the game that only one passenger is allowed to use that vehicle, if you take the whole 'mower' vehicle even with it's 'default.ide' line and also handling line to replace other car like the sadlsh*t or the glensh*t; at the moment of get inside the vehicle, other people like your homies or hos can also 'enter' to the mower, but seating in a weird way in the same seat as the driver is ruining the effect of having just one seat for one ped. also and this is an off-topic comment in general for new members, stop sending me PMs asking for help, i don't like to be a rude girl but i'm tired of keep receiving PMs and Messenger request for helping with simple tasks like skining, exporting importing or even starting from scratch modding (received 5 in the week, 2 yesteday.. that's why i toke a break the whole year from modding =c...), i'm always happy to help people but people that really makes it best effort and come only when they are stuck or when have something really nice to share, i'll repeat something i wrote some time ago... being 'NOOB' is not an excuse for act like an ignorant or a troll, the forum is plenty full of documentation about GTA, 10 years since GTA III (and plenty more since GTA I) are enough to have a big database full of useful topix and even more out of GTAF waiting to be discovered. Link to comment Share on other sites More sharing options...
cj360 Posted December 15, 2009 Author Share Posted December 15, 2009 I know that it has to be done in a modeling program of some sort the one I'm used to using is max, I've done 1,2 car mods for it, by they were from VC, so it was already set up, just needed to change a few things. So are you saying it is hard-coded? Or there is way to do it in 3ds max? I know that some of the dummy's like the ped_frontseat are mirrored from the passenger's side of the car so would I put the ped_frontseat dummy where the player sits or something else? picture of what I mean: Link to comment Share on other sites More sharing options...
H13N.H3N Posted December 15, 2009 Share Posted December 15, 2009 when i say it's hard-coded i mean that is actually the GTA game engine instruction which is stored in the gta_sa.exe, this kind of instructions are best known in some cases as vehicle abilities (there are plenty more for other kind of things, but this is what you need to know now) the way in that only Rhino has tank abilities, Firetruck it's turret of water or cement truck it's.. 'cement spinning thing' also those single seat vehicles have some sort of instruction that tells the game something like 'don't X mirror ped_frontseat dummy for avoid two peds in the same seat'. Alexander Blade made a serie of patches and things for edit those vehicle abilities and options, i never had in mind look for this kind of vehicles with only one seat indeed. perhaps it'll be enough placing the ped_frontseat dummy in the way you originally had in mind Link to comment Share on other sites More sharing options...
JohnPro Posted December 15, 2009 Share Posted December 15, 2009 also those single seat vehicles have some sort of instruction that tells the game something like 'don't X mirror ped_frontseat dummy for avoid two peds in the same seat'. I dont doubt anything you posted but I just wanna say that I managed to make the Hydra a 4 door by adding door_rf_ok, door_rr_ok and door_rl_ok then changing its animation to standard car which would be 0. Thats why I assumed you could remove doors to make it 1 seater. I havent tested but only 2 things can happen it will work or simply crash as the ped tries to enter the vehicle. Link to comment Share on other sites More sharing options...
H13N.H3N Posted December 15, 2009 Share Posted December 15, 2009 I dont doubt anything you posted but I just wanna say that I managed to make the Hydra a 4 door by adding door_rf_ok, door_rr_ok and door_rl_ok then changing its animation to standard car which would be 0. Thats why I assumed you could remove doors to make it 1 seater. I havent tested but only 2 things can happen it will work or simply crash as the ped tries to enter the vehicle. because it always work at inverse, i always make 'Tug' a four door vehicle because that car doesn't do anything interesting, and picking those little wagons aren't to fun at all, also i said you can always try to make a vehicle that originally was 2 or 4 door vehicle into a single ped seat, but you'll have weird side effects like two peds fusing in the same seat, WEIRD!. also if you make the vehicle with 4 seats but with 2 doors and don't include another invisible but included dummies for doors your game will crash, this is due that seats are detected but aren't the dummies for doors so the animation of opening doors can't be played and in consequence the game crashes, this if you don't change the animation for entering vehicles, cars with no doors like the Bandito or BF Inject has this animations in which CJ jumps into the car and doors then are useless Link to comment Share on other sites More sharing options...
cj360 Posted December 17, 2009 Author Share Posted December 17, 2009 Thx you guy's I'll try putting the ped_frontseat dummy where I want him, and ask a friend who's good in coding to see what he knows about it, or the hardcoded part of it. Link to comment Share on other sites More sharing options...
JohnPro Posted December 18, 2009 Share Posted December 18, 2009 I dont doubt anything you posted but I just wanna say that I managed to make the Hydra a 4 door by adding door_rf_ok, door_rr_ok and door_rl_ok then changing its animation to standard car which would be 0. Thats why I assumed you could remove doors to make it 1 seater. I havent tested but only 2 things can happen it will work or simply crash as the ped tries to enter the vehicle. because it always work at inverse, i always make 'Tug' a four door vehicle because that car doesn't do anything interesting, and picking those little wagons aren't to fun at all, also i said you can always try to make a vehicle that originally was 2 or 4 door vehicle into a single ped seat, but you'll have weird side effects like two peds fusing in the same seat, WEIRD!. also if you make the vehicle with 4 seats but with 2 doors and don't include another invisible but included dummies for doors your game will crash, this is due that seats are detected but aren't the dummies for doors so the animation of opening doors can't be played and in consequence the game crashes, this if you don't change the animation for entering vehicles, cars with no doors like the Bandito or BF Inject has this animations in which CJ jumps into the car and doors then are useless I really didnt want to be an annoying little ass but it worked as I assumed. I did as i suggested but this time made ped_frontseat in the center with X set to 0. As you can see the recruited gangs didnt make any efforts to enter my vehicle and it didnt crash. Link to comment Share on other sites More sharing options...
H13N.H3N Posted December 19, 2009 Share Posted December 19, 2009 that was quite nice indeed, now we know that a dummy in X,0 position disables the mirror function for ped_frontseat, i wonder if this also have any effect for ped_backseat. Perhaps, this new discover only works for SA, because i remember replacing the Infernus in Vice City for another one-seat vehicle and Lance Vance and Tommy were in the same seat at the same time, congrats, that's the way of a true modder XD always testing what it comes to you mind. Link to comment Share on other sites More sharing options...
JohnPro Posted December 19, 2009 Share Posted December 19, 2009 that was quite nice indeed, now we know that a dummy in X,0 position disables the mirror function for ped_frontseat, i wonder if this also have any effect for ped_backseat. Perhaps, this new discover only works for SA, because i remember replacing the Infernus in Vice City for another one-seat vehicle and Lance Vance and Tommy were in the same seat at the same time, congrats, that's the way of a true modder XD always testing what it comes to you mind. Perhaps it does work for backseat. Remember the camper? A 3 seater vehicle I never experienced two peds in the same seat Link to comment Share on other sites More sharing options...
cj360 Posted December 29, 2009 Author Share Posted December 29, 2009 (edited) Glad to see that John, as just placing the frontseat dummy where I want the player doesn't work. I forgot to take pics of my test but the game mirrord the dummy and put CJ in the passenger's seat, forgot to see if another ped could/would try to get in. EDIT- Forgot to mention CJ has to but placed in the car by code as he can't get in normally, I promise to take picture next time Edited December 29, 2009 by cj360 Link to comment 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