Search the Community

Showing results for tags 'utility'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Kotor Modding
    • Mod Releases
    • General Kotor/TSL Modding
    • Modding Tools
    • Work In Progress
    • Tutorials
    • Game Saves
  • Mod Projects
    • TSLRCM
    • M4-78 Enhancement Project
    • KotOR1 Restoration (K1R)
    • Revenge of Revan
    • KotOR Toolset
  • Jedi Knight Series
    • General Discussion
    • Mod Releases
  • Other Games
    • Other Games
    • Dantooine Theater Company
  • General
    • News
    • Knights of the Old Republic General
    • Star Wars
    • The Old Republic
    • Site Feedback
    • General Discussion

Blogs

There are no results to display.

There are no results to display.

Categories

  • Knights of The Old Republic
    • Media
    • Mods
    • Skins
    • Modder's Resources
  • The Sith Lords
    • Media
    • Mods
    • Skins
    • Modder's Resources
  • Jedi Knight Series
    • Maps
    • Mods
    • Skins
    • Other
  • Game Saves
  • Other Games
  • Modding Tools

Product Groups

  • Premium Membership
  • Modders Account

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. This is not in any way your go-to modding tools, though perhaps closer to *amazing new discoveries*, lol - so I dropped it here. 🍻 So, this list of texts and numbers below -- //::////////////////////////////////////////////////////////////// //:: [TSL] PlaySound Utility Script //::////////////////////////////////////////////////////////////// //:: File Name : eb_playsound_wav //::////////////////////////////////////////////////////////////// /* Param1/P1 - Delay that will be applied before playing the sound string sSoundName - sTemplate of the Sound in the game files to play Created By : ebmar [based on OEI's implementation] Created On : May 05, 2020 Modified On : June 11, 2020 -- v1.0.0 Credits : JCarter426 -- Odyssey++ : Fred Tetra -- KotOR Tool : tk102 -- DLGEditor : Don Ho -- Notepad++ */ //::////////////////////////////////////////////////////////////// void main() { int nDelay = GetScriptParameter(1); string sSoundName = GetScriptStringParameter(); DelayCommand(IntToFloat(nDelay), PlaySound(sSoundName)); } - is an equivalent to a_playsndobj, a TSL's utility script that plays the sound objects indicated by tag passed in. On the other hand, instead of using the oTag of sound objects/UTS in the game-world like its older-brother, this will use the sString that it gets from the String Param of the DLG. To use it is fairly simple: Drop the compiled script/NCS to the Override folder Insert the script name [default eb_playsound_wav] to either Script #1/#2 field in the relevant node of the DLG Use P1 to determine the delay applied before playing the sound Use String Param to determine which sound to play, based on their template/file name Notes: In my experience using this script -which is in TSL, and not K1- PlaySound action can only play custom files that placed in the Override. I have tried with customs placed in StreamSounds but I can't seem get it to work. You might though, perhaps I was missing something You can't input decimals. I don't know what the legit term is but you can only insert integers/INT; something like 0, 1, or 2, and not FLOAT, like 0.2, 1.25, or 4.20. You can though - but not with this script and using the DLG as the medium Anyway, here's the compiled script if you don't feel like compiling yourself -- eb_playsound_wav.ncs Hope that helps anything of your projects, and may the Force be with you!