Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MadHQ's odd coding problems.
#2
Umm...your foundation code is totally not making sense to me.

For that foundation, according to the generator, it should look like
Code:
[CATEMP]
Foundation = Custom
Foundation.X = 5
Foundation.Y = 4
Foundation.0 = 1,0
Foundation.1 = 2,0
Foundation.2 = 0,1
Foundation.3 = 1,1
Foundation.4 = 2,1
Foundation.5 = 3,1
Foundation.6 = 4,1
Foundation.7 = 0,2
Foundation.8 = 1,2
Foundation.9 = 2,2
Foundation.10 = 3,2
Foundation.11 = 4,2
Foundation.12 = 1,3
Foundation.13 = 2,3
FoundationOutline.Length = 22
FoundationOutline.0 = 0,-1
FoundationOutline.1 = 1,-1
FoundationOutline.2 = 2,-1
FoundationOutline.3 = 3,-1
FoundationOutline.4 = -1,0
FoundationOutline.5 = 0,0
FoundationOutline.6 = 3,0
FoundationOutline.7 = 4,0
FoundationOutline.8 = 5,0
FoundationOutline.9 = -1,1
FoundationOutline.10 = 5,1
FoundationOutline.11 = -1,2
FoundationOutline.12 = 5,2
FoundationOutline.13 = -1,3
FoundationOutline.14 = 0,3
FoundationOutline.15 = 3,3
FoundationOutline.16 = 4,3
FoundationOutline.17 = 5,3
FoundationOutline.18 = 0,4
FoundationOutline.19 = 1,4
FoundationOutline.20 = 2,4
FoundationOutline.21 = 3,4

The issues are immediately apparent when you see that, not only do you have way, way too few cells, but the two you have defined are actually outside of the foundation area (and both in the same spot).
If you actually did get that code from the foundation generator, the issue is not reproducible to me, and I'd like to hear how you created it.

If you coded that manually and just painted in the generator for illustration purposes, I suggest using the generator's code next time. Wink

(Note that you also had superfluous outline cells which I did not add.)
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply


Messages In This Thread
MadHQ's odd coding problems. - by MadHQ - 18.05.2010, 02:26:22
Custom foundation now working? - by Renegade - 18.05.2010, 04:34:25
RE: Custom foundation now working? - by MadHQ - 18.05.2010, 05:30:02
RE: MadHQ's odd coding problems. - by Renegade - 18.05.2010, 06:09:01
RE: MadHQ's odd coding problems. - by MadHQ - 18.05.2010, 06:29:18
RE: MadHQ's odd coding problems. - by Renegade - 18.05.2010, 06:40:42



Users browsing this thread: 1 Guest(s)