-- -- Autor: Benjam√ån de la Fuente Ranea -- Fecha: 23-12-2008 -- -- Script con la descripciÛn del circuito -- RegisterCircuit(2, 4, { name = "circuit_offroad4.lua", comercialName = "Thirsty Land", bigPreview = "big_prev_circuit_10.pvr", model = "circuit_offroad4.mesh", leaderboardId = { Distribution = "295323", QA = "347003" }, lightMap = "", groundNodes = "Circuit,Circuit_02,Circuit_03,Backgrnd,URamp,Barreras,Rampas,Rampas_02,Rampas_03,barrerafuera,barrerafuera_02,barrerafuera_03,barrerafuera_04,Rodea,rodeabaja", noRayCollision = "URamp,Rampa01,Rampa02,Rodea,rodeabaja", physicsNodes = "Item:ActorGeom:Nitro(1),Item:ActorGeom:Nitro(2),MoveFlag(\"viento(1)\")", camera = "circuit_offroad4", cutscene = "flyby_offroad4", nLaps = 4, --Por defecto 4 -- 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 }, _3 = { max = -1, min = -1 }, --Salto _4 = { max = -1, min = -1 }, --Salto _10 = { max = -1, min = 160 }, _12 = { max = 235, min = 140 }, _13 = { max = 280, min = 140 }, _13 = { max = -1, min = 140 }, _17 = { max = 260, min = 140 }, _18 = { max = 260, min = 140 }, _19 = { max = 240, min = 200 }, _20 = { max = -1, min = 240 }, _21 = { max = -1, min = 160 }, }, respawnPoints = { 1,2,3,4,5,6,6.8,9,10,12,13,15,16,17,18,19.6,20.7,21,22,23 }, nitroPoints = { 3.5,6,7,9.5 }, itemDecisionPoints = { 11,15 }, preInit = function() execute("circuits/circuit_common.lua") function flag(_id) return { model = "circuitStuff/flagcicle_offr.mesh", name = "flag" .. _id, } end function viento(_id) return { model = "circuitStuff/viento.mesh" } end function MoveFlag(_flagName) SetActorAnim(_flagName, { anim = "circuitStuff/viento.anm", loop = false, }) end end, onInit = function() SetActorAnim("Nitro(1)", { anim = "circuitStuff/nitro.anm", loop = true, }) SetActorAnim("Nitro(2)", { anim = "circuitStuff/nitro.anm", loop = true, }) SetActorAnim("flag1", {anim = "circuitStuff/flagcicle.anm", loop = true, }) SetActorAnim("flag2", {anim = "circuitStuff/flagcicle.anm", loop = true, }) SetActorAnim("flag3", {anim = "circuitStuff/flagcicle.anm", loop = true, }) end, })