A Development Tutorial: Chapter 27

From FOnline: Reloaded Wiki
Jump to: navigation, search
A Development Tutorial: Chapter 22
AWikiEditor.gif
Get the developer tools and try building new content for this game!
Season All Seasons
Status Progress Stopped
Completion 75%
Authors Slowhand
This Chapter 22: Mysterious Stranger Perk
More Chapters Title Page
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
The 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 {{{notes}}}


Good Things to Know

  • You can reload client scripts without restarting server. Very useful for unit testing function.
  • When a character is offline (and enough time passes?) or server resets, it's object (Critter& player) will be freed. Thus a Critter& player object can become a null reference exception on a timer, stucking some value indefinitely. Always use ID's instead of objects to get game variables, etc.
  • Use Critter.Stat[SK_SMALL_GUNS] for Skills, instead of Critter.Skill[SK_SMALL_GUNS].
  • You cannot load sprites images in class constructor.

...more later...