Welcome, Guest
Login
|
Register
|
Recovery
Site
Forums
Starcraft I Files
Starcraft II Files
Wiki
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
Pages:
<
1
2
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.
256/5
256/4
256/3
256/2
256
None.
Options
Pages:
<
1
2
Back to forum
Please
log in
to reply to this topic or to report it.
Members in this topic:
None.
Global Shoutbox
[04:07 pm]
Oh_Man
--
happy haungidays
[03:25 am]
RIVE
--
[2026-12-01. : 3:31 pm]
lil-Inferno
--
[2026-12-01. : 2:53 am]
Ultraviolet
--
[2026-11-27. : 10:21 am]
Zycorax
--
[2026-11-27. : 9:46 am]
UndeadStar
--
[2026-11-27. : 3:45 am]
Symmetry
--
[2026-11-24. : 7:28 pm]
Mr.BurnLiquid
--
Thanks
[2026-11-24. : 7:17 pm]
NudeRaider
--
you can't, just edit.
[2026-11-24. : 6:33 pm]
Mr.BurnLiquid
--
Hi, how do I delete posts I’ve made? I was practicing with map editing or at least working with existing maps but I’d like to delete them; I’ve since refined my style and want to start fresh with new posts.
Please
log in
to shout.
Members Online:
Dem0n