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
Paradrops
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
Stalingrad
Al Khafji Docks
El Alamein
Other Fixes
Leaning F16 Fix
Glass Humvee
Oil Fields Exploding A-10
Operation Bragg Fixes
 
 
References
Object List
Weapon Kits List
Global Object Spawners
Global Soldier Spawns
Projectile Material Numbers
 

Adding Healing/Supply to Vehicles

here's another addtemplate that works. I did this to the SA-342 (because apparently it looks like DC tried to do this anyways, but they set the setteam to 0, so it has no effect :/). Anyways, if you want to add a heal/supply capability to a vehicle, you can addtemplate the BRDM's object that does this to it.

For example, if you want the Gazelle to heal/reload troops, you can add the following lines at the bottom ObjectSpawnTemplates.con:

rem healing code for SA-342
ObjectTemplate.Active SA342Common
ObjectTemplate.AddTemplate BRDM2SupplyDepot

Also, if you want it to just affect the iraqi's and not the coolition, you can add this line as well:

ObjectTemplate.Active BRDM2SupplyDepot
ObjectTemplate.team 1

When I first did this, it appeared to work for the SA-342 (the only healing team 1 part), but we played last night, and I think i remember still getting healed by the BRDM, which i thought wouldn't have worked. so try it out and let me know how it works out.

You could probably add vehicle repair capability also (i dont see why not). And you might be able to tweak the medical BH so it's radius is larger, and it can do more repairs

contributed by MEPHiSTO

Hi Folks, i just added a Tank-Repairing Support-Heli to both Team in DC_Battle_of_73_Easting:

ObjectTemplate.create ObjectSpawner HvySniperSpawn
ObjectTemplate.setObjectTemplate 2 UH-60Q
ObjectTemplate.setObjectTemplate 1 UH-60Q
ObjectTemplate.MinSpawnDelay 50
ObjectTemplate.MaxSpawnDelay 80
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.MaxNrOfObjectSpawned 2

ObjectTemplate.Active UH-60Q
ObjectTemplate.AddTemplate BRDM2SupplyDepot
ObjectTemplate.AddTemplate BRDM2VehicleSupplyDepot
ObjectTemplate.AddTemplate repairpoint
objectTemplate.speedMod 0.8

ObjectTemplate.Active BRDM2SupplyDepot
ObjectTemplate.radius 25
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 1

ObjectTemplate.Active BRDM2VehicleSupplyDepot
ObjectTemplate.radius 25
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 1

ObjectTemplate.Active repairpoint
ObjectTemplate.radius 25
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 1
cron

©2009
No materials may be duplicated under any circumstances.