Difference between revisions of "Portal:Scripting"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (dynamic description and featured links)
imported>Qazaaq
m (changing it to a fluid design)
Line 5: Line 5:
</div>
</div>


<div id="esstyle" style="width:333px;float:left;">
<div class="floatleft" style="width:48%;">
 
<div id="esstyle">
<h2 class="header">Featured</h2>
<h2 class="header">Featured</h2>
{{{{PAGENAME}}/Featured}}
{{{{PAGENAME}}/Featured}}
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle">
<h2 class="header">Tutorials</h2>
*[[Bound Arrows Tutorial]]
*[[Casting Spells From An Activator]]
*[[Combine your SI and non-SI mods into one (OBSE, Patch v1.1, Other mods too)]]
*[[Getting started with TSFC]]
*[[Health Regeneration over Time]]
*[[MessageBox Tutorial]]
*[[Script Timers and Logic: Part 1]]
*[[Script Timers and Logic: Part 2]]
*[[Scripting Tutorial: Basic Scripting Knowledge|Basic Scripting Knowledge]]
*[[Scripting Tutorial: Custom Bound Items|Custom Bound Items]]
*[[Scripting Tutorial: My First Creature Script|My First Creature Script]]
*[[Scripting Tutorial: My First Script|My First Script]]
*[[Scripting Tutorial: My First Spell|My First Spell]]
*[[Scripting Tutorial: My Second Script|My Second Script]]
*[[Start Your Mod]]
</div>
 
</div>
 
<div class="floatright" style="width:48%;">
 
<div id="esstyle">
<h2 class="header">Things you can do</h2>
<h2 class="header">Things you can do</h2>
*Discuss the future of the Wiki [http://www.bethsoft.com/bgsforums/index.php?showtopic=795927 right here]
*Discuss the future of the Wiki [http://www.bethsoft.com/bgsforums/index.php?showtopic=795927 right here]
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle">
 
<h2 class="header">Getting Started</h2>
<h2 class="header">Getting Started</h2>
*[[List of Functions]]
*[[List of Functions]]
Line 25: Line 48:
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle">
<h2 class="header">Related Pages</h2>
<h2 class="header">Related Pages</h2>
*[[:Category:Commands|Commands]]
*[[:Category:Commands|Commands]]
Line 40: Line 63:
*[[Script Processing]]
*[[Script Processing]]
*[[:Category:Useful Code|Useful Code]]
*[[:Category:Useful Code|Useful Code]]
</div>
</div>


<div id="esstyle" style="width:333px;float:left;">
<div id="esstyle">
<h2 class="header">Tutorials</h2>
*[[Bound Arrows Tutorial]]
*[[Casting Spells From An Activator]]
*[[Combine your SI and non-SI mods into one (OBSE, Patch v1.1, Other mods too)]]
*[[Getting started with TSFC]]
*[[Health Regeneration over Time]]
*[[MessageBox Tutorial]]
*[[Script Timers and Logic: Part 1]]
*[[Script Timers and Logic: Part 2]]
*[[Scripting Tutorial: Basic Scripting Knowledge|Basic Scripting Knowledge]]
*[[Scripting Tutorial: Custom Bound Items|Custom Bound Items]]
*[[Scripting Tutorial: My First Creature Script|My First Creature Script]]
*[[Scripting Tutorial: My First Script|My First Script]]
*[[Scripting Tutorial: My First Spell|My First Spell]]
*[[Scripting Tutorial: My Second Script|My Second Script]]
*[[Start Your Mod]]
</div>
 
<div id="esstyle" style="width:333px;float:right;">
<h2 class="header">Tools</h2>
<h2 class="header">Tools</h2>
*[[Oblivion Script Extender]]
*[[Oblivion Script Extender]]
Line 69: Line 72:
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle">
<h2 class="header">Troubleshooting</h2>
<h2 class="header">Troubleshooting</h2>
*[[Common Bugs]]
*[[Common Bugs]]
Line 79: Line 82:
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle">
<h2 class="header">Related Portals</h2>
<h2 class="header">Related Portals</h2>
{|width="330" style="border:none;"
{|width="99%" style="border:none;"
|width="165"|
|width="50%"|
*[[Portal:AI]]
*[[Portal:AI]]
|width="165"|
|width="50%"|
*[[Portal:Quests]]
*[[Portal:Quests]]
|}
|}
</div>
</div>
</div>


[[Category: Scripting]]
[[Category: Scripting]]

Revision as of 19:07, 21 February 2008

The Scripting Portal

With scripts the standard action of objects can be changed and new actions can be created, but scripts can also enhance actor behavior, change quests and sometimes influence dialogue.

Scripts are limited to the functions available, most of them are provided by the game and a few are provided by the 1.2 patch. The Oblivion Script Extender greatly increases the number of functions and thereby the capabilities of scripting.

Featured

Start Your Mod

The aim of this tutorial is to teach modders how to make their mods start the next time the player loads a save file with the mod activated. The method described is similar to the way that every official mod in integrated into the game, thus creating a more professional feel to your mod.

The majority of mods I have downloaded require the player to:

  • use console commands to get the items or spells
  • require the player to find an item only identified in the read me file

By the end of this tutorial you should be able to make a mod that:

  • Activates the next time you play with a new or existing character
  • Informs the player in the game where to go instead of relying on the read me files in the mod, thus creating a better role-play environment.