-- -- Autor: Benjam√ån de la Fuente Ranea -- Fecha: 23-12-2008 -- -- Script con la descripciÛn del circuito -- RegisterCircuit(3, 5, { name = "circuit_stadium5.lua", comercialName = "Double Helix", bigPreview = "big_prev_circuit_17.pvr", model = "circuit_stadium5.mesh", leaderboardId = { Distribution = "295233", QA = "347103" }, lightMap = "", groundNodes = "Circuit,Circuit_02,Circuit_03,Circuit_04,Backgrnd,Barreras,Barreras_02,Barreras_03,Barreras_04,Peralte,peralteback,Peralte_02,Peralte_03,meseta,meseta_02,rodea", noRayCollision = "rodea,meseta,meseta_02", physicsNodes = "Item:ActorGeom:Nitro(1),Item:ActorGeom:Nitro(2),ActivateAlphaPuente,DeactivateAlphaPuente", camera = "circuit_stadium5", cutscene = "flyby_stadium5", nLaps = 5, --Por defecto 5 -- Velocidades m·ximas usadas por la IA para este circuito -- <= 0 para velocidad m·xima del vehÌculo -- > 0 para velocidad explÌcita controlPointsData = { _1 = { max =-1, min = 250 }, _2 = { max =330, min = 140 }, _3 = { max =-1, min = 250 }, _4 = { max =355, min = 165 }, _5 = { max =340, min = 150 }, _6 = { max =-1, min = 250 }, _7 = { max = 385, min = 195 }, _8 = { max =-1, min = 250 }, --_9 = { max =200, min = 200 }, --_10 = { max = -1, min = 300 }, _11 = { max = 340, min = 150 }, _12 = { max =-1, min = 250 }, _13 = { max =340, min = 150 }, _14 = { max = -1, min = 250 }, --_15 = { max = -1, min = 210 }, _16 = { max = 390, min = 200 }, _17 = { max =-1, min = 250 }, _18 = { max =360, min = 170 }, _19 = { max =-1, min = 250 }, }, respawnPoints = { 1,3,4,6,8,10,11,12,15,18 }, nitroPoints = { 3,12,15,16,19 }, itemDecisionPoints = { 2,11 }, preInit = function() execute("circuits/circuit_common.lua") function pantalla(_id) return { model = "circuitStuff/pantalla.mesh", name = "pantalla" .. _id, } end function pilar(_id) return { model = "circuitStuff/pilar.mesh", name = "pilar" .. _id, layer = LF_WORLD + 1 } end function foco(_id) return { model = "circuitStuff/foco.mesh", name = "foco" .. _id, layer = LF_WORLD + 1 } end function ActivateAlphaPuente(_carId) if _carId == 0 then ActivateCircuitAlpha("rampasalfa,bordealfa") DeactivateGroundNodeCollision("Peralte_03") end end function DeactivateAlphaPuente(_carId) if _carId == 0 then DeactivateCircuitAlpha("rampasalfa,bordealfa") ActivateGroundNodeCollision("Peralte_03") end end end, onInit = function() SetActorAnim("Nitro(1)", { anim = "circuitStuff/nitro.anm", loop = true, }) SetActorAnim("Nitro(2)", { anim = "circuitStuff/nitro.anm", loop = true, }) end, })