Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Fri Dec 15, 2017 12:46 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
PostPosted: Fri Dec 11, 2009 2:02 am 
Offline

Joined: Thu Jan 18, 2007 6:59 am
Posts: 76
I am trying to increase the hit points to the 5 objectives but im having a hellova time getting the code correct.

OST.con
Code:
rem -----------------------------------------
rem --- Increased Factory/Radar Hit Points  ---
rem -----------------------------------------

ObjectTemplate.create PlayerControlObject Britain_Factory
ObjectTemplate.hitpoints 1300
ObjectTemplate.maxhitpoints 1300

ObjectTemplate.create PlayerControlObject Clacton_RadarTower
ObjectTemplate.HitPoints 900
ObjectTemplate.MaxHitPoints 900

ObjectTemplate.create PlayerControlObject East_Harwick_RadarTower
ObjectTemplate.HitPoints 900
ObjectTemplate.MaxHitPoints 900

ObjectTemplate.create PlayerControlObject Felixstowe_RadarTower
ObjectTemplate.HitPoints 900
ObjectTemplate.MaxHitPoints 900

ObjectTemplate.create PlayerControlObject West_Harwick_RadarTower
ObjectTemplate.HitPoints 900
ObjectTemplate.MaxHitPoints 900


Many of the DC vehicles are too strong and takes very lil effort to destroy any of the objectives, I tried the above code and added 300 hitpoints to each but the code is bunk. Any suggestions?


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Dec 11, 2009 3:46 am 
Offline

Joined: Thu Jan 18, 2007 6:59 am
Posts: 76
EDIT** I tried this code and also tried it without the "PlayerControlObject", Im having no luck at this so im really hoping someone has a idea how to do this.

Code:
ObjectTemplate.Active PlayerControlObject Britain_Factory
ObjectTemplate.hitpoints 1300
ObjectTemplate.maxhitpoints 1300

ObjectTemplate.Active PlayerControlObject Clacton_RadarTower
ObjectTemplate.HitPoints 900
ObjectTemplate.MaxHitPoints 900

ObjectTemplate.Active PlayerControlObject East_Harwick_RadarTower
ObjectTemplate.HitPoints 900
ObjectTemplate.MaxHitPoints 900

ObjectTemplate.Active PlayerControlObject Felixstowe_RadarTower
ObjectTemplate.HitPoints 900
ObjectTemplate.MaxHitPoints 900

ObjectTemplate.Active PlayerControlObject West_Harwick_RadarTower
ObjectTemplate.HitPoints 900
ObjectTemplate.MaxHitPoints 900


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Dec 11, 2009 11:03 am 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
Cant change hitpoints ssm.


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Dec 11, 2009 3:20 pm 
Offline

Joined: Thu Jan 18, 2007 6:59 am
Posts: 76
Well that sucks yep sure does, Well then Im gonna assume the only other way to make this concept work is change how much damage the radars/factory can take from projectiles. Thanks for the heads up on that twist , I shall search what the radars/factory are made of and see if i can change how much a hellfire missle will do to them since its a dc helo map im doing this for.


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Dec 11, 2009 9:09 pm 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California
Another concept is to have the radars/factory respawn after X minutes. This should make the hive angry.

I did this on Weapons_Bunker...so if you don't destroy the objective in X minutes then they get "rebuilt".

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Dec 11, 2009 10:34 pm 
Offline

Joined: Thu Jan 18, 2007 6:59 am
Posts: 76
ZOOMER wrote:
Another concept is to have the radars/factory respawn after X minutes. This should make the hive angry.

I did this on Weapons_Bunker...so if you don't destroy the objective in X minutes then they get "rebuilt".


I have already done this concept, radars respawn after 5min and factory after 10 but im head strong on figuring out what should be a simple modification to reduce the amount of damage the objectives take. Thanks for the response thou :)


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group