Search results for query: *

  1. -MaveRick-

    Modding Q&A [For Quick Questions and Answers]

    hello everyone, I'm modding on my battle field mod. I succesfully added more formations on game. but I got a problem here. I want to create a easy division system. But I have no idea. For example,

    I want divide 200 soldiers into 4; (50 agents per division) and I want assign each as an orderable battle group.

    How can I do this?
    Any ideas?
  2. -MaveRick-

    Köye Milis Kışlası eklemek 1.Ders

    HyperCharge said:
    Bu arada, kodda hata var.

    Code:
    (try_begin),                                                          #option 1 - player koye sahipse
              (eq, ":town_lord", "trp_player"),
              (assign, ":player_can_draw_from_garrison", 1),

    şurdan öncesinde ":town_lord" hiçbir zaman atanmamış, bu kod bloğunda. Bu bir local değişken. global gibi her yerde kullanılmıyor. kullandığın yerle sınırlı bunun yeri, neyse. Bunu düzeltmek için;

    Code:
    (party_get_slot, ":town_lord", "$current_town", slot_town_lord),
          (try_begin),                                                          #option 1 - player koye sahipse
              (eq, ":town_lord", "trp_player"),
              (assign, ":player_can_draw_from_garrison", 1),

    böyle olması lazım. Bir de village_faction'da şurada kullanılmamış. Ayrıca store_faction_of_party'de yanlış kullanılmış.  :grin:

    Code:
    (store_faction_of_party, ":village_faction", "fac_player_supporters_faction"),

    Code:
    (store_faction_of_party, <destination>, <party_id>),

    sen partinin ismi yerine ülkenin ismini yazmışsın. E ülke de bir parti olamayacağına göre, kod daha ordan fail oluyor. ikinci olarak dediğim gibi village_faction da kullanılmamış. O yüzden store_faction yerine şunun gelmesi lazım;

    Code:
    (store_faction_of_party, ":village_faction", "$current_town"),
      (eq, ":village_faction", "$players_kingdom"),

    hakikaten ekleyip geçmişim. hataları görmemişim. ama ana postu düzeltemem, çünkü eski hesabıma giremiyorum :'( neyse ekleyenler buralarada bakar heralde...
  3. -MaveRick-

    Köye Milis Kışlası eklemek 1.Ders

    Turkish Cavalry said:
    Yağma direnci değil de bence köye 30 asker koyduğunda haydutlar tarafından, 80 den fazla asker koyduğunda tek bir lord tarafından yağmanalamamalı. Bunu ayarlarsan çok güzel olur, eline sağlık.

    Teşekkürler. Zaten köy ne kadar güçlü olursa olsun, yapay zeka köyleri yağmalarken köylülerle savaşmıyor. (hani köyün yanına gelip bekliyorya ai lordu) Bunu değiştirmeye çalıştım ama kod bulamadım. Galiba yapay zekanın köyü yağmalama kodları "hard code" olarak mevcut. Yani bunu değiştiremem.

    Ama dahası gelecek. Pusuda kalın : D
  4. -MaveRick-

    Köye Milis Kışlası eklemek 1.Ders

    BayEjderya said:
    Eline sağlık harika.  :fruity:

    Sağol. Dahası gelecek...
  5. -MaveRick-

    Dilaren Mod (SP-MP) (Tamamlanmadı, %46) İptal

    Ragnarossan said:
    İnşAllah troll değildir troll gibi sezdim ama :grin:

    :facepalm: Değil.
  6. -MaveRick-

    İlişki Konusu - "Seviyosan bence git konuş abi"

    Kondrad said:
    Alfa olmadığım için ben beceremiyorum. Yalanları dizi ve filmlerde görüp gerçeklerle karıştırıyorsunuz bol şans :smile:

    Alfalığın gerçekliğine inanmıyorum ben. Sizcede çok saöma değil mi?
  7. -MaveRick-

    Modding Q&A [For Quick Questions and Answers]

    Jacobhinds said:
    You'll have to set a counter within the try_for_agents so that it stops after 20 swadian knights.

    Code:
    (assign, ":number_of_swadian_knights", 0),
    
    (try_for_agents, ":agent"),
       (le, ":number_of_swadian_knights", 20),
       (agent_get_troop_id, ":troop", ":agent"),
       (eq, ":troop", "trp_swadian_knight"),
       (val_add, ":number_of_swadian_knights", 1),
    (try_end),
    This loop stops running once ":number_of_swadian_knights" reaches 20. Here's a "verbal" version of this script to explain what I mean:

    Code:
    Set the swadian knight counter to 0.
    
    Run this script for all the agents until there are no agents left.
      if the swadian knight counter is less than 20, continue.
      what troop is the agent using? 
      if is it a swadian knight, continue.
      add one to the swadian knight counter.
    Go back to the top of this block until there are no agents left.

    Try reading tutorials and looking at the code in native to help you understand how this stuff works. If you try to guess you'll end up getting confused.

    For example your ":firstcohort" won't allow you to assign anything to a division. Values beginning in : are local variables which are just numbers you can change in the script. Have a look at the Native mission templates and have a look at where agent_set_division gets used.

    very thanks Jacobhinds. its simple and basic. I'll developed this
  8. -MaveRick-

    Modding Q&A [For Quick Questions and Answers]

    Jacobhinds said:
    If you want to select the number of troops in a scene you need something like this:

    Code:
    (try_for_agents, ":agent"),
       (agent_get_troop_id, ":troop", ":agent"),
       (eq, ":troop", "trp_swadian_knight"),
    (try_end),

    Notice how agents and troops are different. Agents are the individuals who exist and get spawned in a scene, while a troop is just a data set containing their name, skills, and a list of weapons they can spawn with. If you want to do anything with agents you need to cycle between all of them using try_for_agents first.

    All right. I know but I want select at a certain number? For example, "select 20 count swadian knight and use "agent_set_division" assign there , ":firstcohort", Is this possible? (sorry for my bad eng)
  9. -MaveRick-

    Modding Q&A [For Quick Questions and Answers]

    Ramaraunt said:
    I think you misunderstood what slots are. Slots are like an array of spaces you can store information. Parties have slots, troops have slots, players in multiplayer have slots, agents in every scene has slots, etc. when you are grabbing from slot 20, it doesn't return 20, it returns the value stored in slot 20. This value is -1 if you haven't assigned anything to it yet.

    No I know it. Bu there is no other way. At least, to my knowledge.

  10. -MaveRick-

    Modding Q&A [For Quick Questions and Answers]

    kalarhan said:
    -MaveRick- said:
    I want to change party speed in the map. How can I do it?

    use script "script_game_get_party_speed_multiplier". It applies the modifiers (% value) to increase/decrease the speed of any party.

    You can see a example of this on VC modsys.

    very thanks kalarhan.
    I want select "20" count of 'trp_swadian_knight' and give them "shield" animation. How can I do?
    this is an incomplete script:


    Code:
       (store_current_scene, ":cur_scene"),
       (scene_get_slot, ":slot", slot_scene_number_troops, ":cur_scene"),
    
    slot_scene_number_troops = 20

    How can I do this? Any things?
  11. -MaveRick-

    Modding Q&A [For Quick Questions and Answers]

    I want to change party speed in the map. How can I do it?
  12. -MaveRick-

    [WB][SP] Fracture Moment: Rise of Ottoman [V0.860]

    HyperCharge said:
    birkaç gün içerisinde bol bol resimler gelecek. Hazırlıklı olun.  :shifty:

    Pusudayız...
  13. -MaveRick-

    Modding Q&A [For Quick Questions and Answers]

    very thanks. now, I'm developing...
  14. -MaveRick-

    İlişki Konusu - "Seviyosan bence git konuş abi"

    Kondrad said:
    Şimdi hatayı zaten kanka diyerek yapmışsınn muabbetlerine girmeyeceğim. El öpmekle dudal aşınmaz o yüzden çık karşısına tut kolundan itiraf et tekrardan. Birşey olmaz korkma kabul etmezse zatem birbirinizi görmeyeceğiniz için korkmana da gerek yok. Buluşmayı ayarlamaya çalış sonra bana pm atarsan söylemen gerekenleri sana yazarım. Kesin demeyeyim de %60 kabul alırsın.

    yok be aga. bıırakcam. çünkü o zaten ilişki istemiyor. yani ilişkilere soğuk. yakın arkadaşlarına sordum hani. olacağı yok. ben beklicem. ama çok sağol kondrad teşekkürler iyiki varsınız.
  15. -MaveRick-

    İlişki Konusu - "Seviyosan bence git konuş abi"

    Kondrad said:
    -MaveRick- said:
    ? ? ? ? ? ? ? ? ? said:
    Yakışıklıysan mümkün, değilsen konuşmayı kes.

    deme. konuşamıyorum zaten artık engeller. neyse  :cry:
    İpleri onun eline verirsen istediğini de yapar. Neden engeller ?

    red yedim. ya bu sene aslında ağırlığı derslere verecek, kız peşinde koşmayacaktım. bu yüzden sene başından "kanka" oldum. ama onu tanıdıkça değişti işte. yaşamışsınızdır belki. şimdi vazgeçemiyorum. ama elimden gelen de yok. şu an ihanete uğradığını düşünüyor. haklı yani bal gibi. ama ne yapayım, okuldan gidiyormuş, bende içimde kalmasın deyip söyledim. olan bu işte.
  16. -MaveRick-

    Modding Q&A [For Quick Questions and Answers]

    hi guys,

    (agent_set_division, <agent_id>, <value>),
    What does this code do? Can I use this command for, regiment formations of my own 'battle tactic' scripts?

    by the way, I want to appoint trp_blabla, in battle group; "grc_archers".
    Can I use "assign" command for this?
    (assign, "trp_BLABLA", grc_archers),
  17. -MaveRick-

    İlişki Konusu - "Seviyosan bence git konuş abi"

    ? ? ? ? ? ? ? ? ? said:
    Yakışıklıysan mümkün, değilsen konuşmayı kes.

    deme. konuşamıyorum zaten artık engeller. neyse  :cry:
  18. -MaveRick-

    İlişki Konusu - "Seviyosan bence git konuş abi"

    Arkadaşlar, friendzone dan kurtulmak mümkün müdür sizce? Mümkünse nasıl?
  19. -MaveRick-

    Age of Empires

    Age of Empires 2 ve 1, pek çok yama ve unit modu yaptığım oyunlardır.
  20. -MaveRick-

    [WB][SP] Fracture Moment: Rise of Ottoman [V0.860]

    Bu mod bir harika. 5 yılın hakkını verecek gibi duruyor. ya zaten benim pc kaldırmaz bunu da :grin: , yinede en oynanası modlardan biri. ADDAMSIN SEN.

    Ayrıyeten scene güzel fakat, sencede duvarlar biraz fazla beyaz değil mi? sanki mermer gibi duruyor?..
Back
Top Bottom