Si|ent Posted February 23, 2006 Share Posted February 23, 2006 Did you ever create this Aeron? I asked if you could/would some time back but forgot all about it until wanting to reverse the checkpoints on a couple of races earlier tonight. To jog your memory it was a script/app to take the checkpoints in a particular race and reverse thier order entirely. Link to comment
Strepto Posted February 26, 2006 Share Posted February 26, 2006 First of all, is checkpoint order in race, the same as the order as they appear in the .map file? If so, then it should be quite easy to reverse the checkpoint order... You still need to move the spawnpoints tho Link to comment
Jani Posted February 26, 2006 Share Posted February 26, 2006 First of all, is checkpoint order in race, the same as the order as they appear in the .map file? Doesn't it have to be the same? Link to comment
Aeron Posted February 26, 2006 Share Posted February 26, 2006 Bump's memory has holes: alias invert { var %a = 1,%b = $lines($1-),%c,%d = 0,%e,%f = $remove($1-,.map) $+ _inv.map while (%a <= %b) { %c = $read($1-,nt,%a) if ( if (%d == 0) %d = $lines(%f) %e = 0 !write -il $+ %d $+(",%f,") %c !inc %a while (%c != ) { !inc %e %c = $read($1-,nt,%a) !write -il $+ $calc(%d + %e) $+(",%f,") %c !inc %a } } else { !write $+(",%f,") %c } !inc %a } } Usage: /bumpy Link to comment
Si|ent Posted March 5, 2006 Author Share Posted March 5, 2006 Ah thanks mate, and yes it most certainly does Link to comment
Ransom Posted March 5, 2006 Share Posted March 5, 2006 aeron your scripting knowledge scares me sometimes Link to comment
Recommended Posts