Difference between revisions of "User talk:Sunjammer"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (DA Function Page Format)
m (Reverted edits by Ladyofpayne1 (talk) to last revision by BryanDerksen)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
I've give you admin and bureaucrat group membership, hope this will finally break the logjam we've been stuck in for so long now. Use them wisely! [[User:BryanDerksen|BryanDerksen]] 21:56, 11 May 2011 (UTC)
Thanks for the touchups to the main page's layout. It's just something I threw together (by shamelessly ripping off the English Wikipedia's main page layout as a base inspiration) to make the page look like less of a wall of text, if you have ideas on how to spruce it up or reorganize it even more feel free to give it a shot. At some point the wiki will get a Dragon Age skin of some sort added to it so now's the chance to freestyle. [[User:BryanDerksen|BryanDerksen]] 22:10, 19 July 2009 (UTC)
+
 
+
= Front Page Layout Test =
+
 
+
<!-- TABLE FOR GREEN AND BLUE PANELS -->
+
{| width="100%"
+
|-
+
<!-- CELL FOR GREEN PANEL -->
+
| valign="top" height="100%" |
+
<!-- GREEN PANEL -->
+
{| style="margin:0; background:#f5fffa; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em; width:100%; height:100%"
+
|-
+
| valign="top" |
+
<h2 style="margin:0; background:#cef2e0; font-size:150%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;"> Heading </h2>
+
 
+
Content
+
 
+
<h2 style="margin:0; background:#cef2e0; font-size:150%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;"> Heading </h2>
+
 
+
Content
+
|}
+
<!-- CELL FOR BLUE PANEL -->
+
| valign="top" height="100%" |
+
<!-- BLUE PANEL -->
+
{| style="margin:0; background:#f5faff; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em; width:100%; height:100%"
+
|-
+
| valign="top" |
+
<h2 style="margin:0; background:#cedff2; font-size:150%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;"> Heading </h2>
+
 
+
Content
+
 
+
<h2 style="margin:0; background:#cedff2; font-size:150%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;"> Heading </h2>
+
 
+
Content
+
 
+
<h2 style="margin:0; background:#cedff2; font-size:150%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;"> Heading  </h2>
+
 
+
Content
+
|}
+
|}
+
 
+
<!-- TABLE FOR YELLOW PANEL -->
+
{| width="100%"
+
|-
+
<!-- CELL FOR YELLOW PANEL -->
+
| valign="top" height="100%" |
+
<!-- YELLOW PANEL -->
+
{| style="margin:0; background:#FFF8C6; border:1px solid #C8B560; text-align:left; color:#000; padding:0.2em 0.4em; width:100%"
+
|-
+
| valign="top" |
+
<h2 style="margin:0; background:#FFE87C; font-size:150%; font-weight:bold; border:1px solid #C8B560; text-align:left; color:#000; padding:0.2em 0.4em;"> Heading </h2>
+
 
+
Content
+
 
+
<h2 style="margin:0; background: #FFE87C; font-size:150%; font-weight:bold; border:1px solid #C8B560; text-align:left; color:#000; padding:0.2em 0.4em;"> Heading </h2>
+
 
+
Content
+
|}
+
|}
+
 
+
= DA Function Page Format =
+
 
+
* I think we can use the '''dascript''' mark up to auto-format the function's prototype: gives for a lighter and more consistent feel
+
* The parameter/return/source were quite intense with the heavy bolding: used lighter weight and itallics however I had to fudge the indentation
+
:: I used definition list markup which is more semantically meaningful than simply italicizing and indenting. I can get the same effect by applying styles to the tags, I'll do that. [[User:BryanDerksen|BryanDerksen]] 21:31, 21 July 2009 (UTC)
+
:::After flipping back and forth a bit I think it loses something without having something to visually distinguish between term and definition, how about leaving the top-level ones bold? I've made a version of [[CreatePool]] illustrating this [http://social.bioware.com/wiki/datoolset/index.php?title=CreatePool&oldid=1706 here]. [[User:BryanDerksen|BryanDerksen]] 21:49, 21 July 2009 (UTC)
+
:::: That looks like a good balance
+
* Reordered/tweaked subheadings
+
:: The "parts" subheading probably should be omitted since the substance inside it will be generated by the header template and won't be independently editable like the other subsequent sections. [[User:BryanDerksen|BryanDerksen]] 21:31, 21 July 2009 (UTC)
+
* I think we should use the following subheadings:
+
** Description: this should be the official full length description taken from the comments and only updated by people who know what they are talking about
+
::: Heh. Most of the functions in the core resources don't really ''have'' an "official" description. [[User:BryanDerksen|BryanDerksen]] 21:31, 21 July 2009 (UTC)
+
:::: We can make them: the idea was to separate the definition from the observations, etc.
+
** Remarks: this is known bugs, issues, workarounds, hints and tips, etc.  basically anything that has been established through usage by BioWare or the Community (I stole some of the description to populate the example)
+
** Examples: transcluded snippets from the script library
+
** See Also: any related functions (not just those in the @sa comments) and any related function groups
+
 
+
NOTE: we can use the '''dascript''' config file to automatically link the return/data types. I will add that to the next version of the '''dascript.php''' file.
+
 
+
:One other small change I'd suggest is the convention of making category names lower-case by default unless there's a specific reason not to, since MediaWiki is case sensitive it's best to go with what's easiest to remember and type. [[User:BryanDerksen|BryanDerksen]] 21:31, 21 July 2009 (UTC)
+
 
+
Oh, this discussion and the one on my user talk page should probably be moved to [[Template_talk:Dafunction]]. I'll do that in a bit if you've no objection?[[User:BryanDerksen|BryanDerksen]] 21:49, 21 July 2009 (UTC)
+
 
+
: I've no objections.  Feel free to edit out anything irrelevant.
+
 
+
== SourcePool ==
+
 
+
Reserves a block of memory for a fixed number of a particular type of creature.
+
 
+
<dascript>
+
int CreatePool(
+
    resource rTemplate,
+
    int nPoolSize
+
);
+
</dascript>
+
 
+
=== Parts ===
+
 
+
Parameters:
+
:''rTemplate''
+
::The template of the creature to use
+
:''nPoolSize''
+
::Number of creatures of this template to create
+
Returns:
+
:TRUE if successful
+
Source:
+
:[[script.ldf]]
+
 
+
=== Description ===
+
 
+
Creatures of this type that are spawned with the CreateObject function in this area will use this block of memory, and when creatures of this type die or are set inactive their memory space will automatically be returned to the pool.
+
 
+
The purpose of this function is to allow for endlessly spawning monsters, or similar situations.
+
 
+
=== Remarks ===
+
 
+
It should be used under [[EVENT_TYPE_AREALOAD_PRELOADEXIT]]. When creatures die or are set inactive they will automatically return to the pool.
+
 
+
Note that pool creatures should have "no permanent death" enabled, otherwise certain effects (such as decapitation) will remain on them when they respawn.
+
 
+
Pool size should be at least twice the number of enemies from that will ever be active simultaneously.
+
 
+
=== Examples ===
+
 
+
<dascript>
+
void main()
+
{
+
    // create a pool of 5 skeletons
+
    CreatePool(R"skeleton.utc", 5);
+
}
+
</dascript>
+
 
+
=== See Also ===
+
 
+
[[EVENT_TYPE_AREALOAD_PRELOADEXIT]]
+
 
+
[[Category:Creation Functions]]
+

Latest revision as of 21:56, 18 February 2018

I've give you admin and bureaucrat group membership, hope this will finally break the logjam we've been stuck in for so long now. Use them wisely! BryanDerksen 21:56, 11 May 2011 (UTC)