A Development Tutorial: Difference between revisions

From FOnline: Reloaded Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 3: Line 3:
| image = AWikiEditor.gif
| image = AWikiEditor.gif
| description = Get the developer tools and try building new content for this game!
| description = Get the developer tools and try building new content for this game!
| status = wip
| season = All Seasons
| status = Progress Stopped
| complete = 75%
| complete = 75%
| authors = Slowhand
| authors = Slowhand
| chapter = Title Page
| chapter = Title Page
| chapters = '''Title Page'''<br>[[A Development Tutorial: Chapter 01|Development Kit Setup]]<br>[[A Development Tutorial: Chapter 02|Making Maps]]<br>[[A Development Tutorial: Chapter 03|The World Map Editor]]<br>[[A Development Tutorial: Chapter 04|NPC Dialogues]]<br>[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]<br>[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]<br>[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]<br>[[A Development Tutorial: Chapter 08|Scenery Scripts]]<br>[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]<br>[[A Development Tutorial: Chapter 10|Locations: Public to Private]]<br>[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]<br>[[A Development Tutorial: Chapter 12|Understanding a Quest Script]]<br>[[A Development Tutorial: Chapter 13|A Simple Quest]]<br>[[A Development Tutorial: Chapter 14|Dialogue: The "SAY" Menu]]<br>[[A Development Tutorial: Chapter 15|Modifying Some Basic Mechanics]]
| chapters = '''Title Page'''<br>[[A Development Tutorial: Chapter 00|Setting Up Local Server]]<br>[[A Development Tutorial: Chapter 01|Development Kit Setup]]<br>[[A Development Tutorial: Chapter 02|Making Maps]]<br>[[A Development Tutorial: Chapter 03|The World Map Editor]]<br>[[A Development Tutorial: Chapter 04|NPC Dialogues]]<br>[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]<br>[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]<br>[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]<br>[[A Development Tutorial: Chapter 08|Scenery Scripts]]<br>[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]<br>Chapter 10<br>[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]<br>[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]<br>Chapter 13<br>[[A Development Tutorial: Chapter 14|Dialogue: The "SAY" Menu]]<br>Chapter 15<br>[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]<br>[[A Development Tutorial: Chapter 16|Repeatable Locations]]<br>[[A Development Tutorial: Chapter 17|Floating FA Text]]<br>[[A Development Tutorial: Chapter 18|Roulette Game]]<br>[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]<br>[[A Development Tutorial: Chapter 20|Simple Kill Quest]]<br>Chapter 21<br>[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]<br>[[A Development Tutorial: Chapter 23|Perk Installation]]<br>[[A Development Tutorial: Chapter 24|Black Jack Game]]<br>[[A Development Tutorial: Chapter 25|Black Jack Installation]]<br>[[A Development Tutorial: Chapter 26|Sound Effects]]<br>[[A Development Tutorial: Chapter 27|Pro Tips]]
| notes = Need to add images<br>[[Scripts Overview]]
}}
}}


This is a brief development tutorial for developing FOnline. In this tutorial I use the FOnline: Reloaded version of the SDK, but it should be fully compatible with the original SDK.
This is a brief development tutorial for developing FOnline. In this tutorial, the FOnline: Reloaded version of the SDK is used, but it should be fully compatible with the original SDK as well. Note that not everything is compatible, especially scripts. If you plan to follow this tutorial, it is easier to use the Reloaded version. See [[A Development Tutorial: Chapter 01|Chapter 01]] for install instructions.
(Note: As we found out, everything is not compatible, especially scripts. If you plan to follow this tutorial, make it easier on yourself and use the Reloaded version, see first step for install instructions)


