TimBob12

Members
  • Content Count

    19
  • Joined

  • Last visited

  • Days Won

    1

Files posted by TimBob12

  1. Tatooine Job Office

    This is my first major mod for KOTOR.
     
    This adds 3 new quests to Tatooine for the first KOTOR game. You can get these quests from the Jawa in the Czerka Office. The quests are:
     

    The Missiing Supplies
    The Missing Officer
    The Missing Weapon

     
    This adds several new NPCs to the game including some fairly difficult fights. There is also a new store where you can buy some new custom items which I have made.
     
    All the script source is available and I have commented it all so that new modders can look and see how script functions can be used practically as each script has an explanation as to what it does.
     
    There is the option to have a manual install although TSL Patcher is also available to make it compatible with most other mods.
     
    Once again this is my first major mod so all feedback (good or bad) is appreciated.
     
    Thank you and enjoy
     
    TB12

    3,108 downloads

       (3 reviews)

    9 comments

    Updated

  2. Populate Function

    This script will allow you to easily populate an area using random number generation based on your specifications. It eliminates the need to find countless co-ordinates. You only need to find four co-ordinates to populate an area with as many NPCs as you like. (The engine really hates it if you go over 120). You can also choose whether to set them to walk randomly or not. You can use your own waypoints. I reccommend using this function in an on enter script.
     
    -----------------------------
    Installation and use
    -----------------------------
     
    You need to place the "populate.nss" script in your K2 Override. (This will probably work with K1 but I cannot confirm that). To use the function add the line
     
    #include "populate"
     
    at the beginning of your script.
     
    Then you will need to lay an imaginary square over the area where you want to spawn in. Then find the co-ordinates of the four corners using D3's Whereami armband. Write down what you get and work out the smallest X value and the largest X Value and then do the same with the Y Co-ordinates. Then include this in the main function of your script.
     
    Populate(0, 0, 0, 0, 0, Tag);
    ^ ^ ^ ^ ^ ^
    Amount xMin xMax yMin yMax Tag
     
    Amount = The number of NPCs of the specified tag to spawn.
    xMin = The smallest X value
    xMax = The largest X Value
    yMin = The smallest Y Value
    yMax = The largest Y Value
    Tag = The tag of the NPC you want to spawn.
     
     
    -----------------------------
    Use and distribution
    -----------------------------
     
    Feel free to use this in any mod at all. If you wish to modify the script then feel free to but LEAVE THE RANDOM NUMBER GENERATION FUNCTION IN TACT. It was not created by me and is essential to the smooth running of the populate function. If you modify the script and want to distribute it then please contact me first through either Holowan Labs or Deadly Stream - TimBob12 or by email - timbothompson@gmail.com. If you do redistribute then you will be required to credit bead-v for the creation of the random number generation script.
     
    -----------------------------
    Extra's
    -----------------------------
     
    There is an additional random generation script that was created by bead-v and, unlike the in game function, it supports negative numbers making it perfect for location generation.
     
    -----------------------------
    Credits
    -----------------------------
     
    The populate function and example script were created by me, TimBob12 and the random number generation script was created by bead-v. I'd also like to thank everyone who helped in the creation of this function specifically:
     
    Darth Insidious
    Varsity Puppet
    Bead-V
     
    -----------------------------
    A Final Note
    -----------------------------
     
    I hope this eases your Module Creation and you enjoy using this.

    749 downloads

       (3 reviews)

    6 comments

    Updated