Page 1 of 1
Repairs Needed! - Region effect questions...
Posted: Fri Jun 13, 2008 9:45 am
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...
Re: Repairs Needed! - Region effect questions...
Posted: Fri Jun 13, 2008 3:11 pm
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
Re: Repairs Needed! - Region effect questions...
Posted: Fri Jun 13, 2008 7:49 pm
by vampire_lord
Thanks, that's exactly what I were looking for, now those platforms will have a meaning beyond props as planned. XD
Re: Repairs Needed! - Region effect questions...
Posted: Fri Jun 13, 2008 8:02 pm
by Caleb1117
Oh yea, and welcome to Gametoast.
