Removing Gunner position from vehicles.

Making or wanting help making your own asset? Check in here
Post Reply
ChickenPie75
Posts: 8
Joined: 2012-07-05 13:54

Removing Gunner position from vehicles.

Post by ChickenPie75 »

Hello, I want to remove the gunner position from tanks so that the driver can control the main gun, just like in good ol' vainalla BF2.

I like it better when I can drive the tank and shoot its gun myself. I know this feature must have something to do with the .tweak files in the Vehicles_Server.zip.

for example, the M1A2 Abrams (us_tnk_m1a2.tweak) located in Vehicles_Server_Patch1, so I tried removing all the lines that included the "Gunner camera" and "ObjectTemplate.aiTemplate Gunner" etc etc.
or I just replaced the "Gunner" with the "Driver" (by overwriten it in the text editor). But after I made the changes and started PR mod again, it either crashed to the Desktop, or the M1 Abrams didn't work correctly anymore. ( I couldn't get in the tank and it was "sliding" on the floor).

So I basically hope you guys will help me out. Which are the exact lines that need to be changed in order to remove the Gunner's position?
temexter
Posts: 397
Joined: 2009-11-23 15:50

Re: Removing Gunner position from vehicles.

Post by temexter »

Maybe you could try us_tnk_m1a2_bf2...
Image
ImageImageImage
Moszeusz6Pl
Retired PR Developer
Posts: 939
Joined: 2010-06-24 13:41

Re: Removing Gunner position from vehicles.

Post by Moszeusz6Pl »

There are already modified version of most vehicles in PR. They have _bf2 after they name. So add _bf2 to its name in GameplayObjects.con or spawn it with rcon comand adding _bf2.

Image
ChickenPie75
Posts: 8
Joined: 2012-07-05 13:54

Re: Removing Gunner position from vehicles.

Post by ChickenPie75 »

Sorry, where is the GameplayObjects.con located?

Also, what is a 'rcon comand', care to explain?
ChickenPie75
Posts: 8
Joined: 2012-07-05 13:54

Re: Removing Gunner position from vehicles.

Post by ChickenPie75 »

OMG lol i'm stupid, nevermind, it's in the level's folder. Thanks for the quick replies, over and out.
Post Reply

Return to “PR:BF2 Community Modding”