lfnetwork.com mark read register faq members calendar

 04-02-2011, 04:18 PM #1 TimBob12 @TimBob12 I'm in space!     Join Date: Feb 2010 Location: Dantooine Posts: 515 Current Game: Mass Effect 2! Populate Function Discussion Thread - http://www.lucasforums.com/showthread.php?t=207029 Populate Function 2.81 - STABLE AND WORKING Available from same download link This Populate function allows you to get four co-ordinates and randomly spawn any number of NPCs. It was designed to ease the process of creating modules. All information is included in the README. This saves you having to create individual entries in the .git file. I think this should save a lot of time in Total Conversion Mods as people do not have to spend a lot of time populating areas. A few versions of this function spawning different NPCs and its done. The screenshots are from SOTE posted with permission from HarIII Thank you to everyone that helped but especially: Bead-V Darth Insidious Varsity Puppet 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 Code: `#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. Code: `Populate(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. Screenshots Show spoiler (hidden content - requires Javascript to show) Show spoiler (hidden content - requires Javascript to show) Show spoiler (hidden content - requires Javascript to show) Show spoiler (hidden content - requires Javascript to show) Download Link - http://deadlystream.com/forum/files/...late-function/ Hey Last edited by TimBob12; 07-15-2011 at 04:59 PM. you may: quote & reply,
 LucasForums > Populate Function

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home -------------------- Network     Star Wars Gamer     Knights of the Old Republic     Mixnmojo.com     Monkey Island Discussion     Brutal Legend Discussion     Grim Fandango Discussion     Psychonauts Discussion at Razputin's Domain     Sam And Max.Net     The Dig Museum     Full Throttle Discussion     IndyJones.net     Fracture     Forum Help & Feedback Center     LucasForums Archive         LEGO Star Wars series         Star Wars         Star Wars: Battlefront series         Star Wars: Classic Gaming         Star Wars: Empire At War         Star Wars: The Force Unleashed series         Star Wars: Galaxies         Star Wars: Jedi Knight series         Star Wars: The Old Republic         Star Wars: Republic Commando         Star Wars: Rogue Squadron series         Star Wars: X-Wing series