搜索结果: *

  • 用户:Tintai
  • 按日期排序
  1. Modding Q&A [For Quick Questions and Answers]

    Somebody 说:
    Tintai 说:
    I have trouble to give merchant my new items.
    插入代码块:
    troop_add_item/troop_add_items
    Oh thanks. Didn't know that is so simple.
  2. Modding Q&A [For Quick Questions and Answers]

    I have trouble to give merchant my new items.
    So I made some new items but I want them only appears in one merchant. "troop_add_merchandise" won't work for item like "itm_...". How can I assign few items to only one merchant?

    I have this:
    插入代码块:
    (store_random_in_range,":new_item", "itm_new_1", "itm_new_5"),
      (troop_clear_inventory, "trp_itm_merchant"),
      (troop_add_merchandise, "trp_itm_merchant", :new_item, 1),
    But it's not working like I want.
  3. Modding Q&A [For Quick Questions and Answers]

    Hm, guys. There is a fix for passages for castles? I mean that in town when you enter for e.g prison and you go back, you spawn in town but in front of the doors of the prison. In castles when you want to go back you spawn at the entry point "0". Like scripts is ignoring entry point that I set in the passage option(entry "8"). There is something that I can do with that?
  4. Modding Q&A [For Quick Questions and Answers]

    Thank you. It works.
  5. Modding Q&A [For Quick Questions and Answers]

    I've added this code to game_menus:
    插入代码块:
    ("get_current_position",[],"Get current position",
           [
    		 (party_get_position, reg0, "p_main_party"),
             (display_message, "@{reg0}", 0x80223167),
            ]
           ),

    Why that isn't work? It shows 0. Or maybe there is a faster way to get current position?
  6. Modding Q&A [For Quick Questions and Answers]

    Thanks I got it!
    But merchant have an empty inventory. 0 dennars and no items. I should add something in scripts but can't find something like "update_merchant_inventory". Found only for village ellder.

    Nvm, got it too :wink:
    插入代码块:
    (troop_add_merchandise, ":cur_merchant", itp_type_goods, 16),
  7. Modding Q&A [For Quick Questions and Answers]

    Guys, how can I add merchant to my own scene?
    I have random merchants on my scene(goods_merchants_begin to goods_merchants_end) but he is saying "Any orders, sir?". Can't make him talk like merchant.
    How it can be done? Scene mission is my own and $talk_context is set to tc_tavern_talk.

    And one more question.
    How I can add a horse to scene? For e.g 24 entry point.
    I was trying (spawn_horse) but game is crashing when entering scene.
    Horse does not have to be mountable.
  8. More mercenaries mod. Problem with dialog code

    Hello, I'm using Floris which have 2 mercenaries at tavern. So I made a mod which adds mercenaries camps to the map and you can walk at the camp and recruit them. Everything is fine but I have problem with module_dialog. I can talk with mercenary, he will tell me about cost etc. But when I...
  9. Adding new mercenaries to new scenes

    Hello guys. Im' new here so I wanna to say Hi :wink: I'm making a simple(I think) mod which adds new scenes - mercenaries camps. So I have some new scenes(activating from menu) and I want to put there 5 mercenaries to recruit - same as in taverns, but more and maybe shorter respawn delay. I...
后退
顶部 底部