Darth333 Posted February 12, 2005 Share Posted February 12, 2005 ****[censored]*****!!!!!! Area making and spawning npcs/placeables will be a nightmare...unless someone finds a hidden feature somewhere otherwise we'll have to use the .git files and guess approximate values... :explode: Link to comment Share on other sites More sharing options...
Fred Tetra Posted February 12, 2005 Share Posted February 12, 2005 ... or unless someone helps create map backgrounds Link to comment Share on other sites More sharing options...
Darth Stryke Posted February 12, 2005 Share Posted February 12, 2005 Don't fret, I am sure that we will find a way to make it like KOTOR....i hope.....*sniff* Link to comment Share on other sites More sharing options...
RedHawke Posted February 12, 2005 Share Posted February 12, 2005 I don't know if we can do anything about this, unless we can add an in game option in the .ini file with an entry like "EnableCheatConsole=1" or something like that we are sunk! BTW: I allready tried that one... no go! Edit I just had a thought... is it possible to make an Armband that fires a script that would output the current module coordinates or the whereami cheat to an external .txt file or the in game feedback section, if this is possible this could save our module editing behinds. Still grumbling at OE, WTH were you people smoking??? Link to comment Share on other sites More sharing options...
Pontifice Posted February 12, 2005 Share Posted February 12, 2005 In another thread some one said somethin about a method to print debugging messages maybe it could help Or maybe with a dialog and the settoken ( i don't know the correct name ) function P.D. obviously for all is needed an armband or similar item Edited How bout void main() { PrintVector(GetPosition(GetFirstPC()),TRUE); } It will print the position in the logfile if it does what comments said in nwnscript // 141: Output vVector to the logfile. // - vVector // - bPrepend: if this is TRUE, the message will be prefixed with "PRINTVECTOR:" void PrintVector(vector vVector, int bPrepend); Link to comment Share on other sites More sharing options...
Darth333 Posted February 12, 2005 Author Share Posted February 12, 2005 I already tried that before posting I have the armband in game, I can activate it but so far the only thing I get is: "BlaBla uses Whereami armband" in the ingame feedback. Apart that, I have not been able to get it print to an external .log file Link to comment Share on other sites More sharing options...
beancounter Posted February 12, 2005 Share Posted February 12, 2005 From the sounds of it I take it that whereami does not work? Are all of the cheats disabled? Darth333, try using this script for your armband: vector WhereAmI = GetPosition(object_self); string x-coordinate = FloatToString(WhereAmI.x); string y-coordinate = FloatToString(WhereAmI.y); string z-coordinate = FloatToString(WhereAmI.z); string PlayerPosition = x-coordinate + ", " y-coordinate + ", " + z-coordinate; SendMessageToPC(GetFirstPC(), PlayerPosition); Hope that works Link to comment Share on other sites More sharing options...
Darth333 Posted February 12, 2005 Author Share Posted February 12, 2005 Originally posted by beancounter From the sounds of it I take it that whereami does not work? Are all of the cheats disabled? The cheats are not disabled, they work but the console is invisible and and you have to type blindly...thing is the coordinates are also invisible Darth333, try using this script for your armband: vector WhereAmI = GetPosition(object_self); string x-coordinate = FloatToString(WhereAmI.x); string y-coordinate = FloatToString(WhereAmI.y); string z-coordinate = FloatToString(WhereAmI.z); string PlayerPosition = x-coordinate + ", " y-coordinate + ", " + z-coordinate; SendMessageToPC(GetFirstPC(), PlayerPosition); Thanks but it didn't worked didn't work I tried a few variants but I always get compilation errors. I'll try to play a little more with the FloatToString function. Link to comment Share on other sites More sharing options...
beancounter Posted February 13, 2005 Share Posted February 13, 2005 Sorry about that, my scripting is a little rusty. The engine does not like a "-" in the variable name. The following code works, but the output could be formatted better. main () { vector WhereAmI = GetPosition(OBJECT_SELF); string X_Coordinate = FloatToString(WhereAmI.x, 5, 5); string Y_Coordinate = FloatToString(WhereAmI.y, 5, 5); string Z_Coordinate = FloatToString(WhereAmI.z, 5, 5); string PlayerPosition = GetName(OBJECT_SELF) + ": " + X_Coordinate + ", " + Y_Coordinate + ", " + Z_Coordinate; SendMessageToPC(GetFirstPC(), PlayerPosition); } Link to comment Share on other sites More sharing options...
tk102 Posted February 13, 2005 Share Posted February 13, 2005 So that's how you can decompose the positions... cool. Thanks! Link to comment Share on other sites More sharing options...
Darth333 Posted February 13, 2005 Author Share Posted February 13, 2005 Got it! Thanks! I figured out for the "-" but why I wasn't able to get it yesterday was because I forgot to put the script that initiates the conversation with the armband in the Override folder :headbump Edit: armband has been uploaded - http://www.lucasforums.com/showthread.php?s=&threadid=144260 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.