Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vehicle decay
#1
What controls the vehicle decay
 
Reply
#2
Try possibly

MMOCoreORB\src\server\zone\objects\creature\events\VehicleDecayTask.h
 
Reply
#3
thank you
 
Reply
#4
My old eyes would be happy if someone made a mod to the smoke shader, such that it didn't show any smoke until the vehicle was down to say, 25%. By default it starts smoking pretty early on.
Legend of Hondo - A Single Player SWGEmu based ... science project? Smile
My SWGs Files - https://mega.nz/#F!nUMwRSAI!S35daVC46CcEX9PQKmWr-g
http://www.tpot.ca - SWG Mods and Information

 
Reply
#5
I was looking in .../MMOCoreORB/bin/scripts/object/mobile/vehicle and it looks like the decay rate is set in the lua for each vehicle.

Example from speederbike:

object_mobile_vehicle_speederbike = object_mobile_vehicle_shared_speederbike:new {
templateType = VEHICLE,
decayRate = 25, -- Damage tick per decay cycle
decayCycle = 600 -- Time in seconds per cycle
}

ObjectTemplates:addTemplate(object_mobile_vehicle_speederbike, "object/mobile/vehicle/speederbike.iff")
 
Reply
  



Forum Jump:


Browsing: 1 Guest(s)