搜索结果: *

  1. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    @the_dragon
    @Lumos
    Thanks, got it working now. But my next problem is assigning values to branching upgrade paths. It seems the reg0 value assigns the same value to both branches in the upgrade path.
  2. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    Hi, I can't seem to get the game_get_upgrade_cost to change the upgrade cost of specific units. To test this I tried to change the upgrade to Swadian Militia to 500 denars with this code:

    插入代码块:
    ("game_get_upgrade_cost",
    	[
    	(store_script_param_1, ":troop_id"),
    	
    	(try_begin),
    		(eq, "troop_id", "trp_swadian_militia"),
    		(assign, reg0, 500)
    	(try_end),

    However it'd seem like the script to calculate cost based on level overrides this. What am I doing wrong?
  3. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    Alright, I've got Diplomacy Module System up and running. However, when I build the module I get a:

    "WARNING: local variable never used"
    "WARNING: variable name used for both local and global contexts" and an
    "ERROR: output token not found"

    These are expectedly all in the scripts.py, I'd like to be pointed in the general direction on what these errors mean and how to fix them, so I can do a bit of learning without too much spoonfeeding.  :smile:
  4. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    Lord of Shadows 说:
    You can use this: https://forums.taleworlds.com/index.php/topic,324014.0.html

    Well, aren't I an idiot for not seeing this. Thanks so much!
  5. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    Lord of Shadows 说:
    Vorchevorsk 说:
    It is a few thousand lines of code from Diplomacy. I guess I could use the Diplo Modsys as a base, but the beginner guides say that Lav's is good. Guess it's the tedious route for me  :???:

    It's easier to add Lav's tweaks into Diplomacy source than vice versa. So you could do that.

    Would that work though? Lav's ModSys is for a newer version of Warband than what the Diplo Source supports.
  6. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    erennuman_mb 说:
    Vorchevorsk 说:
    I'm using Lav's tweaked Modsys.
    What's that? :eek:

    https://forums.taleworlds.com/index.php?topic=324874.0

    Quintillius 说:
    ^
    You'd better check how many lines you need to copy/paste. Last time I checked I saw about thousands of scripting lines. The best way is to start a new mod using Diplomacy as base. Can you easily copy/paste your own stuff to Diplomacy?

    It is a few thousand lines of code from Diplomacy. I guess I could use the Diplo Modsys as a base, but the beginner guides say that Lav's is good. Guess it's the tedious route for me  :???:
  7. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    Antonis 说:
    It's easy enough. Provided you have another mesh for it, you just replace it in the py. file. Or even in the text file. Polished Landscapes mod have two separate projectiles, flying_arrow and flying_bolt, if you want to use that. It's very good.  :smile:

    Thanks for this.

    On a completely separate note:

    I'm trying to incorporate Diplomacy into my mod, I'm using Lav's tweaked Modsys. Do I paste all the "##diplomacy" and its variables onto the relevant .py files of my Modsys or is there an easier way than what I'm already doing?

    Thanks!
  8. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    How do I set a weapon to use a different projectile other than the default "flying_missile" mesh?
    Is this possible:
    a) using Morgh's Editor?
    b) without triggers?

    Thanks!
  9. Vorchevorsk

    SP Native [WB] Persistent Troop Identities

    Seems like you can't add new troops using Morgh's, the new troops don't equip anything in their inventory. I'm guessing you have to wait for the source?

    Great mod by the way.  :grin:
  10. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    Hello, I can't seem to change NPC lord genders. I'm using Morgh's to edit my Module System and the Module itself in the warband folder. I changed the flags to female and changed the face codes on both the Module System and Troop.txt in the module folder but my Harlaus is still male.

    What am I doing wrong?

    EDIT: I made the noob mistake of not using a new character when I tried to look at it.
  11. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    Redleg 说:
    Are you sure you compiled to the appropriate module?  Have you started a new game?  Did you correctly set up the modmerger system (if you used it to merge?).
    Looking at it now I did use Lav's Tweaked 1.166 module when the Diplo+PBOD are for 1.153, is that's what's causing it?
  12. Vorchevorsk

    Modding Q&A [For Quick Questions and Answers]

    Hello, I can't seem to get the merged PBOD and Diplo to work with my module system. I've followed the readmes and installed WSE and D+PBOD successfully (it compiled without errors) but in-game there's no diplomacy or the new deployment orders.
后退
顶部 底部