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
 

The Conquest Ticket System

Alot of aspects can be changed regarding the ticket system in Conquest mode. Let go over what can be changed via server side modding

First, open up the conquest.con file in the map you want to play with. I'll use DC_Urban_Siege as an example. You'll see a block of code that looks like this:

Code:
Game.setNumberOfTickets 1 100
Game.setNumberOfTickets 2 100
Game.setTicketLostPerMin 1 8
Game.setTicketLostPerMin 2 8

The setNumberOfTickets sets the starting number of tickets for team 1 and team 2. These can be changed on the server if desired

The setTicketLostPerMin sets how many tickets per minute team 1 and team 2 will loose if they are loosing. Here, it is set for 8 tickets per minute. What does it mean to be loosing in Conquest though, and is that configurable?

Yes!

Open up ControlPointTemplates.con in the Conquest folder (ignore all the junk in there.. no wonder the mod is bloated). Each control point has a value set for it called:

Code:
ObjectTemplate.areaValue

When you own a control point or control points, you add all the area values. If the total is equal to 100 or more, then your opponent will start loosing tickets at the rate that was set above.

Notice the iraqi home base is set to 0. If it was set to a number, then they would begin the game with that value, and would always have that amount throughout the game.

Usually, these area values are divied up in such a way so that both teams cannot have 100 or more at the same time. If this were the case, both teams would start loosing tickets.

An example:
If the Iraqis controlled the Tower, the Highrise, DownTown, and the TradeCenter, then the Coolition would start loosing tickets (25 + 25 + 25 + 25 = 100). The leftover control points, the Market and the Docks only amount to 50 points (25 + 25). If the coolition took back one of the Iraqi control points, then the tickets would stop decreasing (noone would have 100 or more). If they took back 2 control points, then the Iraqis would start loosing tickets.

cron

©2009
No materials may be duplicated under any circumstances.