Jump to content

Home

Invisible console = invisible whereami cheat


Darth333

Recommended Posts

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! :mad:

 

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...