SIEGE UNIVERSITY 2

Siege University II Tutorials
Modding FAQ
095: Upgrading DSII
100: The Basics of Siege Editor
201: Compass Map Radar
202: Conversations
203: Journal
204: Quest Indicator Icons
205: Start Positions
206: Teleporters
207: Town Portal Restrictions
208: Weapon Effects
209: Flick
210: Tuning Grids
211: Setting Up Good Map Lighting
212: Setting Up Simple Node Fading
215: Building Data Tables

Siege University I Tutorials
200: Concepts and Terminology
201: Templates
203: Triggers
204: Moods
205: Fades
206: Elevators
211: Naming Key
213: Dungeon Siege Resource System
301: Introduction to Dungeon Siege Architecture

Third Party Tutorials
A Simple Mod Part One - Armor Textures
A Simple Mod Part Two - A New Armor
Beginners Guide to Stitching Regions
How to Open and Create Tanks
Making Chants Work in a New Map
Ornaments
Understanding the NKK

Useful Links
Siegetheday.org
Dungeon Siege Outpost
Dungeon Raider
Kdawg.org - List of useful Links
MCarp DS Nodes
Dungeon Siege 2 at Gamefront
Broken World at Gamefront

Overview


The town_portal_restrictions.gas file, found in the info folder of the map, contains a list of nodes by guid. If a node is listed in this file, it will gain three properties that normal nodes will not:

·         The town portal spell (spell_town_portal) cannot be cast by a character standing on this node.

·         The loot thief will not appear to steal items dropped on this node.

·         If a teleporter is used by a character standing on this node, the region list highlight will be at the bottom of the list instead of the top.

The following types of nodes should be listed in this file:

·         Town nodes (to prevent town portal from being cast in town, to prevent the loot thief from stealing quest rewards in non-combat areas, and to make the towns' teleporters send the player to the last non-town region they were in, by default)

·         elevator nodes (to prevent town portal being cast on a moving elevator, which would cause the earth to explode)

·         Boss arenas (to prevent town portal exploits and the loot thief stealing boss rewards)

I've found some quick ways to generate lists of the above node types. For towns and boss arenas, the easiest thing is to select all the nodes that you want to be on the list, then save the selected nodes as a prefab. Then, open the prefab and search for '[t:snode'. Copy the list of search results to the clipboard and paste it into a new file. From there, it's a simple matter to get the list into the correct format for the town_portal_restrictions.gas file.

For elevators, search for 'elevator_node' in all elevator.gas files in the map. The search results will include the guids of all moving nodes in the map unless they are being moved by special skrits. The only special elevator skrit in the ds2_world map is the one that moves the archmage arena stair nodes, and that happens during an NIS. Therefore, the player can never be standing on those nodes while they're moving.