-- -- Autor: Benjam√ån de la Fuente Ranea -- Fecha: 23-12-2008 -- -- Script con la descripciÛn del circuito -- RegisterCircuit(1, 2, { name = "circuit_indoor4.lua", comercialName = "Old Garage", bigPreview = "big_prev_circuit_4.pvr", model = "circuit_indoor4.mesh", leaderboardId = { Distribution = "295253", QA = "346903" }, lightMap = "indoor4_lightmap.png", groundNodes = "Backgrnd,Barreras,Barreras_02,Barreras_03,Barreras_04,Puente,Obstacles,Obstacles_02,Obstacles_03,Rampas,Rampas_02,Rodea", noRayCollision = "Barreras,Barreras_02,Barreras_03,Barreras_04,Puente,Rampas,Rampas_02,Rodea", physicsNodes = "Item:ActorGeom:Nitro(1),Cone:cono_3,Cone:cono_2,Cone:cono_1,Cone:cono_4,Cone:cono_5,Cone:cono_6", camera = "circuit_indoor4", cutscene = "flyby_indoor4", nLaps = 7, --Por defecto 7 -- 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 = 240, min = 140 }, _3 = { max = 260, min = 140 }, _4 = { max = -1, min = 160 }, _5 = { max = -1, min = 160 }, _6 = { max = 230, min = 160 }, _7 = { max = -1, min = 160 }, _8 = { max = 240, min = 140 }, _9 = { max = -1, min = 160 }, _11 = { max = -1, min = 160 }, _12 = { max = 250, min = 160 }, _15 = { max = 260, min = 160 }, _16 = { max = 240, min = 140 }, _17 = { max = -1, min = 160 } }, respawnPoints = { 1,4,7,9,10.5,12,13,14,16,17,19,20.5 }, nitroPoints = { 4,9,19,21 }, itemDecisionPoints = { 11 }, preInit = function() execute("circuits/circuit_common.lua") function lampara(_id) return { model = "circuitStuff/lampara.mesh", name = "lampara" .. _id, } end end, onInit = function() SetActorAnim("lampara1", { anim = "circuitStuff/lampara.anm", loop = true, }) SetActorAnim("lampara2", { anim = "circuitStuff/lampara.anm", loop = true, }) SetActorAnim("lampara3", { anim = "circuitStuff/lampara.anm", loop = true, }) SetActorAnim("Nitro(1)", { anim = "circuitStuff/nitro.anm", loop = true, }) end, })