Seats in vehicles and level of submergence

Making or wanting help making your own asset? Check in here
Post Reply
czesiek77
Posts: 26
Joined: 2014-04-20 18:56

Seats in vehicles and level of submergence

Post by czesiek77 »

Hi all. I got two troubles.
First I d like to ask you how to make a driver also a gunner. What I mean is to make PR-like vehicles to be able to operate with one crew member, so the driver could operate a turret. If it is possible you could upload examples. (I dont have PR on my hardrive at the moment, and I am not trying to make PR vehicles but from ohter mod which has both driver and gunner-it is a boat)

And the second question is hypothetical: Do I have to change something in mesh of this boat to make it a little bit more underwater?(now the engine is sticking out of water and it looks weird). Or can I change something in tweak file, becouse it would be easier?

Appreciate any help.
boberczus
Posts: 126
Joined: 2010-07-06 03:56

Re: Seats in vehicles and level of submergence

Post by boberczus »

Search on forums for useful console commands. I'm sure there is one to make you able to operate vehicle by yourself.
Yea... right...
czesiek77
Posts: 26
Joined: 2014-04-20 18:56

Re: Seats in vehicles and level of submergence

Post by czesiek77 »

OK. I did manage to create one person vehicle. Now I need to make this boat more underwater. How?
Last edited by czesiek77 on 2015-04-02 20:03, edited 1 time in total.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Seats in vehicles and level of submergence

Post by Mats391 »

Never really worked on boats so far, but i think you can change it with "objectTemplate.hullHeight float -> float". Check if that is already around in your boat. I am also unsure if increasing or decreasing makes boat more submerged.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Seats in vehicles and level of submergence

Post by Mats391 »

Disregard that. That is for amphibious vehicles, not boats.
look for something similar to this:

Code: Select all

ObjectTemplate.create FloatingBundle boat_rib_FloaterRearLeft
ObjectTemplate.modifiedByUser "James"
ObjectTemplate.createdInEditor 1
ObjectTemplate.dragModifier 4000/4000/4000
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
rem -------------------------------------
ObjectTemplate.addTemplate S_boat_rib_FloaterRearLeft_RotationRpm
rem -------------------------------------
ObjectTemplate.setFloatMaxLift 5
ObjectTemplate.setFloatMinLift 2.4
Lower the floatMinLift and floatMaxLift and your boat should be submerged more.
czesiek77
Posts: 26
Joined: 2014-04-20 18:56

Re: Seats in vehicles and level of submergence

Post by czesiek77 »

Thank you very much for help. :)
Last edited by czesiek77 on 2015-04-03 21:52, edited 2 times in total.
Post Reply

Return to “PR:BF2 Community Modding”