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.
Seats in vehicles and level of submergence
-
boberczus
- Posts: 126
- Joined: 2010-07-06 03:56
Re: Seats in vehicles and level of submergence
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
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.
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: Seats in vehicles and level of submergence
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.
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: Seats in vehicles and level of submergence
Disregard that. That is for amphibious vehicles, not boats.
look for something similar to this:
Lower the floatMinLift and floatMaxLift and your boat should be submerged more.
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-
czesiek77
- Posts: 26
- Joined: 2014-04-20 18:56
Re: Seats in vehicles and level of submergence
Thank you very much for help. 
Last edited by czesiek77 on 2015-04-03 21:52, edited 2 times in total.
