-- -- Autor: Benjam√ån de la Fuente Ranea -- Fecha: 23-12-2008 -- -- Script con la descripciÛn del circuito -- RegisterCircuit(3, 4, { name = "circuit_stadium4.lua", comercialName = "Athena palace", bigPreview = "big_prev_circuit_16.pvr", model = "circuit_stadium4.mesh", leaderboardId = { Distribution = "295243", QA = "347093" }, lightMap = "", groundNodes = "Circuit_circuit_02,Circuit_03,Backgrnd,rodea,Rampas,Rampas_02,Rampas_03,Rampas_04,Rampas_05", noRayCollision = "Rampas_03,Rampas,Rampas_02,Rampas_04,Rampas_05,rodea", physicsNodes = "Item:ActorGeom:Nitro(1),Item:ActorGeom:Nitro(2)", camera = "circuit_stadium4", cutscene = "flyby_stadium4", 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 = 250 }, _2 = { max =370, min = 180 }, _3 = { max = 380, min = 190 }, _4 = { max = 360, min = 190 }, _5 = { max = 380, min = 190 }, _6 = { max = -1, min = 250 }, _7 = { max = 380, min = 250 }, --_8 = { max =190, min = 170 }, _9 = { max =360, min = 190 }, _10 = { max =-1, min = -1 }, --salto _11 = { max =-1, min = 250 }, _12 = { max =340, min = 150 }, _13 = { max =-1, min = 250 }, _14 = { max =390, min = 200 }, _15 = { max =310, min = 130 }, _16 = { max =380, min = 200 }, _17 = { max = 360, min = 250 }, }, respawnPoints = { 1,3,5,6,8,10,11,12,14,16 }, nitroPoints = { 3,12,15,16,19 }, itemDecisionPoints = { 8,14 }, preInit = function() execute("circuits/circuit_common.lua") function globo(_id) return { model = "circuitStuff/globo.mesh", name = "globo" .. _id, } end function foco(_id) return { model = "circuitStuff/foco.mesh", name = "foco" .. _id, layer = LF_WORLD + 1 } end end, onInit = function() SetActorAnim("globo1", { anim = "circuitStuff/globo.anm", loop = true, }) SetActorAnim("Nitro(1)", { anim = "circuitStuff/nitro.anm", loop = true, }) SetActorAnim("Nitro(2)", { anim = "circuitStuff/nitro.anm", loop = true, }) end, })