Difference between revisions of "User:Scrivener07/Wiki"

2,711 bytes added ,  13:42, 12 November 2018
no edit summary
imported>Qazaaq
(Created page with "== Wiki Shortcuts == *Helping the Wiki *Standards and Policies *Recent Changes *:Category:Inaccurate Articles|Inac...")
 
imported>Qazaaq
Line 8: Line 8:


==== Templates ====
==== Templates ====
These are some useful templates for new page content.
*[[Template:Inaccurate Article]]
*[[Template:Inaccurate Article]]
*[[Template:Incomplete Article]]
*[[Template:Incomplete Article]]
Line 16: Line 17:
*[[Template:Notice]]
*[[Template:Notice]]
*[[Template:Papyrus:RequiredF4SE]]
*[[Template:Papyrus:RequiredF4SE]]
== Wiki Ideas ==
These are my notes and ideas for changes to the website.
==== TODO ====
This is my hot list for contributions I plan to submit. [[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2017-10-28T20:55:06 (EDT)
*Add [[Use Report]] window.
*Add better pages on structs & more actual examples. Its still not clear to some people when structs are most useful.
*Restore the enormous editors like [[Quest]] and [[Actor]].
*Restore the [[:Category:Condition_Functions|Condition Functions]].
*Expand papyrus pages to include both minimalistic and complete source code examples.
==== Add Editor Icons ====
I had the idea to add the editor icons to object pages alongside the object's type code.
*[[File:Actor Action EditorIcon.png]] [[Actor Action]]
*[[File:Perk EditorIcon.png]] [[Perk]]
*[[File:Quest EditorIcon.png]] [[Quest]]
==== Add Tool Pages ====
Add links and categorize the [[Bethesda Archive Extractor]] page. Might go well on the [[Archive File]] page.
==== Remove F4SE Pages From Papyrus Category ====
See [[:Category:F4SE|F4SE Category]] talk page. [[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2018-02-20T21:17:54 (EST)
==== Papyrus Assembly ====
Document the papyrus assembly. The [[Script File]] may be the only mention of papyrus assembly. The user cadpnq has started to document some of the assembly instructions here https://github.com/cadpnq/papyrith/wiki/Instruction-Reference [[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2018-04-03T06:32:02 (EDT)
==== Possible F4SE UI Additions ====
<source lang="papyrus">
; Returns whether the menu is registered
bool Function IsMenuRegistered(string menu) native global
struct MenuData
    int menuFlags
    int movieFlags
    int extendedFlags
    int depth
endStruct
bool Function RegisterCustomMenu(string menuName, string menuPath, string rootPath, MenuData mData) native global
; Return value does not indicate the menu is ready, only that it sent the message
bool Function OpenMenu(string menuName) native global
; Return value does not indicate the menu is closed, only that it sent the message
bool Function CloseMenu(string menuName) native global
</source>
<source lang="papyrus">
UI:MenuData mData = new UI:MenuData
mData.menuFlags = 0x01 + 0x08 + 0x04 ; Pause Game, Enable Menu Control, Show cursor
mData.movieFlags = 2
mData.extendedFlags = 1 ; Inherit menu color
mData.depth = 6
If UI.RegisterCustomMenu("MyCustomMenu", "Something", "root1.Menu_mc", mData)
    UI.OpenMenu("MyCustomMenu")
EndIf
</source>
<code>0x8018499</code> are the menu flags used by messagebox menu. This is a nice note for the wiki page.
Anonymous user