Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Geek Talk & Media
Open Source d20 API/Engine
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="reanjr" data-source="post: 2144798" data-attributes="member: 20740"><p>Well, this is what I've accomplished since this discussion began (though a lot of it has been stewing in my head for quite some time).</p><p></p><p>Just wanted to post this up in case anyone wanted to take a look. This is the beginning documentation for what I call RPGML (RPG Markup Language). It includes most of the core functions that an interpreter must understand (it's missing the ones related to adding and deleting XML tags from a dataset). It should give you a more formal idea of what I've been blathering about in random spurts of XML. I've already coded a library of a dozen or so helper functions in this language to facilitate easier use, but I haven't had the time to document them.</p><p></p><p>Some of the helper functions include (C/Java equivilents with my function names in parentheses):</p><p></p><p>>= operator (gte)</p><p><= operator (lte)</p><p>?: operator (if)</p><p>&& operator (and)</p><p>|| operator (or)</p><p>A simple switch statement (supports different branches on <, =, >) (compare)</p><p>A function that takes a number and normalizes it to a certain range (range)</p><p></p><p>In addition, I have the following rules coded up in RPGML:</p><p></p><p>The core mechanic.</p><p>Ability score modifiers.</p><p>Bonus spells based for high abilties.</p><p>A generic roll function that will take any-sided die with any modifier.</p><p>A function for each die (d6 function, d8 function, etc.).</p><p>Racial ability score modifiers.</p><p>Human bonus feat and skills.</p><p>Most Dwarven racial abilties (Stability was a pain, but I think I have the issue resolved now).</p><p></p><p>As you might imagine, I'm steadily moving my way directly through the SRD.</p><p></p><p>I currently left off on the racial rules to work on the core create-character function so that the engine knows what steps need to be taken (for instance apply race stuff AFTER ability scores) and I can work out how the language tells the app it needs input from an end user.</p></blockquote><p></p>
[QUOTE="reanjr, post: 2144798, member: 20740"] Well, this is what I've accomplished since this discussion began (though a lot of it has been stewing in my head for quite some time). Just wanted to post this up in case anyone wanted to take a look. This is the beginning documentation for what I call RPGML (RPG Markup Language). It includes most of the core functions that an interpreter must understand (it's missing the ones related to adding and deleting XML tags from a dataset). It should give you a more formal idea of what I've been blathering about in random spurts of XML. I've already coded a library of a dozen or so helper functions in this language to facilitate easier use, but I haven't had the time to document them. Some of the helper functions include (C/Java equivilents with my function names in parentheses): >= operator (gte) <= operator (lte) ?: operator (if) && operator (and) || operator (or) A simple switch statement (supports different branches on <, =, >) (compare) A function that takes a number and normalizes it to a certain range (range) In addition, I have the following rules coded up in RPGML: The core mechanic. Ability score modifiers. Bonus spells based for high abilties. A generic roll function that will take any-sided die with any modifier. A function for each die (d6 function, d8 function, etc.). Racial ability score modifiers. Human bonus feat and skills. Most Dwarven racial abilties (Stability was a pain, but I think I have the issue resolved now). As you might imagine, I'm steadily moving my way directly through the SRD. I currently left off on the racial rules to work on the core create-character function so that the engine knows what steps need to be taken (for instance apply race stuff AFTER ability scores) and I can work out how the language tells the app it needs input from an end user. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
Open Source d20 API/Engine
Top