Staredit Network > Forums > Modding Assistance > Topic: Tips for Tedious Coding
Tips for Tedious Coding
Mar 24 2008, 4:02 am
By: A_of-s_t  

Apr 10 2008, 2:44 am Laser Dude Post #21



The correct formula would be math.round(256/(totalNumberOfPaths - n). (Note that the first element is n=0, not n=1!)

So this is what you would get for five paths, in fractional format. If you don't trust me, then do the math yourself. :P

256/5
256/4
256/3
256/2
256



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
Please log in to shout.


Members Online: Roy, O)FaRTy1billion[MM], Ultraviolet