Class Tutorial: Difference between revisions

From Gothongs Wiki
Jump to navigationJump to search
Panda (talk | contribs)
No edit summary
Panda (talk | contribs)
No edit summary
Line 48: Line 48:
|Each column is a spec of the class. The UI may not render more than 2 specs at a time. Stick to max 2 specs for now. You can enter the name of your spec and then a list of spells that you want the spec to have.
|Each column is a spec of the class. The UI may not render more than 2 specs at a time. Stick to max 2 specs for now. You can enter the name of your spec and then a list of spells that you want the spec to have.
|}
|}
Next you will probably want to create some [[Spells Tutorial|spells]] to put in your spells field.
{{ModModifiedWarning}}
{{ModModifiedWarning}}
[[Category:Tutorials]]
[[Category:Tutorials]]

Revision as of 14:54, 29 July 2023

If you have not yet created a mod, please create one first.

A class is a collection of spells and passive that will be active when that class is activated.

Field Reference

Field Description
Token DO NOT HAND THIS OUT. This is a unique ID for your class. If you use the web API you can give players this class via script instead of a thongsmith unlock.
Name Name of your class
Image URL to an icon for your class. You can find PSD templates here.
Texture UUID of the image uploaded to SL.
Global Cooldown Min time between using any spell.
Default stance Allows you to override the default weapon stance. Useful for casters. Stances are stored in the inventory of the WEAPON prim below the HUD.
Default weapon Lets you pick a weapon that the class starts with. If the player has not unlocked that weapon it will default to one of the starter weapons.
Description Describe your class.
Public Enables your class to be used.
Fists Only Prevents drawing the weapon.
No Thongsmiths Prevents the thong from appearing on thongsmiths. This is useful when using the web API if you want to give players the class through other means.
Passives List of Passive effects to apply when using the class.
Spells Each column is a spec of the class. The UI may not render more than 2 specs at a time. Stick to max 2 specs for now. You can enter the name of your spec and then a list of spells that you want the spec to have.

Next you will probably want to create some spells to put in your spells field.

Reset your HUD by saying "debug #ROOT" to load updates from mods while testing. See distributing your mod for information on how release public mod updates.