Repairs Needed! - Region effect questions...

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
vampire_lord
Rebel Sergeant
Rebel Sergeant
Posts: 216
Joined: Thu Mar 20, 2008 7:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City
Contact:

Repairs Needed! - Region effect questions...

Post by vampire_lord »

OK, I am nearly done with my terrain and all objects in it, and I have a question about "minus damage" regions and stuff, all vehicles in my mod will have limited ammo, that means there must be a way to reload their weapons, can I just use the recharge and repair droids putting them around or can I give an object like tat_bldg_platform new properties to repair and recharge ammo in vehicles?

Thanks in advance.

Btw, anyone willing to test my first beta is welcome.
NORTHERN DUNE SEA - BETA 1.0 for Battlefront 2
Enjoy the trip, I suggest you play on Elite for now, I'll enable uber mode in the next...
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Repairs Needed! - Region effect questions...

Post by Caleb1117 »

Any prop can be made to heal people or vehicles, and give them ammo.

Just make a copy of said prop's ODF, and try changing it to this:
Don't forget to change the msh name calls.
[GameObjectClass]
ClassLabel = "powerupstation"
GeometryName = "com_item_vehicalrecharge.msh"

[Properties]

MapTexture = "rechargedroid_icon"
MapScale = "0.75"


PowerupDelay = "1.0" //<delay between each 'power up' currently set to 1 second>
VehicleHealth = "400.0"
VehicleAmmo = "1"
Powerupsound = "vehicle_recharge defer"
AmbientSound = ""
BuiltSound = ""


[InstanceProperties]
EffectRegion = "" //<You can use this to specify a region where it will do this, instead of just a radius around the object>
Radius = 20.0
User avatar
vampire_lord
Rebel Sergeant
Rebel Sergeant
Posts: 216
Joined: Thu Mar 20, 2008 7:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City
Contact:

Re: Repairs Needed! - Region effect questions...

Post by vampire_lord »

Thanks, that's exactly what I were looking for, now those platforms will have a meaning beyond props as planned. XD
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Repairs Needed! - Region effect questions...

Post by Caleb1117 »

Oh yea, and welcome to Gametoast. :)
Post Reply