Finding Coordinates on Maps!!

Posts 1–15 of 26 · Page 1 of 2
Finding Coordinates on Maps!!
To find Coordinates on map here is the code Below:

Code:
onPlayerSpawned()
	{
	self endon("disconnect");
	self endon ( "death" );
	self waittill("spawned_player");

	self notifyOnPlayerCommand("5", "+actionslot 2");
		for(;;)
             {
	self waittill("5");
	self iPrintLnBold(self getOrigin());
	}
	}


Just Copy And Paste This in _rank.gsc
In-Game press "5" for the coordinates (#,#,#) << It Will show up like that but with #'s the first # is the (Length, width, Hieght) You can Change the ActionSlot

This is UseFull for placing Barriers on No Hope Zombie Mod

Thankme If i Helped
Quote Originally Posted by cgallagher21 View Post
To find Coordinates on map here is the code Below:

Code:
onPlayerSpawned()
	{
	self endon("disconnect");
	self endon ( "death" );
	self waittill("spawned_player");

	self notifyOnPlayerCommand("5", "+actionslot 2");
		for(;;)
             {
	self waittill("5");
	self iPrintLnBold(self getOrigin());
	}
	}


Just Copy And Paste This in _rank.gsc
In-Game press "5" for the coordinates (#,#,#) << It Will show up like that but with #'s the first # is the (Length, width, Hieght) You can Change the ActionSlot

This is UseFull for placing Barriers on No Hope Zombie Mod

Thankme If i Helped

thanks, ill need that for TF2 mod
Yeah I needed that because every time I wanted to put a barrier it came up slightly wrong.
Thx
That is in fact not; length, width, height.
It is the representation of a vector(X, Y, Z). Almost the same, but the terminology was off, small correction.
gj, good for spawning triggers
really good for blocking camping areas
You can find that with Basic hooking too, Just have to log the Vector resulting from the position of whatyouwant. But I guess most people are kinda unfriendly with that.
Anyone here know how to add spawn points?
Anyone here have all the names you can spawn other than those crates?
Thanks
I don't know much about this area of things, but I do know if you run ollydbg and look at the code in a private match, or maybe even at the main screen, you can find all possible dvars, cvars, Zvars, lvars, whatever they are called. When I was looking, I found some interesting things in there you can unlock with your mod. One of which was show spawn points. That may or may not help you out while debugging your MOD. I think in the future, I might work on a MOD helper tool, that gives you control of a lot of the useful debugging and locked dvar features.
Don't quote me on this, but I think it is in the config file, "seta cg_showspawn" I'll have a look see here tomorrow maybe, after work.
Quote Originally Posted by dheir View Post
I don't know much about this area of things, but I do know if you run ollydbg and look at the code in a private match, or maybe even at the main screen, you can find all possible dvars, cvars, Zvars, lvars, whatever they are called. When I was looking, I found some interesting things in there you can unlock with your mod. One of which was show spawn points. That may or may not help you out while debugging your MOD. I think in the future, I might work on a MOD helper tool, that gives you control of a lot of the useful debugging and locked dvar features.
Don't quote me on this, but I think it is in the config file, "seta cg_showspawn" I'll have a look see here tomorrow maybe, after work.
Thanks I'll play around with it and see what I come up with!
Anyone know Collision Codes?
Does Anyone know any Collision Codes for Mw2?

Thank Me If i Helped!
Code
Quote Originally Posted by Kyouki View Post
Thanks for stealing my code.
It's basically the EXACT same code as mine, you just added it to onPlayerSpawn...
Yh #1 i didnt even see this on MPGH before i posted, and #2 U arent the First to come up with it, So not my problem

And Kyouki on that thread that you made, U asked a question about the Carepackage's, Then Later Posted the code yourself, U also Double Posted on that Thread just saying...
sweet i put a crap load of crates on each other, and covered rust in ac130´s and fortress for zombie mod
Quote Originally Posted by christophergonzalez View Post
sweet i put a crap load of crates on each other, and covered rust in ac130´s and fortress for zombie mod
I'm working on a bunker with an elevator
Posts 1–15 of 26 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us