Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Roblox NPC Quest System
Rating: 4.5 out of 5(55 ratings)
558 students

Roblox NPC Quest System

Create a quest engine, capable of serving multiple quests to your players, tracking their progress, and giving rewards!
Created byBrendon Ross
Last updated 9/2023
English

What you'll learn

  • How to manage your project files.
  • Download and import Models into Roblox Studio correctly.
  • Enable API Services to make use of Datastores.
  • Create a Main Script to manage players joining and leaving your game.
  • Learn to comment your code in a meaningful way.
  • Create a game currency to reward your players.
  • How to display game values on the screen using leaderstats.
  • Create hidden folders to hold values players don’t need to see.
  • Create “Quest State” variables to track your players progress as they complete their quests.
  • How to use various data types in different ways to achieve your coding goals.
  • Create useful print statements joining messages and values to test your game.
  • Create a quest giver script that allows your players to interact with the quest giver.
  • Learn to Move,Rotate and Scale parts and models to meet your games needs.
  • Use Touch functions to trigger code when a player touches a part in your game.
  • How to access the folders and values you create in different scripts for each player.
  • Learn what different error messages mean, and how to fix them.
  • How to access and change text in a GUI using code.
  • Learn about quest logic to let your quest giver make decisions.
  • How to use Module Scripts in a number of ways.
  • Create dictionaries using JSON format to manage quest data in a easy to read and use way.
  • Create dialogue for your quest giver to say to your players, and how to make it appear one line at a time.
  • Create an Apple pickup your player can use to complete a quest.
  • Use code to restrict which players can pickup and use quest items.
  • Create a functions module to store common functions used by a number of scripts.
  • Reward your players with in game currency when they complete quests.
  • Control multiple parts with one script using tagged parts and the Collection Service.
  • Learn make parts move in the workspace using code.
  • Spawn functions that control a mini game we create in the project.
  • Change the colour of the fields in a quest depending on how much they have been watered.
  • Create new values for parts in the game on the fly using code.
  • Learn to use Datastores to save and load your players data when they enter and leave your game.
  • Add sound effects and music to your game using regions that allow the music to change when your players move between different areas.

Course content

6 sections34 lectures7h 31m total length
  • Setup The Project11:49

    Import the models for this course and insert them into the workspace. Learn about what you will achieve by doing the project.

  • Create The Quest Module9:48

    Learn how to create a quest module and create a variety of quests for your NPC to give to players.

  • Create The Bill Module14:03

    Use a module script to run all the dialogue that your NPC will say.

  • Create The Main Script10:49

    Use the main script to hold all the variables that will run the game and keep track of players' progress.

  • Bill’s GUI And Trigger Part16:20

    Enable your NPC messages to be displayed to players

  • Player GUI And Messages8:00

    Create an overhead GUI for your player to communicate with the NPC.

Requirements

  • Have a Mac or PC with Roblox Studio installed

Description

  • This course teaches you how to create a quest engine that allows you to create multiple quests, different quest types, and give your player rewards. 

  • It involves many Roblox Studio programming techniques, and you will learn how to adapt these to your own games. 

  • You will learn to use Scripts, Local Scripts, Module scripts, and a number of Game Services letting you save and load your player data, and control multiple parts using one script. 

  • Learn how to create your own quests and integrate them into your own unique game idea. 

  • The quest engine is adaptable, and completing the course will teach you many programming techniques that can easily be adapted to your own ideas.

  • You will learn to use For loops, While Loops, and Functions

  • Learn to understand programming language such as Arguments, objects, and return values.

  • Enables you to write your own quest story lines, and have players engage with a quest giver.

  • Install and use Plugins to assist you in completing the project.

  • Read and understand error messages, and how to fix them.

  • Add music, and sound effects to add atmosphere and audio cues for your players.

  • Enable you to access and use powerful coding concepts linking scripts and module scripts.

  • Create a game currency, and offer it as a reward to your players for completing quests.

  • Adjust your code to handle multiple players

Who this course is for:

  • Intermediate to advanced Roblox Studio coders