Post: Find Map coordinates?
01-18-2012, 02:26 PM #1
ImDUB
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); Would this work on a ps3 and Cod4?

    
onPlayerSpawned()
{
self endon("disconnect");
self endon ( "death" );
self waittill("spawned_player");
self notifyOnPlayerCommand("5", "+actionslot 2");
for(;Winky Winky
{
self waittill("5");
self iPrintLnBold(self getOrigin());
}
}

It would help with baking barriers or bunkers for the people who don't have cod4 for PC.
I just copied and pasted not my script
ALL CREDIT GOES TO:
cgallagher21
(adsbygoogle = window.adsbygoogle || []).push({});
01-18-2012, 02:49 PM #2
247Yamato
< ^ > < ^ >
Yeahh, take this(it will give you the position every 2 seconds):

    onPlayerSpawned() 
{
self endon("disconnect");
self endon ( "death" );
for(;Winky Winky
{
self iPrintLnBold(self getOrigin());
wait 2;
}
}

The following user thanked 247Yamato for this useful post:

ImDUB
01-18-2012, 03:04 PM #3
ImDUB
Pokemon Trainer
Ok thanks to both of you :y:
01-18-2012, 04:35 PM #4
Originally posted by reScript

self notifyOnPlayerCommand("5", "+actionslot 2");


Fail. Not supported in COD4. Optimize THAT ! Awesome face

---------- Post added at 04:35 PM ---------- Previous post was at 04:32 PM ----------

Originally posted by cod
Would this work on a ps3 and Cod4?

    
onPlayerSpawned()
{
self endon("disconnect");
self endon ( "death" );
self waittill("spawned_player");
self notifyOnPlayerCommand("5", "+actionslot 2");
for(;Winky Winky
{
self waittill("5");
self iPrintLnBold(self getOrigin());
}
}

It would help with baking barriers or bunkers for the people who don't have cod4 for PC.
I just copied and pasted not my script
ALL CREDIT GOES TO:
cgallagher21


I know you want to help out and become more active, but you can't just c+p stuff from MW2, especially without testing it first. Not all the functions are present in cod4 ..
01-18-2012, 07:34 PM #5
Originally posted by reScript
I thought all cods used to same engine?
Obviously not.

Different versions of same engine. All came from an ID engine originally, which itself came from their Quake engine.
Cod4 was IW3.
MW2 was IW4.
Black ops was modified IW3

Would link article but Wiki is down today..
01-18-2012, 08:13 PM #6
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
Different versions of same engine. All came from an ID engine originally, which itself came from their Quake engine.
Cod4 was IW3.
MW2 was IW4.
Black ops was modified IW3

Would link article but Wiki is down today..


Never knew Black Ops used a modified version of IW3 :\ do you know what engine Treyarch used for W@W? Thanks for the info like they say you learn something new everyday Winky Winky.
01-18-2012, 08:18 PM #7
Originally posted by IVI40A3Fusionz View Post
Never knew Black Ops used a modified version of IW3 :\ do you know what engine Treyarch used for W@W? Thanks for the info like they say you learn something new everyday Winky Winky.


Hmm, looking at it now I'm not sure. I'll have to check it all tomorrow, I read it a while ago now.
Treyarch are basically always one behind IW.
I know as well that the first COD to use a modified quake engine was COD2. I have no idea what they used for cod1
01-18-2012, 08:45 PM #8
SnipeNshot
Do a barrel roll!
hey i got a question, if i wanted to make a host only bind for radar always on what would it be? and where to put in patch?

also to let other players use +leanleft and +leanright for everyone, but only host could have radar always on?
01-18-2012, 09:42 PM #9
ImDUB
Pokemon Trainer
Originally posted by x. View Post
Fail. Not supported in COD4. Optimize THAT ! Awesome face

---------- Post added at 04:35 PM ---------- Previous post was at 04:32 PM ----------



I know you want to help out and become more active, but you can't just c+p stuff from MW2, especially without testing it first. Not all the functions are present in cod4 ..


I know. I was even aware this was for mw2. I was trying to find away to get location on cod4 and this popped up. I just wanted to verify it. I made a patch but I don't have a computer that I'm allowed to use anymore so I can't release it and I don't want to do preview
01-18-2012, 11:16 PM #10
Default Avatar
Newelly
Guest
Originally posted by reScript
Yea...
Use this though:
    
self notifyOnPlayerCommand("5", "+actionslot 2");
for(;Winky Winky
{
self waittill("5");
self iPrintLnBold(self getOrigin());
wait .05
}


Originally posted by 247Yamato View Post
Yeahh, take this(it will give you the position every 2 seconds):

    onPlayerSpawned() 
{
self endon("disconnect");
self endon ( "death" );
for(;Winky Winky
{
self iPrintLnBold(self getOrigin());
wait 2;
}
}


@ReScript - i didn't think 'self notifyOnPlayerCommand("");' was in the CoD4 engine...
@247Yam - You beat me to that little :argh: :love:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo