Results 1 to 3 of 3
  1. #1
    RyanH100's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Belfast, Northern Ireland, United Kingdom.
    Posts
    526
    Reputation
    22
    Thanks
    571
    My Mood
    Blah

    DayZ Navigator with rMod Vehicles!



    THIS WILL NOT BE RELEASED YET BECAUSE DAYZ NAVIGATOR IS DETECTED, I WILL WAIT FOR A UPDATED ONE.


    DOWNSIDE: ALL VEHICLES I ADDED ARE SHOWN AS A UAZ ICON EVEN IF IT IS HELICOPTER, IF YOU WOULD LIKE TO HELP AND PM ME THE VEHICLES I ADDED AND WHAT THEY ARE I WILL CHANGE THE ICONS.


    Code:
    			if(ents[i].object_classname.find("MTVR") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "MTVR" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Kamaz") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Kamaz" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Mutt") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Mutt" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Golf") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Golf" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("BTR40") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "BTR40" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("BTR") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "BTR" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("LAV25") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "LAV25" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("AH64") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "AH64" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("A10") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "A10" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("T90") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "T90" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("D30") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "D30" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("M119") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "M119" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("M2") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "M2" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("AG5") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "AG5" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("DShKM") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "D5hKM" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Metis") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Metris" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("KORD") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Kord" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("AH1Z") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "AH1Z" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("AH6") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "AH6" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("MH6") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "MH6" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("UH60") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "UH60" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("MH60") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "MH60" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("AV8B") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "AV8B" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("KA50") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "KA50" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Mi17") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Mi17" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Mi18") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Mi18" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Camel") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Camel" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Para") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Para" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("MV22") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "MV22" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("UH1Y") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "UH1Y" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("HIND") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "HIND" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("F35B") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "F35B" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("SU25") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "SU25" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("C130") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "C130" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("KA52") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "KA52" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("BRDM2") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "BRDM2" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("HMMWV") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "HMMWV" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Sedan") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Sedan" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Skodovka") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Skodovka" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}
    
    			if(ents[i].object_classname.find("Stryker") != string::npos) {
    				if(!first) marker_str << ","; else first = false;
    				marker_str << "{id:" << ++id << ",lat:" << game_to_lat(ents[i].object_pos.z) 
    					<< ",lng:" << game_to_lng(ents[i].object_pos.x) << ",t:\"" << "uaz" << "\",n:\""
    					<< "Stryker" << "\",b:\"" << "uaz_cdf" << "\"}";
    			}

    THIS IS ALL THE VEHICLES I HAVE ADDED AT THE MOMENT. IF THERE IS ANY OTHER THAT IS IN RMOD AND IS NOT INCLUDED HERE PLEASE POST BELOW!

  2. #2
    [Knight]'s Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Brazil
    Posts
    99
    Reputation
    10
    Thanks
    58
    My Mood
    Drunk
    Hello.
    Well, I am an old pawn. programmer, and I'd like to ask you some questions, so I can help you.

    So, I just read the source you posted. I understood how do you program that, but what is the program you use to compilate that? What's the difference (in a script) between a detected and a not-detected navigator?

    If you teach me this, I can learn very fast as I have some experience with programation.

  3. #3
    RyanH100's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Belfast, Northern Ireland, United Kingdom.
    Posts
    526
    Reputation
    22
    Thanks
    571
    My Mood
    Blah
    Quote Originally Posted by [Knight] View Post
    Hello.
    Well, I am an old pawn. programmer, and I'd like to ask you some questions, so I can help you.

    So, I just read the source you posted. I understood how do you program that, but what is the program you use to compilate that? What's the difference (in a script) between a detected and a not-detected navigator?

    If you teach me this, I can learn very fast as I have some experience with programation.
    I don't know what you are asking but VS2012?

    If you want more information on the source code,

    https://www.mpgh.net/forum/624-dayz-h...-sd333221.html

    You can download it there.

Similar Threads

  1. [Release] DayZ Navigator rMod Vehicles Code
    By RyanH100 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 7
    Last Post: 11-16-2012, 01:06 PM
  2. [Request] How to get dayz Navigator to work with the nemalsk map? *please help*
    By darkelement19 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 3
    Last Post: 11-01-2012, 12:33 PM
  3. [Release] How to fix DayZ Navigator 2.3 Error
    By lockdown6435 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 50
    Last Post: 09-18-2012, 12:36 PM
  4. Dayz Navigator Help?
    By Glxi in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 5
    Last Post: 09-09-2012, 04:00 PM
  5. [Request] Dayz Navigator Work 1.7.2.6 ?
    By ismail55 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 5
    Last Post: 09-08-2012, 04:59 AM