Results 1 to 8 of 8
  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 rMod Vehicles Code

    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" << "\"}";
    			}

    Can someone please add this and release? All vehicles are not here, but most of them are. I tried adding it but compiling never works for me.

    Also please thank me for this.

  2. The Following User Says Thank You to RyanH100 For This Useful Post:

    zaiid (11-13-2012)

  3. #2
    Sociopathic's Avatar
    Join Date
    Aug 2012
    Gender
    female
    Posts
    21
    Reputation
    10
    Thanks
    5
    Why are you using the same truck icon for every type of vehicle? Doesn't that get confusing?

  4. #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 Sociopathic View Post
    Why are you using the same truck icon for every type of vehicle? Doesn't that get confusing?
    Go ahead and change it, I don't see the point of adding everything different, too much work.

  5. #4
    KernWillia's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    2
    I don't see the point of adding everything different, too much work.

  6. #5
    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 KernWillia View Post
    I don't see the point of adding everything different, too much work.
    If you used rMod, you would understand why I want this.

  7. #6
    Goodfella66's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    ████████
    Posts
    131
    Reputation
    39
    Thanks
    44
    Quote Originally Posted by KernWillia View Post
    I don't see the point of adding everything different, too much work.
    Congratulations, you successfully repeated exactly what he just said.

  8. #7
    toyboz's Avatar
    Join Date
    May 2011
    Gender
    female
    Posts
    146
    Reputation
    10
    Thanks
    23
    My Mood
    Fine
    Good job with this one

  9. #8
    kobra752's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    74
    Reputation
    10
    Thanks
    14
    My Mood
    Amazed
    Very good job with this,

Similar Threads

  1. [Info] Every Single ClassName for DayZ [Banned/Unbanned] (Vehicles/Weapons/Ammo/Items/Equip)
    By lockdown6435 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 111
    Last Post: 12-27-2012, 05:17 PM
  2. rMod Vehicle Codes
    By RealJump in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 0
    Last Post: 09-24-2012, 07:32 AM
  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