-- -- Autor: Benjam√ån de la Fuente Ranea -- Fecha: 23-12-2008 -- -- Script con la descripciÛn del circuito -- RegisterCircuit(2, 6, { name = "circuit_offroad5.lua", comercialName = "Construction Pit", bigPreview = "big_prev_circuit_11.pvr", model = "circuit_offroad5.mesh", leaderboardId = { Distribution = "295333", QA = "347023" }, lightMap = "", groundNodes = "Circuit,Circuit_02,Circuit_03,Circuit_04,Backgrnd,Barreras,Barreras_02,Barreras_03,Barreras_04,Puente,Rampas,Rampas_02,Rampas_03,Rampas_04,Obstaculos,Obstaculos_02,Obstaculos_03,rodea,rodeabaja,paredfuera,paredfuera_02,paredfuera_03,paredfuera_04", noRayCollision = "Barreras,Barreras_02,Barreras_03,Barreras_04,Puente,Rampas,Rampas_02,Rampas_03,Rampas_04,rodea,rodeabaja", physicsNodes = "Item:ActorGeom:Nitro(1)", camera = "circuit_offroad5", cutscene = "flyby_offroad5", 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 = 160 }, _2 = { max = 250, min = 125 }, _3 = { max =250, min = 145 }, _4 = { max = -1, min = 160 }, _6 = { max = -1, min = 220 }, --Tubo _7 = { max = 250, min = 160 }, _8 = { max = 250, min = 160 }, _10 = { max = 240, min = 125 }, _11 = { max = -1, min = 160 }, _12 = { max = 230, min = 160 }, _13 = { max = -1, min = 290 }, --Salto _14 = { max = -1, min = 290 }, --Salto _15 = { max = 245, min = 135 }, _16 = { max = 220, min = 135 }, _17 = { max = 260, min = 140 }, _18 = { max = -1, min = 160 }, _19 = { max = -1, min = -1 }, --Tubo }, respawnPoints = { 1,2,3,4,5,6,7,8,10,11,13,16,18 }, nitroPoints = { 6,13,19 }, itemDecisionPoints = { 6,18 }, preInit = function() execute("circuits/circuit_common.lua") function flash(_id) return { model = "circuitStuff/luzobra.mesh", name = "flash" .. _id, } end end, onInit = function() SetActorAnim("Nitro(1)", { anim = "circuitStuff/nitro.anm", loop = true, }) SetActorAnim("flash1", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash2", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash3", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash4", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash5", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash6", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash7", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash8", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash9", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash10", {anim = "circuitStuff/luzobra.anm", loop = true, }) SetActorAnim("flash11", {anim = "circuitStuff/luzobra.anm", loop = true, }) end, })