Difference between revisions of "ScriptingNF"
Jump to navigation
Jump to search
imported>Wrye (No fluff version of scripting portal. First pass.) |
imported>Wrye (→Functions: Function listing pages.) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
No fluff version of the [[Portal:Scripting]]. | No fluff version of the [[Portal:Scripting]]. | ||
==Basic | ==Basic Tutorials== | ||
*[[Scripting Tutorial: | *[[Scripting Tutorial: My Second Script|My Second Script]] | ||
*[[Scripting Tutorial: My First Spell|My First Spell]] - With script effects. | |||
*[[Start Your Mod]] | |||
==Functions== | ==Functions== | ||
*[[List of Functions]] | * [[List of Functions|All Functions]] | ||
** [[CS Functions]] | |||
** [[OBSE Functions]] | |||
** [[Pluggy Functions]] | |||
** [[TSFC Functions]] | |||
*[[:Category: Functions|Function Categories]] | *[[:Category: Functions|Function Categories]] | ||
== | ==General Knowledge== | ||
*[[ | *[[TES Files]] - Basic info about esp and esm files. | ||
*[[ | **[[Esp vs. Esm]] - Differences between esp and esm files. | ||
* [[Modding Terminology]] - Advanced discussion of modding terms. | |||
*[[:Category:Console Functions|Console Functions]] - Useful for playtesting. | |||
== | ==Scripting Basics== | ||
*[[Scripting Tutorial: Basic Scripting Knowledge|Basic Scripting Knowledge]] | *[[Scripting Tutorial: Basic Scripting Knowledge|Basic Scripting Knowledge]] | ||
*[[:Category:Commands|Commands]] | *[[:Category:Commands|Commands]] | ||
*[[:Category:Variables|Variables]] | *[[:Category:Variables|Variables]] | ||
*[[If|Using "If" Conditions]] | *[[If|Using "If" Conditions]] | ||
* '''Types of Scripts''' | |||
*[[ | **[[Object scripts]] | ||
*[[ | **[[Quest scripts]] | ||
*[[Quest scripts]] | **[[Global Scripts]] - (Should be merged with [[Quest scripts]].) | ||
**[[Magic effect scripts]] | |||
*[[ | |||
*[[Script Processing]] | *[[Script Processing]] | ||
==Troubleshooting== | ==Troubleshooting== | ||
Line 53: | Line 39: | ||
*[[Performance Problems]] | *[[Performance Problems]] | ||
*[[Debug Scripts]] | *[[Debug Scripts]] | ||
==Code Optimization== | |||
* [[CPU-usage of Functions]] - Lists of functions and their effects on performance; notes on which drop FPS the most, etc. | |||
* [[Minimizing your Script]] - Tips to keep the number of functions used down, how often sections of your script run, and more. | |||
* [[Script Comparison Tests]] - Comparisons of script snippets and/or functions. | |||
==Extensions and Libraries== | |||
*[[Oblivion Script Extender]] - | |||
**[[:Category:Pluggy|Pluggy]] - Array, string, Ini functions. | |||
**[[:Category:TSFC|Tibixie's String Collection Function]] - String functions. | |||
**[[Interfacing Pluggy and TSFC]] - Integrating string functions. | |||
*[[ESM Math Library]] - Math functions as stage function library. | |||
*[http://www.uesp.net/wiki/Tes4Mod:Cobl/Modding Cobl] - Common Oblivion. | |||
==Advanced How Tos== | |||
*[[Activation Functions]] - Simulating a function by means of a activate call. | |||
*[[Combine your SI and non-SI mods into one (OBSE, Patch v1.1, Other mods too)|Adaptive Mods]] - Adjust a mod for presence or absence of SI, OBSE, Patch v1.1, etc. | |||
*[[Dynamically Adding Spells to Merchants]] | |||
*[[Casting Spells From An Activator]] | |||
*[[Scripting Tutorial: Custom Bound Items|Custom Bound Items]] | |||
*[[Distinguishing Between Physical and Magickal Hits]] | |||
*[[DropAllItems|Drop All Items]] | |||
*[[Generic Unequip]] - Remove an object from inventory without specifying its object id. | |||
*[[GetActorType]] - Encode actor type (npc, creature, ghost, etc.) as a single number. | |||
*[[Teleport Recall#Marker Rats|Marker Rats]] - Using hidden actors as stable marker points. | |||
*'''Math Functions''' | |||
**[[:Category:Extra Math Functions|Extra Math Functions]] | |||
**[[:Category:Math Functions (OBSE)|OBSE Math Functions]] | |||
*[[MessageBox Tutorial]] - Complicted messagebox and menu structures. | |||
*[[Programmable Spell Effects]] - Beyond scripted spell effects. | |||
*[[Reference Variables for Nearby Actors]] | |||
*[[Remote Activators]] - Uses of activating remote objects. | |||
*[[Rotating an object around another object with a script]] | |||
*[[Running Scripts On Arrows]] | |||
*[[:Category:Stage Functions]] - Simulating a function by means of a setStage call. | |||
** [[Simulating new functions|Stages Functions]] - (Needs to be merged with base article.) | |||
*[[Summon Object]] - Summon (move) an existing object to position in front of player. | |||
*[[Teleport Recall]] - Establishing a teleport recall point. | |||
*[[Text Input With OBSE]] - Simulating a text input box (OBSE). | |||
** [[Text Input With Pluggy]] - [[:Category:Pluggy|Pluggy]] based text input. | |||
** [[Text Input With TSFC]] - [[:Category:TSFC|TSFC]] based text input. | |||
*[[Unplayable Items]] - Various uses of unplayable items. | |||
* [[Walking Through Inventory Items]] | |||
==Deprecated Articles== | |||
*[[Dynamic Storage]] - General survey of arrays, linked lists, etc. in pre-pluggy world. | |||
**[[Linked List Tutorial]] - Pre-pluggy approach to linked lists. |
Latest revision as of 05:32, 2 June 2008
No fluff version of the Portal:Scripting.
Basic Tutorials[edit | edit source]
- My Second Script
- My First Spell - With script effects.
- Start Your Mod
Functions[edit | edit source]
General Knowledge[edit | edit source]
- TES Files - Basic info about esp and esm files.
- Esp vs. Esm - Differences between esp and esm files.
- Modding Terminology - Advanced discussion of modding terms.
- Console Functions - Useful for playtesting.
Scripting Basics[edit | edit source]
- Basic Scripting Knowledge
- Commands
- Variables
- Using "If" Conditions
- Types of Scripts
- Object scripts
- Quest scripts
- Global Scripts - (Should be merged with Quest scripts.)
- Magic effect scripts
- Script Processing
Troubleshooting[edit | edit source]
Code Optimization[edit | edit source]
- CPU-usage of Functions - Lists of functions and their effects on performance; notes on which drop FPS the most, etc.
- Minimizing your Script - Tips to keep the number of functions used down, how often sections of your script run, and more.
- Script Comparison Tests - Comparisons of script snippets and/or functions.
Extensions and Libraries[edit | edit source]
- Oblivion Script Extender -
- Pluggy - Array, string, Ini functions.
- Tibixie's String Collection Function - String functions.
- Interfacing Pluggy and TSFC - Integrating string functions.
- ESM Math Library - Math functions as stage function library.
- Cobl - Common Oblivion.
Advanced How Tos[edit | edit source]
- Activation Functions - Simulating a function by means of a activate call.
- Adaptive Mods - Adjust a mod for presence or absence of SI, OBSE, Patch v1.1, etc.
- Dynamically Adding Spells to Merchants
- Casting Spells From An Activator
- Custom Bound Items
- Distinguishing Between Physical and Magickal Hits
- Drop All Items
- Generic Unequip - Remove an object from inventory without specifying its object id.
- GetActorType - Encode actor type (npc, creature, ghost, etc.) as a single number.
- Marker Rats - Using hidden actors as stable marker points.
- Math Functions
- MessageBox Tutorial - Complicted messagebox and menu structures.
- Programmable Spell Effects - Beyond scripted spell effects.
- Reference Variables for Nearby Actors
- Remote Activators - Uses of activating remote objects.
- Rotating an object around another object with a script
- Running Scripts On Arrows
- Category:Stage Functions - Simulating a function by means of a setStage call.
- Stages Functions - (Needs to be merged with base article.)
- Summon Object - Summon (move) an existing object to position in front of player.
- Teleport Recall - Establishing a teleport recall point.
- Text Input With OBSE - Simulating a text input box (OBSE).
- Text Input With Pluggy - Pluggy based text input.
- Text Input With TSFC - TSFC based text input.
- Unplayable Items - Various uses of unplayable items.
- Walking Through Inventory Items
Deprecated Articles[edit | edit source]
- Dynamic Storage - General survey of arrays, linked lists, etc. in pre-pluggy world.
- Linked List Tutorial - Pre-pluggy approach to linked lists.