piras Posted August 15, 2010 Share Posted August 15, 2010 I want to make a race mode like trackmania time attack mode. So when a player finishes a race, they start again and keep playing the same track -hopefully bettering their time- until the maps time runs out. If the maps time was 6 minutes, and you can finish the track in 1 minute, you get 6 goes to get your best time. I wonder if anyone knows already, if I could do this by writing another mode file to go in /race/modes/ or if I will have to modify the race code itself ? Link to comment
dzek (varez) Posted August 16, 2010 Share Posted August 16, 2010 i dont think you need to modify whole race, adding "submode" (like normal race,destruction derby,etc) should be enough. btw - trackmania ftw! make restart button too, and other features from tm Link to comment
piras Posted August 16, 2010 Author Share Posted August 16, 2010 Hi varez, yeh restart button is something I want to put in aswell. Ive already made some speed modifiers, like pickups but you just drive through them and they speed you up or slow you down or jump the car, so those will be going in as well I could do with some models for them if anyone wants a grapics project, hmm? I was thinking a propellor , a magnet, and a spring would be cool. Ive read over the race code a bit but I dont really understand it yet, might take me a while but it will be sweeet when its done. Link to comment
dzek (varez) Posted August 16, 2010 Share Posted August 16, 2010 cool Again - good luck. You can always ask on Scripting zone if you get stuck. Race script seems complicated indeed but you will get familiar with it for sure Link to comment
Faw[Ful] Posted August 17, 2010 Share Posted August 17, 2010 I very like the idea im an old TM fan I think about import TM objects or car with a tool (I dont know what tool) and export them with kams script I would like to have new pickups, the speed boost allready exist in MTA Link to comment
piras Posted August 19, 2010 Author Share Posted August 19, 2010 Ive got a test version working \o/ it wasnt as hard as I thought it would be. Its still quite rough though, and I dont think the ranking board (bit on the left that shows when a player finishes) works properly - its hard to test that with just one player. But the main idea of restarting when you finish works, and theres a reset button (backspace). Pressing Enter is just the same as in race, but the maps have respawntime=0 so you dont have to waste your life away watching respawn counters You can test it on mta.h3s.net Ill keep updating it so the server might not be working all the time. btw: importing models would be cool. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now