Copies of this tutorial can be found at both [http://forum.fonline-reloaded.net/index.php?topic=9735.0  the game forum] and at [http://fodev.net/forum/index.php/topic,29789.0.html FoDev.net] as well.
Copies of this tutorial can be found at both [http://forum.fonline-reloaded.net/index.php?topic=9735.0  the game forum] and at [http://fodev.net/forum/index.php/topic,29789.0.html FoDev.net] as well.
{| class="mw-collapsible mw-collapsed wikitable"
! From the Editor
|-
| Slowhand has done an amazing job here of documenting development steps for FOnline: Reloaded. Anyone wanting to contribute development work will surely benefit from this excellent work. The above links are to the original articles he posted on the Reloaded forum, originally as two guides. This wiki version is a straight copy and paste from the forum, broken into chapters to fit the Guide template here, and includes various edits for clarity including sentence restructuring. Both guides have been combined, but otherwise the content itself and its order have been altered as little as possible. All credit to Slowhand. 
|}


==Contents==
==Contents==
* [[Development Kit Setup|Downloading and setting up the FOnline: Reloaded '''Development Kit''']]
* Chapter 00: [[A Development Tutorial: Chapter 00|Setting Up Local Server]]
* Modifying existing maps with the Mapper
* Chapter 01: [[A Development Tutorial: Chapter 01|Setting Up the Development Kit]]
* Adding new locations to the world, using the World editor
* Chapter 02: [[A Development Tutorial: Chapter 02|Modifying existing maps with the Mapper]]
* Adding dialogues for NPC's
* Chapter 03: [[A Development Tutorial: Chapter 03|Adding new locations to the world, using the World editor]]
* Creating a two map zone
* Chapter 04: [[A Development Tutorial: Chapter 04|Adding dialogues for NPC's]]
* Adding monsters, loot and using some basic scripts
* Chapter 05: [[A Development Tutorial: Chapter 05|Creating a two map zone]]
* More on dialogs: Tracking quest progress
* Chapter 06: [[A Development Tutorial: Chapter 06|Adding monsters, loot and using some basic scripts]]
* Creating and using some basic scripts: Scenery scripts
* Chapter 07: [[A Development Tutorial: Chapter 07|More on dialogs: Tracking quest progress]]
* Creating new quest location from dialog
* Chapter 08: [[A Development Tutorial: Chapter 08|Creating and using some basic scripts: Scenery scripts]]
* Accessing a private location from a public location scenery (Ladder)
* Chapter 09: [[A Development Tutorial: Chapter 09|Creating new quest location from dialog]]
* Setting up the scripting environment
* Chapter 10: Accessing a Private Location from a Public Location Scenery (Using a Ladder)
* Understanding a full quest script ([[Dogs of L.A.]])
* Chapter 11: [[A Development Tutorial: Chapter 11|Setting up the scripting environment]]
* A simple kill target critter quest
* Chapter 12: [[A Development Tutorial: Chapter 12|Understanding a full quest script]] ([[Dogs of L.A.]])
* Using the "Say" menu from dialogues (Riddle mini quest)
* Chapter 13: A Simple Kill Target Critter Quest
* Modifying base mechanics - Only the easy parts - unavailable yet -
* Chapter 14: [[A Development Tutorial: Chapter 14|Using the "Say" menu from dialogues (Riddle mini quest)]]
** Modifying lock pick cooldown mechanic
* Chapter 15: Modifying Easier Core Mechanics
** Chapter 15.01: [[A Development Tutorial: Chapter 15.01|Modifying Lockpick Cooldown Mechanic]]
* Chapter 16: [[A Development Tutorial: Chapter 16|Generating a Repeatable Quest Location]]
* Chapter 17: [[A Development Tutorial: Chapter 17|Floating First Aid Text Overhead]]
* Chapter 18: [[A Development Tutorial: Chapter 18|Writing a Gambling Game: Roulette]]
* Chapter 19: [[A Development Tutorial: Chapter 19|Dialogues vs Scripts: Russian Roulette]]
* Chapter 20: [[A Development Tutorial: Chapter 20|Writing a Simple Kill-on-Location Quest]]
* Chapter 21: [[A Development Tutorial: Chapter 21|Advanced Kill Quest]]
* Chapter 22: [[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]
* Chapter 23: [[A Development Tutorial: Chapter 23|Perk Installation]]
* Chapter 24: [[A Development Tutorial: Chapter 24|Black Jack Card Game]]
* Chapter 25: [[A Development Tutorial: Chapter 25|Black Jack Installation]]
* Chapter 26: [[A Development Tutorial: Chapter 26|Working with Sound Effects]]
* Chapter 27: [[A Development Tutorial: Chapter 27|Pro Tips]]




==Still Planned==
==Other Ideas==
* Add a small simple quest, step by step style, where the objective is to kill a nearby critter for the quest giver. (No need to generate a new private map for it.)
* Add a guessing game, step by step style, where the player has to guess riddles, using the "Say" menu to give the answer, instead of selecting from possible dialogue options.


* Separate advanced stuff and add it to a new thread, advanced tutorials. Everything that is not step by step should be advanced, as most people get lost too easy. (Pepe)
[[Category:Guides]]
* Add a small simple quest, step by step style, where the objectives is to kill a nearby critter for the quest giver. (no need to generate a new private map for it) (Pepe)
* Add a guessing game, step by step style, where the player has to guess riddles, using the "Say" menu to give the answer, instead of selecting from possible dialogue options. (Coro)

Latest revision as of 19:39, 22 March 2020

A Development Tutorial
Get the developer tools and try building new content for this game!
Season All Seasons
Status Progress Stopped
Completion 75%
Authors Slowhand
This Chapter Title Page
More Chapters Title Page
Setting Up Local Server
Development Kit Setup
Making Maps
The World Map Editor
NPC Dialogues
Create a 2-Map Zone
Monsters, Loot, and Scripts
Tracking Quest Progress
Scenery Scripts
Dialogue-to-Quest Location
Chapter 10
Setup of Scripting Environment
Understanding Quest Scripts
Chapter 13
Dialogue: The "SAY" Menu
Chapter 15
Lockpick Cooldown
Repeatable Locations
Floating FA Text
Roulette Game
Dialogues vs Scripts
Simple Kill Quest
Chapter 21
Mysterious Stranger Perk
Perk Installation
Black Jack Game
Black Jack Installation
Sound Effects
Pro Tips
Notes Need to add images
Scripts Overview


This is a brief development tutorial for developing FOnline. In this tutorial, the FOnline: Reloaded version of the SDK is used, but it should be fully compatible with the original SDK as well. Note that not everything is compatible, especially scripts. If you plan to follow this tutorial, it is easier to use the Reloaded version. See Chapter 01 for install instructions.

Copies of this tutorial can be found at both the game forum and at FoDev.net as well.

From the Editor
Slowhand has done an amazing job here of documenting development steps for FOnline: Reloaded. Anyone wanting to contribute development work will surely benefit from this excellent work. The above links are to the original articles he posted on the Reloaded forum, originally as two guides. This wiki version is a straight copy and paste from the forum, broken into chapters to fit the Guide template here, and includes various edits for clarity including sentence restructuring. Both guides have been combined, but otherwise the content itself and its order have been altered as little as possible. All credit to Slowhand.

Contents


Other Ideas

  • Add a small simple quest, step by step style, where the objective is to kill a nearby critter for the quest giver. (No need to generate a new private map for it.)
  • Add a guessing game, step by step style, where the player has to guess riddles, using the "Say" menu to give the answer, instead of selecting from possible dialogue options.