Difference between revisions of "Files, Content and Layout"
(Created page with "In this page we will analyze a bit the content, files and the layout of the RPG Creation Kit. == Some Rules & Recommendations == Before going through this article, few things that you should take as rules. When any file or GameObject has as both prefix and suffix the character "'''_'''" it means that you should never rename the file/GameObject because its name is used in scripts, and editing it would need editing the scripts as well. There are few files that are like...") |
|||
Line 2: | Line 2: | ||
== Some Rules & Recommendations == | == Some Rules & Recommendations == | ||
Before going through this article, few things that you should take as rules. | Before going through this article, here few things that you should take as rules. | ||
When any file or GameObject has as both prefix and suffix the character "'''_'''" it means that you should never rename the file/GameObject because its name is used in scripts, and editing it would need editing the scripts as well. | When any file or GameObject has as both prefix and suffix the character "'''_'''" it means that you should never rename the file/GameObject because its name is used in scripts, and editing it would need editing the scripts as well. |
Revision as of 22:16, 6 February 2022
In this page we will analyze a bit the content, files and the layout of the RPG Creation Kit.
Some Rules & Recommendations
Before going through this article, here few things that you should take as rules.
When any file or GameObject has as both prefix and suffix the character "_" it means that you should never rename the file/GameObject because its name is used in scripts, and editing it would need editing the scripts as well.
There are few files that are like that, here are some examples:
- "_WoldLoader_" (SceneAsset)
- "_MainMenu" (SceneAsset)
- "_HeadPos_" (GameObject
The RPG Creation Kit contains a lot of different files most of which are Scriptable Objects, those can be Items, Weapons, Dialogues, Quests, BehaviourTrees, or other files, in general, they're prefixed by square parenthesis [], like the following files:
- [AMMO] IronArrow
- [ARMOR] Clothes1_Vest
- [QUEST] Judge, Jury, And Executioner
- [CELL] CityInterior
It is always a good idea to have expressive names and to keep the project clean, using folders and organizing the files in a good way. The Editor Windows that the RPG Creation Kit contains are extremely useful and will help you a lot, but when the project will grow if your files are scattered all around it will be difficult to find stuff quickly and efficiently.