Difference between revisions of "Введение в Papyrus"
Jump to navigation
Jump to search
m
→What's in a Papyrus script?
imported>Peganoff |
imported>Peganoff |
||
Line 7: | Line 7: | ||
A papyrus script is essentially a plain text source document ('''.psc''' file) that you can use any text editor to write and [[Papyrus_Compiler_Reference|compile]] it into a form the game can understand ('''.pex''' file). To make changes after it is compiled, the raw .psc must be updated or replaced, re-compiled, replacing the outdated .pex. | A papyrus script is essentially a plain text source document ('''.psc''' file) that you can use any text editor to write and [[Papyrus_Compiler_Reference|compile]] it into a form the game can understand ('''.pex''' file). To make changes after it is compiled, the raw .psc must be updated or replaced, re-compiled, replacing the outdated .pex. | ||
= | =Что входит в скрипт Papyrus?= | ||
Язык Papyrus можно разбить на несколько понятий: '''[[:Category:Объекты сткрипта|объекты]], [[Справочник функций|функции]], [[события]], [[переменные и свойства]].''' '''[[Script_File_Structure|Script File Structure]]''' page provides information and examples of these concepts. | |||
Each script is defined to be a type of '''[[:Category:Script_Objects|Object]]''', such as a “[[Quest]]”, a “[[Reference]],” an “[[Actor]],” or a “[[Book]].” For the most part, these script objects correlate exactly to the objects found in the editor's masterfile. | Each script is defined to be a type of '''[[:Category:Script_Objects|Object]]''', such as a “[[Quest]]”, a “[[Reference]],” an “[[Actor]],” or a “[[Book]].” For the most part, these script objects correlate exactly to the objects found in the editor's masterfile. |