Server Side Modding

The Official Modding Resource for Battlefield 1942 and Battlefield Vietnam
It is currently Mon Oct 19, 2009 5:30 pm

All times are UTC - 6 hours [ DST ]

Getting Started
Getting Started
Prepping Your Files
  Testing Methods
Auto-Start Map
True Testing Enviroment
General How-To's
Stop Base Camping
Removing Out Of Bounds
Stop Base Camping 2
Disabling Parachutes
Add Repair Points
Add Spawn Points
Main Base Swapping
Modifying the Point System
Conquest Ticket System
Making CTF Versions of Maps
Vehicle How-To's
Replace/Add Vehicles
Lock Vehicles
Partially Disabling Vehicles
Totally Disabling Vehicles
Making a Carbomb
Adding Nitrous
Making Amphibious
Performance Tweaking
Adding Healing Supply
Adding/Changing/Removing Carrier Vehicles
Weapon How-To's
Spawn Weapon Kits
Change the Weapon Kits of Soldiers
Modifying Weapon Attributes
Disabling Weapons
Modifying the Damage System
Disabling Overheating
Fix Wall Hacks
How to Fix Wall/Floor Hacks
Basrah's Edge
Lost Village
Al Khafji Docks
El Alamein
Other Fixes
Leaning F16 Fix
Glass Humvee
Oil Fields Exploding A-10
Operation Bragg Fixes
Object List
Weapon Kits List
Global Object Spawners
Global Soldier Spawns
Projectile Material Numbers

How To Add Repair Points

In some of the maps, the hangars don't repair like they are supposed to. To fix this, you need to add a repair point to the location of the hangar.

First, find the coordinates for the hangar. This can be done using BC42 or searching the StaticObjects.con in the map rfa. Once you have found them, all you nee to do is create a new object spawn in the ObjectSpawns.con file with the hangar's coordinates. Here are the names of the objects you can add:

rem *** repairs all air vehicles ***
Object.create AirplaneRepairpoint
Object.absolutePosition x/z/y
Object.rotation 0/0/0

rem *** repairs opposition air vehicles ***
Object.create Airplane1Repairpoint
Object.absolutePosition x/z/y
Object.rotation 0/0/0

rem *** repairs coalition air vehicles ***
Object.create Airplane2Repairpoint
Object.absolutePosition x/z/y
Object.rotation 0/0/0

This worked fine on the server without adding the repairpoint object to the ObjectSpawnTemplates.con.


No materials may be duplicated under any circumstances.