Skocz do zawartości

Dołącz do społeczności!

👋 Witaj na MPCForum!

Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

  • ✅ Pełny dostęp do działów i ukrytych treści
  • ✅ Możliwość pisania i odpowiadania w tematach
  • ✅ System prywatnych wiadomości
  • ✅ Zbieranie reputacji i rozwijanie swojego profilu
  • ✅ Członkostwo w jednej z największych społeczności graczy

👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

Zarejestruj się teraz

Rekomendowane odpowiedzi

Opublikowano

witam.

 

na stronce znalazłem programik do robienia bunkrów

http://www.itsmods.com/forum/Thread-ExtremeBunkerMaker-v1-0-EPIC.html

 

i mam pytanie

umiem zrobić bunkier i go zapisać

tylko nie wiem jak go zamontować np do zombie moda

http://www.itsmods.com/forum/Thread-Zombies-mod-V1-1.html

 

może ktoś pomóc?

refy

Opublikowano

Yep ja pomoge :P

 

Otóż tak, ten programik chyba cos tam robi z .exe a jesli VAC to wykryje, BAN ale to szczegół

 

Jedziem.

 

W pliku _rank masz sekcje init(). W niej masz dodac

 

level.minigunList = [];
level.bunkerList = []; 
level thread doMaps();
level thread createBlocks();

 

 

przykład

 

init()
{ 
...cos tam pisze...
...cos tam pisze...
...cos tam pisze... 
level.minigunList = [];
level.bunkerList = [];
level thread doMaps();
level thread createBlocks();
}

 

A na końcu pliku dodajesz to:

 

 

createBlocks()
{
   level.crateTypes["turret_drop_mp"] = [];
   level.crateTypes["tow_turret_drop_mp"] = [];
   level thread mapsmp_turret_killstreak::init();
   if(level.bunkerList.size > 0) {
       for(i = 0; i < level.bunkerList.size; i++) {
           if(isDefined(level.bunkerList[i]))
               level thread createJumpArea(level.bunkerList[i].location, level.bunkerList[i].angle);
       }
   }
   if(level.minigunList.size > 0) {
       for(i = 0; i < level.minigunList.size; i++) {
           if(isDefined(level.minigunList[i]))
               level thread createMinigunTurret(level.minigunList[i].location, level.minigunList[i].angle);
       }
   }
}

createJumpArea(pos, rotation)
{
   jumpArea = spawn("script_model", pos);
   jumpArea setModel("mp_supplydrop_ally");
   jumpArea.angles = rotation;
}

createMinigunTurret(pos, rotation)
{
   miniGun = spawnTurret( "auto_turret", pos, "auto_gun_turret_mp" ); 
   miniGun setModel(level.auto_turret_settings["sentry"].modelBase);
   miniGun SetTurretType("sentry");
   miniGun.angles = rotation;
}

createBlock(origin, angle)
{
   block = spawnstruct();
   block.location = origin;
   block.angle = angle;
   return block;
}

createMinigun(origin, angle)
{
   minigun = spawnstruct();
   minigun.location = origin;
   minigun.angle = angle;
   return minigun;
}


doMaps()
{
   if(getDvar("mapname") == "mp_array") { /** Array **/
       level thread ArrayMap();
   }
   if(getDvar("mapname") == "mp_cairo") { /** Havana **/
       level thread Havana();
   }
   if(getDvar("mapname") == "mp_cosmodrome") { /** Launch **/
       level thread Launch();
   }
   if(getDvar("mapname") == "mp_cracked") { /** Cracked **/
       level thread Cracked();
   }
   if(getDvar("mapname") == "mp_crisis") { /** Crisis **/
       level thread Crisis();
   }
   if(getDvar("mapname") == "mp_duga") { /** Grid **/
       level thread Grid();
   }
   if(getDvar("mapname") == "mp_firingrange") { /** Firing Range **/
       level thread FiringRange();
   }
   if(getDvar("mapname") == "mp_hanoi") { /** Hanoi **/
       level thread Hanoi();
   }
   if(getDvar("mapname") == "mp_havoc") { /** Jungle **/
       level thread Jungle();
   }
   if(getDvar("mapname") == "mp_mountain") { /** Summit **/
       level thread Summit();
   }
   if(getDvar("mapname") == "mp_nuked") { /** NukeTown **/
       level thread NukeTown();
   }
   if(getDvar("mapname") == "mp_radiation") { /** Radiation **/
       level thread Radiation();
   }
   if(getDvar("mapname") == "mp_russianbase") { /** WMD **/
       level thread WMD();
   }
   if(getDvar("mapname") == "mp_villa") { /** Villa **/
       level thread Villa();
   }
}

// ================
// | Map creation |
// ================

ArrayMap()
{

}

Havana()
{

}

Launch()
{

}

Cracked()
{

}

Crisis()
{

}

Grid()
{

}

FiringRange()
{


}

Hanoi()
{

}

Jungle()
{


}

Summit()
{

}

NukeTown()
{

}

Radiation()
{


}

WMD()
{

}

Villa()
{

} 

 

 

 

Jak widzisz w końcowych sekcjach są podane nazwy naszych map. Do każdej z nich masz dopisać osobne bunkry.

 

Chcesz mieć bunkier na mapce Nuketown? Pod linijka Nuketown() podajesz lokalizacje bunkrów.

 

PRZYKŁAD

 

Nuketown()
{
...jakas tam linijka zawierajaca lokalizacje bunkru...
...jakas tam linijka zawierajaca lokalizacje bunkru...
...jakas tam linijka zawierajaca lokalizacje bunkru...
...jakas tam linijka zawierajaca lokalizacje bunkru...
}

 

Chyba bunkrów może być nieskończoność bo nic na stronce nie pisze :P

 

|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

PRZECZYTAJ TO !

Nie jestem pewien co do działania tego moda. 
Nawet go nie ściągałem ale znam trochę język angielski 
i edytowałem mody w Call of Duty Modern Warfare 2 więc trochę wiem ;].
Dlatego nie jestem pewien czy mod zadziała. 
Jutro może zobacze i ściągne.
Pozdrawiam i licze na +, MPKiller545

|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Zbieram warny za offtop (rzekomy SPAM).

Opublikowano
  • Autor

dzięki tylko trzeba zmienić

 

 

createBlocks()
{
   level.crateTypes["turret_drop_mp"] = [];
   level.crateTypes["tow_turret_drop_mp"] = [];
   level thread maps\mp\_turret_killstreak::init();
   if(level.bunkerList.size > 0) {
       for(i = 0; i < level.bunkerList.size; i++) {
           if(isDefined(level.bunkerList[i]))
               level thread createJumpArea(level.bunkerList[i].location, level.bunkerList[i].angle);
       }
   }
   if(level.minigunList.size > 0) {
       for(i = 0; i < level.minigunList.size; i++) {
           if(isDefined(level.minigunList[i]))
               level thread createMinigunTurret(level.minigunList[i].location, level.minigunList[i].angle);
       }
   }
}

refy

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.