-
Notifications
You must be signed in to change notification settings - Fork 1
Level One
If you are:
- a complete beginner in Unity, C#, or even coding in general, OR
- always crunched on time, OR
- want something really fun and easy to do that is more heavily design-based,
then Level One tasks are perfect for YOU! Get ready to feel competent 😄 👍 💯
- Know what Nemesis is about by reading the readme.
- Be competent in basic computer tasks such as word processing (If you have a problem with this then this club is not for you).
- Know enough Git to pull and commit without screwing up the entire project (GitHub Desktop OK).
1. Design towers, minions, paths, and other assets. This includes outlining the stats of each of these items, which may include:
- Health,
- Speed (of shooting or movement),
- Cost,
- Special abilities!
You will NOT be required to directly implement any of these items.
2. Create statistic files that can be read by lower level management scripts. Of course, you won't be required to make these scripts yourself until you advance to higher levels. However, that doesn't stop you from being able to take advantage of the power of our Nemesis (sort of) API! We have a specific format, which is modeled after the Unturned server config files (don't be lost if you don't know what this is; I'll explain right now.)
The config file consists of statistics, separated by line breaks (aka pressing enter). It's super simple and intuitive. Each line has an Identifier and a Value. The below are valid identifiers:
- Health
- Speed
- Cost
- Ability- This one is special. Refer to the "Creating Abilities" section below.
- Name
- Description
(More identifiers and their detailed descriptions to come soon.)
All you need to do is put the name of the identifier, followed by a colon (:) and a space. Then input the value. This MUST be a number for certain values (use common sense- the health cannot be "foo"...) and plaintext for other values.
Example line: Health: 200
Creating Abilities Use this format for ability lines. All Sub-Identifiers must be separated by colons.
Ability: Ability Slot (1 to 3) : Name of ability : Description : Cost for upgrade 1 : Cost for upgrade 2 : Cost for upgrade 3
You may use comments (lines starting with "#") to describe what you want this ability to do. These comments will be read by Level 2 developers and implemented by them, so make it easy to understand.
TASK: Write a stats file for a tower that shoots fireballs.
STEP BY STEP INSTRUCTIONS:
- ALWAYS ALWAYS PULL FIRST! This is great practice for any collaborative coding project you may work on.
- Locate the directory that Nemesis is cloned into. Go to Assets/Stats.
- Create a new file with the name of the object followed by the extension .stats. (example: FireTower.stats)
- Go into edit mode using your favorite text editor. (Notepad++, vi/vim, Atom, VScode, or Sublime Text recommended)
- Fill out Identifiers. These can be placed in any order.
Example File:
# Created by Ben C.
Name: Fire Tower
Description: Shoots fireballs and cool stuff.
Health: 200
Cost: 100
Speed: 10
Ability: 1 : Fireball : Shoots a fireball. : 50 : 100 : 2000
# Fireball just shoots a fireball. Deals 50 health per level increase, fires every 5 seconds
Ability : 2 : Explosion : Creates a damaging explosion around the tower. : 200 : 500 : 1250
# Explosion recharges every 10 - # of levels seconds. Deals 200 damage to all minions affected