Noxico


No DTD for the body plans and stuff?

Went from this:

<bodyplan>
 <culture>
  <human />
 </culture>
 <terms>
  <generic text="yes">human</generic>
  <male text="yes">man</male>
  <female text="yes">woman</female>
 </terms>
 <playable />
 <tallness>
  <roll>1d50+150</roll>
 </tallness>
 <hair>
  <length>6</length>
  <color>
   <oneof>blond,brown,black,red,gray,white,auburn</oneof>
  </color>
 </hair>
</bodyplan>

…to this:

bodyplan
 culture
  human
 terms
  generic: "human"
  male: "man"
  female: "woman"
 playable
 tallness: roll 1d50+150
 hair
  length: 6
  color
   oneof blond,brown,black,red,gray,white,auburn
-- Can also do color: oneof blond... to make it a text value for the color
-- token instead of a new child token to color.

This solves the problem of not being able to make a DTD for XML files that include tokens. Not only that, but no end tags to mismatch and no more brackets.

[ ] Leave a Comment

From the archives

This is the first prototype of what later became Noxico. It had rudimentary scripting, which is in mid-demonstration here. The yellow on blue smiley was white on gray with shades first. A few ticks later, he’d ask “what did you DO!?”

The whole entity generation thing was developed separately at first.

[ ] Leave a Comment

Yeah, I totes went there

Items can be found on the floor and taken, though there’s a bug where looking at a dropped item or picking it up continues into looking at yourself for some strange reason. Also, the plan is to let the player take anything in a 3×3 grid around him, which would let me put stuff on shelves. Shown here is the part where you can read books, Elder Scrolls style. There is in fact a single “book” item, and the carried item’s tokens determine which one it is – specifically, the ID token.

[ ] Leave a Comment