搜索结果: *

  1. Modding Q&A [For Quick Questions and Answers]

    kalarhan 说:
    khanh93vn 说:
    Guys, Is there any code in triggers to read/write files on disks? For example: write the number of bandit parties on the map to a txt file while the game is running, and it can be read in-game

    you are asking two different things

    For SP (not MP + database/website)

    1) Is there code to write to disk? Kind of. If you enable EDIT MODE you can use rgl_log.txt and print any message/text you want to
      1.1) You can then parse the .txt and use the data on logs, graphs, a second screen, external UI, bug testing, etc

    2) Can I read stored information and use it in-game, like in a presentation? Kind of. You can't read from any file in disk, but you can store your info on slots/global variables/name string and use it on your code (those are saved on your savegame files)

    VC used both for testing and a small part of that code is still available with its modsys if you want to see examples

    My thanks!!! That is good to know. Thank you!!!!
  2. Modding Q&A [For Quick Questions and Answers]

    Guys, Is there any code in triggers to read/write files on disks? For example: write the number of bandit parties on the map to a txt file while the game is running, and it can be read in-game
  3. Modding Q&A [For Quick Questions and Answers]

    Thank you very much!!!
  4. Modding Q&A [For Quick Questions and Answers]

    Please help! How can declare new global variables?
    And by the way, is possible to operate an array of variables?

    Thank you for your time!!
  5. Modding Q&A [For Quick Questions and Answers]

    EmielRegis 说:
    khanh93vn 说:
    Cool! Thank you for clearing that up for me. :grin:
    Can I have another request please? About the formulas for these numbers:
    -Damage delivered (calculate from troops' stat and other components).
    -Weapon speed
    -Movement speed
    And also, the mods you mentioned about, are their codes available to access?

    No idea. I suggest you to look inside header_operations and check operations that handle with bots AI.  Also I remember that there was some code related to bot ai modyfications in OSP code board.
    As for calculations I suggest to search forge. Pretty sure this was explained somewhere already.
    Okay! That's all I needed. Thank you again, Senpai! :smile:
  6. Modding Q&A [For Quick Questions and Answers]

    EmielRegis 说:
    khanh93vn 说:
    Hi everyone!! I have some things I've wondered about:
    -Is there anything a could do to modify the individual fighting AI that the system offered?
    -Are they Hardcoded? If they are, is it posible at all to modify them?
    -I've read some of the module system files and found that Non-player Agents are given AI flags when spawn. Are they what determine their behaviours in Missions?
    Thank you for your time!!

    Its possible via usage of triggers. You cannot modify basic behaviors cause they are indeed hardcoded, but you can override them in most cases. Was done already in some mods.

    Some time ago was trolling players on my server by bot camoflaged as player who chambered every swing. :iamamoron:
    Cool! Thank you for clearing that up for me. :grin:
    Can I have another request please? About the formulas for these numbers:
    -Damage delivered (calculate from troops' stat and other components).
    -Weapon speed
    -Movement speed
    And also, the mods you mentioned about, are their codes available to access?
  7. Modding Q&A [For Quick Questions and Answers]

    Hi everyone!! I have some things I've wondered about:
    -Is there anything a could do to modify the individual fighting AI that the system offered?
    -Are they Hardcoded? If they are, is it posible at all to modify them?
    -I've read some of the module system files and found that Non-player Agents are given AI flags when spawn. Are they what determine their behaviours in Missions?
    Thank you for your time!!
  8. Quick Questions - Quick Answers Thread

    Is there anything I can do to get the "Bear" height available for my character? (Like Uhtred the Saxon, Clovis and the berserkir)
后退
顶部 底部