Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Allowing passengers to use class weapons https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4672 |
Page 1 of 2 |
Author: | Senshi [ Thu Feb 05, 2009 8:23 pm ] |
Post subject: | Allowing passengers to use class weapons |
Author: | Why Two Kay [ Thu Feb 05, 2009 10:11 pm ] |
Post subject: | Re: Allowing passengers to use class weapons |
I think part of this is part of the hard-coded changes from BF1942 to BFV. It just can't be done in 1942, because according to the internal code: when a passenger is in a vehicle, they do not get to use their weapons. They are no longer "solider," they are "vehicle." |
Author: | Senshi [ Fri Feb 06, 2009 9:34 am ] |
Post subject: | Re: Allowing passengers to use class weapons |
Ah, read that definition of passengers also (MDT website), but I thought maybe tehre are workarounds (as there are so many ![]() ![]() Thanks for your quick and helpful answer ![]() |
Author: | Archimonde0_0 [ Fri Feb 06, 2009 12:22 pm ] |
Post subject: | Re: Allowing passengers to use class weapons |
You can modify it so that you can see the weapon in first person, as well as see the animations in 3rd person, but it doesn't work like your thinking. The gun is basically floating, and in 3rd person there is no gun. Just the animations. |
Author: | Senshi [ Sat Feb 07, 2009 9:34 am ] |
Post subject: | Re: Allowing passengers to use class weapons |
Yep, that's what I already managed to get. A fully visible one (with the code above you even see the weapon in external camera as well as all fire animations), but of course no gameplay effect is caused by this... Though I probably encountered a glitch after some further testing, this time with the T34-85 Passenger seat on the rear, lb_Passengerontank, ub_Passengerwithweapons and all showweapons etc. active Now when one enters the seat, it is possible to fire exactly ONE round, then the fire sound starts looping and no more rounds can be shot. But the round is no visual glitch, it really is spawned and causes damage (tested by firing on a jeep nearby), and when leaving the tank the magazine misses one round... I strongly doubt this glitch is expandable to get it to proper function, but wanted to mention it nevertheless. EDIT: I also have to say the mod includes EXTENSIVE modding on my half and adding contents (e.g. animations) from other mods, so I'm not sure this is easily reproductible. |
Author: | Zoolander [ Sun Feb 08, 2009 2:48 pm ] |
Post subject: | Re: Allowing passengers to use class weapons |
I was looking at the jetpack code last night (Proper jetpack from SW). It seems to be basically some kind of vehicle. Maybe you can look at it and see if it helps. |
Author: | Syphax [ Sun Feb 08, 2009 3:52 pm ] |
Post subject: | Re: Allowing passengers to use class weapons |
In the Galactic Conquest mod (about star wars) they got land vehicles so big that people can spawninside, walkaround and fire from openings. (The Walker, see movie: The Empire strikes back) I think for slow moving vehicles it is possible to just have the ride along on the back (like in the back of a halftrack) and the soldiers can fire overtop. |
Author: | Senshi [ Sun Feb 08, 2009 4:43 pm ] |
Post subject: | Re: Allowing passengers to use class weapons |
The jetpack is not really a vehicle, but a "ActiveKitPart" appendable to a kit... ![]() I know about the possibility to walk freely around in vehicles and have that also in use for some vehicles (e.g. Ratte Landkreuzer ![]() But thanks for the creative input ![]() |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |