Keiko Posted February 21, 2005 Share Posted February 21, 2005 Hey, I was wondering if anyone with some spare time could help me fill out RedHawkes "Swawing Placeables, creatues .etc. I don't really get filling out scripts so anyone with some spare time and would like to help a n00b. Here is the script: code: //note this code allows for re-entry as-is, // you should only attach it to a dialog // that you know will only fire once. // To prevent re-entry in a more general sense, see tk102's notes in the next post void main() { float x=0.00f; //Here is where you add the 'whereami' cheat coordinate 1. float y=0.00f; //Here is where you add the 'whereami' cheat coordinate 2. float z=0.00f; //Here is where you add the 'whereami' cheat coordinate 3. float r=0.0f; // This is where you set the orientation of the placeable, set in degrees. vector MyVec = Vector(x,y,z); //line 1 location MyLoc = Location(MyVec, r); //line 2 object oLocker=CreateObject( OBJECT_TYPE_PLACEABLE, "footlker099", MyLoc); //line3 CreateItemOnObject("g_w_lghtsbr05", oLocker); CreateItemOnObject("g_a_mstrrobe01", oLocker); CreateItemOnObject("g_w_sbrcrstl04", oLocker, 2); } Thanks in advance! code: code: Link to comment Share on other sites More sharing options...
Darkkender Posted February 21, 2005 Share Posted February 21, 2005 Originally posted by DarthSmallz Hey, I was wondering if anyone with some spare time could help me fill out RedHawkes "Swawing Placeables, creatues .etc. I don't really get filling out scripts so anyone with some spare time and would like to help a n00b. Here is the script: code: //note this code allows for re-entry as-is, // you should only attach it to a dialog // that you know will only fire once. // To prevent re-entry in a more general sense, see tk102's notes in the next post void main() { float x=0.00f; //Here is where you add the 'whereami' cheat coordinate 1. float y=0.00f; //Here is where you add the 'whereami' cheat coordinate 2. float z=0.00f; //Here is where you add the 'whereami' cheat coordinate 3. float r=0.0f; // This is where you set the orientation of the placeable, set in degrees. vector MyVec = Vector(x,y,z); //line 1 location MyLoc = Location(MyVec, r); //line 2 object oLocker=CreateObject( OBJECT_TYPE_PLACEABLE, "footlker099", MyLoc); //line3 CreateItemOnObject("g_w_lghtsbr05", oLocker); CreateItemOnObject("g_a_mstrrobe01", oLocker); CreateItemOnObject("g_w_sbrcrstl04", oLocker, 2); } Thanks in advance! code: code: if you read the code notes present in the following lines; float x=0.00f; //Here is where you add the 'whereami' cheat coordinate 1. float y=0.00f; //Here is where you add the 'whereami' cheat coordinate 2. float z=0.00f; //Here is where you add the 'whereami' cheat coordinate 3. float r=0.0f; // This is where you set the orientation of the placeable, set in degrees. they explain that you need to use the whereami cheat. you write down the coordinates of the location where you want to place your creature or placeable. If you follow the instructions and compile it properly then everything should work fine. Tell you what if this compiles and nothing works proper post it in this thread and let us know. Link to comment Share on other sites More sharing options...
Keiko Posted February 21, 2005 Author Share Posted February 21, 2005 Well, that's just the thing, I can't, well.......Darth333's whereami, thing dosen't work for me I can't figure it out. owww! Link to comment Share on other sites More sharing options...
Darkkender Posted February 21, 2005 Share Posted February 21, 2005 Originally posted by DarthSmallz Well, that's just the thing, I can't, well.......Darth333's whereami, thing dosen't work for me I can't figure it out. owww! I don't know what to tell you then. Because it is beyond straightforward with the latest version of the armband. You put the files in your overide, you use the giveitem command in game to get the armband, you equip the armband, use the armband from the action menus on the screen, and you check the message log in your journal. pretty cut and dry simple. not only that but it creates a log file outside of the game. If none of this works right for you then you installed something wrong. Link to comment Share on other sites More sharing options...
Leviathan Posted February 22, 2005 Share Posted February 22, 2005 With the "WhereamI" cheat code, we can find the co-ordinates (X, Y, Z) of an item installed in one of the SW : KotOR's levels. But, how can I determine the orientation of a similar object, already placed in this game ? Link to comment Share on other sites More sharing options...
Darkkender Posted February 22, 2005 Share Posted February 22, 2005 Originally posted by Leviathan With the "WhereamI" cheat code, we can find the co-ordinates (X, Y, Z) of an item installed in one of the SW : KotOR's levels. But, how can I determine the orientation of a similar object, already placed in this game ? If it is an item that is part of a module like a footlocker for example. What you can do is open the module up and extract the GIT file. Open the GIT file in a GFF editor and expand the placeable object tree. From there you can look at each element's coordinates and decipher it's placement. It provides (X,Y,Z,R, and orientation). I do not recommend making changes to the GIT file as they do not always overide and sometimes cause game coruption. If you truly want to change a GIT file the best recomondation would be too repack the entire RIM file. As the likely hood of the game reading things properly is increased. Link to comment Share on other sites More sharing options...
Leviathan Posted February 22, 2005 Share Posted February 22, 2005 It's exactly what I've wanted to know... Thanks again, Darkkender !... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.