If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Dungeon Siege/Unused Code

From The Cutting Room Floor
Jump to navigation Jump to search

This is a sub-page of Dungeon Siege.

Cut Functions

Most, if not all of these functions are cut by putting // in front of each line of code. To reduce unnecessary redundancies, these were removed. Unless stated otherwise, these functions most likely work after deleting these backslashes.

Mule Dung
       {
           [*]
           {
               action* = call_sfx_script("mule_dung");
               condition* = receive_world_message("WE_ENTERED_WORLD");
               single_shot = true;
           }
       }  */
Swamp Stinger Special Butt Effects
       {
           [*]
           {
               action* = call_sfx_script("swamp_stinger_butt_propulsion");
               condition* = receive_world_message("WE_ENTERED_WORLD");
               single_shot = true;
           }
           [*]
           {
               action* = call_sfx_script("swamp_stinger_butt_puffs");
               condition* = receive_world_message("we_anim_sfx",1);
           }
       }	

explosion_magnitude, though used in some templates, appears to have been commented out of several others.

Leftover Alpha/Beta Code

Cut Enemy Variants

Gorack Mage

[inventory]

   {
       //selected_active_location = il_active_primary_spell;
       //[other] { il_active_primary_spell=spell_gorack_deathball; }
   }
The mentioned spell was cut, but was found in a beta build.

Early Sound File Formats

While we have no way of knowing if they sounded different, there is some evidence left within the code of an unused naming format. Several can be found in obj_breakable.gas. The used format of voice:die: * = s_e_env_break_container_wood;

Examples
break_sound = s_e_IH_break_wood_solid;
break_sound = s_e_break_wood;

Unused Events

Basic Gameplay Events
WE_HEALED
WE_LEVELED_UP
WE_RESURRECTED
WE_WEAPON SWUNG
MCP and Anim
WE_MCP_GOAL_CHANGED
WE_MCP_GOAL_REACHED

Miscellaneous

  • There were to be descriptions for the potions, but was most likely deemed as unnecessary and henceforth commented out.
    • Descriptions in of themselves are rarely used.
    • On the basis that Mana Potions are commented as such, it seems to suggest "Health Potions" were once called "Healing Potions".