<ahref="dev_diary-2.html">Development Diaries</a>> New Dwarf Quest: Part 4 - Coding and Writing<br/>
</div>
</div>
</div></div>
<divid="content">
<divid="article">
<divclass="sectionHeader">
<divclass="left">
<divclass="right">
<h1class="plaque_medium">
New Dwarf Quest: Part 4 - Coding and Writing
</h1>
</div>
</div>
</div>
<divclass="section">
<divclass="article_theme_1">
<divclass="article">
<divclass="topshadow">
<divclass="bottomborder">
<divclass="leftshadow">
<divclass="rightshadow">
<divclass="leftcorner">
<divclass="rightcorner">
<divclass="bottomleft">
<divclass="bottomright">
<divclass="links"></div><br/>
<imgid="ddBanner"style="margin:1em auto; display:block;"src="../../img/varrock/devdiary/diaryDwarf/banner.jpg"alt="Development Diary - New Dwarf Quest"/>
<divclass="headings">
<spanclass="headertitleleft"><spanclass="headertitleright">28th May 2009 - Coding and Writing</span></span>
</div>
<p>The implementation phase involves two main tasks. I've got to write the code to make everything work, and I've got to write all the in-game text. One of the exciting things about this job is that the same developer gets to do both of these tasks, whereas in other games companies they might be divided between different people.</p>
<pstyle="text-align: center;"><b>Coding</b></p>
<p>You may know that RuneScape is written in Java - our company name, Jagex, stands for <u>JA</u>va <u>G</u>ames <u>EX</u>perts. It may come as a surprise, then, that my job as a content developer involves no Java at all.</p>
<p>We write in a scripting language called RuneScript, which our <spanclass="team">Game Engine</span> team has created specifically for making RuneScape content. The Java-based game engine then reads this RuneScript code and makes it all work. RuneScript is constantly being changed and expanded as we add new features to it to allow it to do new things.</p>
<pstyle="text-align: center;"><b>Writing</b></p>
<p>Writing the in-game text (character dialogue, messages, item descriptions, etc) requires a different set of skills and techniques from writing the code. It is also difficult to know when it is good enough. A piece of code either works or doesn't work, but a piece of dialogue can be quite bad without being wrong in any definite way. It's a delicate balancing act conveying all the necessary information, while also being entertaining and dramatic, and doing all that in the smallest amount of text that I reasonably can.</p>
<p>Most of the time, I write dialogue straight into the code as I am coding it. For some of the more important passages, I plan them out first in a text file using a screenplay-like format. Whichever technique I use, it's important to then test the dialogue in the game to see how it looks.</p>
<p>One of the trickiest parts of writing is making sure that each character has their own voice. I have to be aware of that character's personality traits, how they are feeling, and their relationship to whoever they are talking to. This is especially tricky when dealing with existing characters such as Commander Veldaban, who already have some dialogue in the game.</p>
<p>The new quest involves NPCs, objects and areas that the <spanclass="team">Graphics</span> team haven't created yet. I need to be able to test the content I'm writing, so I'm using placeholder graphics to stand in for them. These placeholder graphics tend to be bright blue and blocky <20> they're designed to be clearly visible rather than to look good. They're a little like a 'blue screen' in movie-making.</p>
<p>Once I've got the quest working with these placeholders, the <spanclass="team">Graphics</span> team will go through and replace them with the final graphics for the quest. In a later diary, I<>ll be able to show screenshots that give a better idea of what the final quest will look like.</p>
<p>Right now, the 'bare bones' of the quest are just about playable using these placeholder graphics. It's ugly and obviously incomplete, but it basically works. My task now is to fill in all the gaps and add polish, which is a larger job than getting it working in the first place.</p>
<p>Last time, I told you that we were planning to graphically rework all dwarf NPCs, but I didn't know whether or not this rework would go live with the new quest. Since then, it has been decided that the dwarf graphical rework will not be going live with the quest; the quest will go live with old-style dwarf graphics, and the dwarf NPC rework will happen later. This means that the <spanclass="team">Graphics</span> team now have time to rework every dwarf in the game, without having to worry about getting them ready in time for this quest.</p>
<p><b><i>Mod John A<br>RuneScape Content Developer</i></b></p>
<divclass="clear"></div>
<divclass="backtotop"><ahref="#top">Back to the top</a></div>
Use of this website is subject to our <ahref="../../terms/terms.html">Terms & Conditions</a> and <ahref="../../privacy/privacy.html">Privacy Policy</a>.