Saruman45 Posted August 29, 2008 Share Posted August 29, 2008 I'm trying to add a little boy to the Ebon Hawk in KotOR 1. Anyone know how? Its not in the tutorials section. Please help. Link to comment Share on other sites More sharing options...
TriggerGod Posted August 29, 2008 Share Posted August 29, 2008 I'm trying to add a little boy to the Ebon Hawk in KotOR 1. Anyone know how? Its not in the tutorials section. Please help. MAGIC! (Note - You must have made a utc file before you place the NPC in game. If you need help with that, just say so) 0.5) Make sure Cheats are enabled 1) Go to where you want him to be 2) Open up the console (~ for english) 3) type in "whereami" (without quotation marks) 4) Write down the coordinates (and, if I'm right, the whereami cheat also tells your module as well. Remember that) 5) Open up KTool and go into the RIMs directory. Go into Modules, and find the module that you saw when you used the Whereami cheat. 6) Extract the file in the s.rim file called {Module name here}.git 7) Open up the git () with KGFF* and find the creatures list. (Open -> find the place where you extracted the git) 8) Open that list, right click, and click "Copy Struct", then, go to the top where it says "Creature List," right click, and click "Paste Struct" 9) Go to the very last struct, and replace the utc name in the "Template ResRef" with your boy's resref 10) Save the git file where ever you saved the boy's utc file (probably the override ) Link to comment Share on other sites More sharing options...
Darth InSidious Posted August 29, 2008 Share Posted August 29, 2008 4) Write down the coordinates (and, if I'm right, the whereami cheat also tells your module as well. Remember that) It's easier if you just run the thing in windowed mode. Also, it would be much simpler and less likely to cause compatibility problems if you simply spawned the character in using a script. Link to comment Share on other sites More sharing options...
TriggerGod Posted August 29, 2008 Share Posted August 29, 2008 It's easier if you just run the thing in windowed mode. Maybe hes like me, and doesn't like to use Windowed mode (or, rather, doesn't know how to ) Also, it would be much simpler and less likely to cause compatibility problems if you simply spawned the character in using a script. Which is basically a simplified way of doing what I said above, without editing git files. void main() { CreateObject(OBJECT_TYPE_CREATURE, "child_resref", Location(Vector(0.00,0.00,0.00), 0.0)); } I personally find that the git is easier to edit then making a script, but meh. Thats just my opinion, and no one cares about that, eh? Link to comment Share on other sites More sharing options...
Inyri Posted August 29, 2008 Share Posted August 29, 2008 It's better to teach people to mod the right way than the easy way, more often than not. Link to comment Share on other sites More sharing options...
TriggerGod Posted August 29, 2008 Share Posted August 29, 2008 It's better to teach people to mod the right way than the easy way, more often than not. That was uncalled for, Inyri. Just because I believe that doing it one way rather then another way doesn't make me a bad modder, it just means that I have an opinion. Others may like to use the script, but I like to use the git. Link to comment Share on other sites More sharing options...
Inyri Posted August 29, 2008 Share Posted August 29, 2008 For god's sake. =_= You may like to use the git method, but it's better for the community if he learns the scripting method (and better for him, in the long run). Trying to force an incompatible modding method on him just because it's 'your way' is silly. Stop being such a narcissist and admit that perhaps you're not always right. DI is more experienced with modules than you are. You may want to submit to his greater knowledge. Link to comment Share on other sites More sharing options...
Saruman45 Posted August 29, 2008 Author Share Posted August 29, 2008 Maybe hes like me, and doesn't like to use Windowed mode (or, rather, doesn't know how to ) Which is basically a simplified way of doing what I said above, without editing git files. void main() { CreateObject(OBJECT_TYPE_CREATURE, "child_resref", Location(Vector(0.00,0.00,0.00), 0.0)); } I personally find that the git is easier to edit then making a script, but meh. Thats just my opinion, and no one cares about that, eh? How do I do that? I CAN'T SCRIPT. And I can't use cheats. My console doesn't work, even with cheats enabled. I'm sure I enabled them right. I enabled them the same way on my old computer, and it works fine there. Tell me how, without cheats. And what script? How do I make it? Does it already exist, and I just need to edit it? If so, tell me which script, and what to do. I need specifics. Link to comment Share on other sites More sharing options...
TriggerGod Posted August 29, 2008 Share Posted August 29, 2008 Well, As far as I know, you can't do much of any modding if you can't use cheats. Without Cheats, you can't get Whereami coordinates (or get the whereami band without spawning it in a container), test an item before you place it anywhere... And you see that bunch of words in the code box? Thats the script, but its pretty useless without the whereami cheat... *facepalm* You may like to use the git method, but it's better for the community if he learns the scripting method (and better for him, in the long run). Trying to force an incompatible modding method on him just because it's 'your way' is silly. Stop being such a narcissist and admit that perhaps you're not always right. I'm not forcing a method on him. Its just one of the methods. I just happen to like it, and, its the first method that comes to mind for me. I'm not saying I am always right. And, its just one of the methods. I almost forgot about the scripting method until DI posted about it. Then I posted the script needed in my next post. DI is more experienced with modules than you are. You may want to submit to his greater knowledge. o_O I didn't say I didn't submit to DI's knowledge. Where did you get that? Link to comment Share on other sites More sharing options...
Darth InSidious Posted August 29, 2008 Share Posted August 29, 2008 Maybe hes like me, and doesn't like to use Windowed mode (or, rather, doesn't know how to ) Use the search function on the forums. Which is basically a simplified way of doing what I said above, without editing git files. Really, no. The end result may be the same, but the methods are not. I personally find that the git is easier to edit then making a script, but meh. Thats just my opinion, and no one cares about that, eh? It's not that your way is wrong per se, but it's the least efficient and in the long run, creates more issues than it solves. In the end, it is less useful to teach someone 'your' method than it is the other. That was uncalled for, Inyri. Just because I believe that doing it one way rather then another way doesn't make me a bad modder, No, it just makes you not a great teacher. Sorry, but there it is. it just means that I have an opinion. Others may like to use the script, but I like to use the git. Yes, but it's not about opinion, but, as Inyri says, the community and what is in the interests of both the community and the individual. The .git method is actually less beneficial to teach; by its nature it restricts the user to a highly incompatible method, while the other not only is more compatible, but also opens the user to several key areas of modding. How do I do that? I CAN'T SCRIPT. I would advise learning. It will be more than worth it in the long run, and will make your modding more flexible, in turn making it easier for you to create something closer to what you want. Link to comment Share on other sites More sharing options...
Emperor Devon Posted August 29, 2008 Share Posted August 29, 2008 How do I do that? I CAN'T SCRIPT. Open Kotor Tool, go to Tools->Text Editor and paste the above script. In place of 0.00,0.00,0.00 use the coordinates the whereami cheat* gives you. In place of "child_resref" use the ResRef you gave the NPC in its .utc. Save it to desktop as whateveryouarecallingit.nss, and then hit F5 to compile it. * What do you mean that you can't use cheats? Have you edited in 'EnableCheats=1' under GameOptions in swkotor.ini, and saved it to SWKotOR? I'm afraid I can't provide much technical assistance if you're tried that and it's not worked, but it's virtually impossible to spawn NPCs (or anything for that matter) without the whereami cheat. Anyways, assuming you're able to get that to work, move the compiled script to override. The script won't do anything on its own, though; you'll need a trigger for it in-game. The quickest way to do this is via dialogues (if you don't know how to edit dialogues, say so and I'll explain later), preferably ones the player has to go through. The downside to using dialogues as triggers, though, is that they're incompatible with dialogue mods other people might make. However, as there's next to no (released) ones, it's easy to make them compatible in the event that there is a conflict, and it's simply the easiest method with which to trigger scripts, that's probably the best method for you to use (given that you're new to modding). ebo_cutscene is probably the best dialogue to use as a trigger, since it comes up before the player has a chance to explore the Ebon Hawk. Depending on when you want the child to be spawned, though, this may be a non-issue for you (or if you have a very specific spawn time in mind it may be, but I'd personally recommend starting with a simple script since this is your first one). Anyways, that dialogue is located in ebo_m12aa. Extract it, place the name of your script into the 'Script that fires when spoken' field (be sure to place it in a node where that field doesn't already have a script in it), and save to Override. I'm not forcing a method on him. Its just one of the methods. I just happen to like it, and, its the first method that comes to mind for me. And given Saruman45's obvious inexperience, it'll be the only method he'll know about until someone more knowledgeable informs him otherwise. Use your head. Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted August 29, 2008 Share Posted August 29, 2008 No offense jmac7142, but please say something useful, or nothing at all. I kinda want help. So if you can help, thats great, otherwise, please don't post. No offense.well i'd appreciate it if you didn't....when you don't feel like actually looking for a tutorial on what you're trying to do or griping about how something's too hard when someone explains how to do it. Link to comment Share on other sites More sharing options...
Saruman45 Posted August 30, 2008 Author Share Posted August 30, 2008 well i'd appreciate it if you didn't crap up the post table with stuff when you don't feel like actually looking for a tutorial on what you're trying to do or bitching about how something's too hard when someone explains how to do it. Look, other people post questions and stuff like this all the time. I was trying to be polite, but I can play dirty if you want me to. Of course, then I'd get in trouble. Now please leave me alone, because your posts could be counted as spam. I am trying to keep my cool, but don't push me over the edge. There is no tutorial in the tutorial sections of this site that I've found. Other people have been trying to help. They're failing, but its not their fault. This is complex. And that tutorial you suggested is useful, if I wanna make a footlocker. I've only been able to make exactly what a tutorial is teaching you how to make. No one specified how to make PEOPLE. I need specifics. Link to comment Share on other sites More sharing options...
Jae Onasi Posted August 30, 2008 Share Posted August 30, 2008 Tone it down, people. We don't need flame wars here. Link to comment Share on other sites More sharing options...
Emperor Devon Posted August 30, 2008 Share Posted August 30, 2008 Other people have been trying to help. They're failing, but its not their fault. This is complex. So what more do you want people to explain? If you want anyone to help you, then specify what it is you need help with. Link to comment Share on other sites More sharing options...
Saruman45 Posted August 30, 2008 Author Share Posted August 30, 2008 Open Kotor Tool, go to Tools->Text Editor and paste the above script. In place of 0.00,0.00,0.00 use the coordinates the whereami cheat* gives you. In place of "child_resref" use the ResRef you gave the NPC in its .utc. Save it to desktop as whateveryouarecallingit.nss, and then hit F5 to compile it. * What do you mean that you can't use cheats? Have you edited in 'EnableCheats=1' under GameOptions in swkotor.ini, and saved it to SWKotOR? I'm afraid I can't provide much technical assistance if you're tried that and it's not worked, but it's virtually impossible to spawn NPCs (or anything for that matter) without the whereami cheat. Anyways, assuming you're able to get that to work, move the compiled script to override. The script won't do anything on its own, though; you'll need a trigger for it in-game. The quickest way to do this is via dialogues (if you don't know how to edit dialogues, say so and I'll explain later), preferably ones the player has to go through. The downside to using dialogues as triggers, though, is that they're incompatible with dialogue mods other people might make. However, as there's next to no (released) ones, it's easy to make them compatible in the event that there is a conflict, and it's simply the easiest method with which to trigger scripts, that's probably the best method for you to use (given that you're new to modding). ebo_cutscene is probably the best dialogue to use as a trigger, since it comes up before the player has a chance to explore the Ebon Hawk. Depending on when you want the child to be spawned, though, this may be a non-issue for you (or if you have a very specific spawn time in mind it may be, but I'd personally recommend starting with a simple script since this is your first one). Anyways, that dialogue is located in ebo_m12aa. Extract it, place the name of your script into the 'Script that fires when spoken' field (be sure to place it in a node where that field doesn't already have a script in it), and save to Override. And given Saruman45's obvious inexperience, it'll be the only method he'll know about until someone more knowledgeable informs him otherwise. Use your head. Emperor Devon, its my computer I can't use the ~ key in games. My brother, who has a computer of the same model, can't use it either. It works fine, until I get into the game. Is there some alternate way to activate the console? If so, tell me. Link to comment Share on other sites More sharing options...
Emperor Devon Posted August 30, 2008 Share Posted August 30, 2008 Emperor Devon, its my computer I can't use the ~ key in games. Then you should have mentioned that earlier. From how you phrased 'I can't use cheats' I assumed it was a technical problem. You have to provide specifics if you want help that's actually helpful. Go to Start->All Programs->Accessories->Accessibility->On-Screen Keyboard and run the game in windowed mode. I've tested it, and it works in-game. Unless you have a substandard version of the on-screen keyboard installed should be able to use the ` key with it. Link to comment Share on other sites More sharing options...
Saruman45 Posted August 30, 2008 Author Share Posted August 30, 2008 Then you should have mentioned that earlier. From how you phrased 'I can't use cheats' I assumed it was a technical problem. You have to provide specifics if you want help that's actually helpful. Go to Start->All Programs->Accessories->Accessibility->On-Screen Keyboard and run the game in windowed mode. I've tested it, and it works in-game. Unless you have a substandard version of the on-screen keyboard installed should be able to use the ` key with it. The on screen keyboard doesn't work. It must be a Vista problem. Thats what I have installed. Can you get me some coordinates? The kid should be somewhere in the cargo hold. Just get some coordinates from there, if you can. Give them to me, then I'll do the rest. Can you do that? It's usually courtesy to at least say 'please' when making demands. You catch more flies with honey than you do with vinegar. --Jae Link to comment Share on other sites More sharing options...
Emperor Devon Posted August 30, 2008 Share Posted August 30, 2008 The on screen keyboard doesn't work. How so? Does it not work for only KotOR, or everything altogether? Can you get me some coordinates? After I'm convinced your on-screen keyboard doesn't actually work, sure. I doubt Vista would include an unusable version of it (though as I don't use Vista, I can't speak from experience). Link to comment Share on other sites More sharing options...
tk102 Posted August 30, 2008 Share Posted August 30, 2008 I enabled them the same way on my old computer, and it works fine there...I can't use the ~ key in games. My brother, who has a computer of the same model, can't use it either. That seems very odd to me. You'll probably want to get cheats enabled for modding or things will be very slow-going. I suppose you could use your old computer to get the coordinates if worse came to worse. What model of PC do you have? Is it a U.S. keyboard layout? Can you type ~ in notepad? You might also be able to remap the key using Keytweak or some other software or even try plugging in an external keyboard. My guess though is that your swkotor.ini is not modified correctly and I'd double check that once again. Link to comment Share on other sites More sharing options...
Robespierre Posted August 30, 2008 Share Posted August 30, 2008 If you tried changing the region settings on your keyboard, perhaps you would have more luck that way? Link to comment Share on other sites More sharing options...
Endorenna Posted August 30, 2008 Share Posted August 30, 2008 Two questions: One, I can't get the cheats to work on Vista either. Before I go installing the game onto my XP, I'd like to know if there's a good chance I can get the cheats to work on there. Also, does this scripting method work for placing a console in the cargo hold and then making different options on it? Thanks guys! Link to comment Share on other sites More sharing options...
Emperor Devon Posted August 30, 2008 Share Posted August 30, 2008 The script posted above will work for placeables as well as creatures if you substitute 'OBJECT_TYPE_CREATURE' with (surprise) 'OBJECT_TYPE_PLACEABLE'. I'm not sure what you mean by 'different options'. Do you mean dialogue? You can write it for placeables like you can for NPCs, yes. There's a conversation field in .utps. Link to comment Share on other sites More sharing options...
Robespierre Posted August 30, 2008 Share Posted August 30, 2008 Two questions: One, I can't get the cheats to work on Vista either. Before I go installing the game onto my XP, I'd like to know if there's a good chance I can get the cheats to work on there. Well, there's no "chance" involved. If you cant make the ~ symbol on your computer, either by using your keyboard or the on-screen keyboard, it's not going to work. I would recommend trying another on-screen keyboard if you're having no luck with the Vista one. Link to comment Share on other sites More sharing options...
Saruman45 Posted August 30, 2008 Author Share Posted August 30, 2008 How so? Does it not work for only KotOR, or everything altogether? After I'm convinced your on-screen keyboard doesn't actually work, sure. I doubt Vista would include an unusable version of it (though as I don't use Vista, I can't speak from experience). Its a Vista problem. No ~ key works in video games, on-screen or otherwise. My regular keyboard works fine, ~ works, until I get into the games. The ~ worked on my old XP computer. The on screen keyboard is fine, I can pause the game and stuff with it, just can't use the ~ key in games, like my regular keyboard. My brother, and computer fanatic father both say its a Vista problem. My father deals with computer problems all the time. Its his job. So if anyone knows, its him. He's had plenty of problems with Vista, so he knows how to recognize them. I'm not being lazy or anything. I can get a new quest set up and everything, its just getting the kid into the Hawk in the first place. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.