Class Tutorial: Difference between revisions
From Gothongs Wiki
Jump to navigationJump to search
No edit summary |
|||
| Line 13: | Line 13: | ||
|- | |- | ||
|Name | |Name | ||
| | |Name of your class | ||
|- | |- | ||
|Image | |Image | ||
| | |URL to an icon for your class. You can find [https://jasx.org/lsl/generalmedia/Game%20Files/GoThongs PSD templates here]. | ||
|- | |- | ||
|Texture | |Texture | ||
| | |UUID of the image uploaded to SL. | ||
|- | |- | ||
|Global Cooldown | |Global Cooldown | ||
| | |Min time between using any spell. | ||
|- | |- | ||
|Default stance | |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 | |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 | |Description | ||
| | |Describe your class. | ||
|- | |- | ||
|Public | |Public | ||
| | |Enables your class to be used. | ||
|- | |- | ||
|Fists Only | |Fists Only | ||
| | |Prevents drawing the weapon. | ||
|- | |- | ||
|No Thongsmiths | |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 | |[[Passives Tutorial|Passives]] | ||
| | |List of Passive effects to apply when using the class. | ||
|- | |- | ||
|Spells | |[[Spell Tutorial|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. | ||
|} | |} | ||
{{ModModifiedWarning}} | |||
Revision as of 15:00, 27 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. |
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.