Leviathan Posted March 7, 2006 Share Posted March 7, 2006 I was thinking about some random map scripting in the .map file, would be a cool feature for the race 1.1 release. so with as example we can make a line in the script with some given numbers (vehicle ID's) and then let the computer randomly choose one number (or more) from the given ID's and it as some value. so if the vehicles 535 (slamvan), 542 (clover) and 568 (bandito) as example would be given to the script to pick one of them out and set them as value X or something. then edit the vehicle number from the spawnpoints. replace them with X or something. then each time the map gets started the starting vehicles will get randomized. fun with some kind of races and destruction derby's. or to set up multiple values including the time and weather or like two different value's seperately generated, X and Y. so team one is vehicle X and team two is vehicle Y... I think many more funny things can be done with this little work of scripting. but I think it might be a cool feauture for race 1.1 Link to comment
darkdreamingdan Posted March 7, 2006 Share Posted March 7, 2006 im not quite sure what you mean, and what the purpose is Link to comment
NapsK Posted March 7, 2006 Share Posted March 7, 2006 Spawning different cars when a new race starts or something? Link to comment
Si|ent Posted March 7, 2006 Share Posted March 7, 2006 Not a bad idea. You could do this right now with all manner of scripting to manipulate the .map file itself Link to comment
darkdreamingdan Posted March 7, 2006 Share Posted March 7, 2006 ah i see.like bump said, this would be possible if the script was given access to the .map file and changed the ID Link to comment
Leviathan Posted March 8, 2006 Author Share Posted March 8, 2006 so the .map file won't crash due unknown commands? Link to comment
Si|ent Posted March 8, 2006 Share Posted March 8, 2006 There wouldn't be any unknown commands. Link to comment
Leviathan Posted March 8, 2006 Author Share Posted March 8, 2006 great only 1 last question... what scripting language should be used? Link to comment
Si|ent Posted March 8, 2006 Share Posted March 8, 2006 What ever you want depending on your skills and needs. Batch files, mirc, php, c ... Link to comment
Leviathan Posted March 8, 2006 Author Share Posted March 8, 2006 nice, I'll do it PHP batch is allso cool, but I like PHP more Link to comment
Recommended Posts