Author Topic: Guild of craftsmen  (Read 52284 times)

0 Members and 1 Guest are viewing this topic.

Waihti

  • Moderator
  • *
  • Diplomacy Grandmaster
    • View Profile
  • Faction: Vaegir
  • WB
Guild of craftsmen
« on: May 26, 2010, 01:08:07 PM »
=================================
CONTENTS:

1. How to use Diplomacy in your own mods
2. How to merge Diplomacy with other mods
3. Tools

=================================

1. How to use Diplomacy in your own mods

Download the sources here.

If you are planning to integrate Diplomacy into your own mod and you have any questions or problems this is the right place for you.

If you're going to use Diplomacy in your mod, give credit and include a link leading to About Diplomacy:mrgreen: In addition it would be nice if you tell me so I can add your mod to the list of mods using Diplomacy.

Diplomacy may not be used in a commercial mod without authorisation!

Diplomacy is build with the module system. Inside the folder "Diplomacy_v1.xbeta", there is a "sources" folder which contains the .py files for modders. In each source file added or changed code is enclosed between

Code: [Select]
##diplomacy begin
...
##diplomacy end

All Diplomacy code elements have the common prefix
Code: [Select]
dplmc
Changed files (2.5)

module_constants.py
module_dialogs.py
module_game_menus.py
module_info.py
module_party_templates.py
module_presentations.py
module_scripts.py
module_simple_triggers.py
module_string.py
module_triggers.py
module_troops.py
module_items.py
module_meshes.py

Details about troops.txt, party_templates.txt and items_kind1.txt (2.5)

troops.txt:
Added 'trp_dplmc_chamberlain', 'trp_dplmc_constable', 'trp_dplmc_chancellor', 'trp_dplmc_messenger', 'trp_dplmc_recruiter'

party_templates.txt:
Added 'pt_dplmc_spouse', 'pt_dplmc_gift_caravan', 'pt_dplmc_recruiter'

items_kinds1.txt:
Added 'itm_dplmc_coat_of_plates_red_constable'

2. How to merge Diplomacy with other mods

If you were able to merge Diplomacy with another mod, please post your solution here, so I can add it to this post and other players can follow it.

3. Tools

WinMerge for merging
« Last Edit: September 24, 2011, 03:11:51 PM by Waihti »


Download Diplomacy v4.x for 1.143 here

Possut

  • Veteran
  • *
    • View Profile
  • Faction: Bandit
  • WB
Re: Guild of craftsmen
« Reply #1 on: May 26, 2010, 03:21:04 PM »
Do you have hessuu's Recruiter mod implemented? If so, that's awesome

Waihti

  • Moderator
  • *
  • Diplomacy Grandmaster
    • View Profile
  • Faction: Vaegir
  • WB
Re: Guild of craftsmen
« Reply #2 on: May 26, 2010, 03:28:34 PM »
Do you have hessuu's Recruiter mod implemented? If so, that's awesome

Yes it's implemented in 1.9beta (with minor changes) and accessible via the constable.


Download Diplomacy v4.x for 1.143 here

Possut

  • Veteran
  • *
    • View Profile
  • Faction: Bandit
  • WB
Re: Guild of craftsmen
« Reply #3 on: May 26, 2010, 03:29:17 PM »
Do you have hessuu's Recruiter mod implemented? If so, that's awesome

Yes it's implemented in 1.9beta (with minor changes) and accessible via the constable.

Awesome!

skullknight

  • Recruit
  • *
    • View Profile
  • Faction: Nord
Re: Guild of craftsmen
« Reply #4 on: May 26, 2010, 09:11:48 PM »
does this works with eagle and the radiant cross ?? if yes should i backup my original TETARC file ?? which file should I backup ??

sorry too many question
cheers :D

Waihti

  • Moderator
  • *
  • Diplomacy Grandmaster
    • View Profile
  • Faction: Vaegir
  • WB
Re: Guild of craftsmen
« Reply #5 on: May 26, 2010, 09:40:47 PM »
does this works with eagle and the radiant cross ?? if yes should i backup my original TETARC file ?? which file should I backup ??

sorry too many question
cheers :D

Eagle and the radiant cross is a mount&blade mod, right? This is a mount&blade warband mod, so it won't work.


Download Diplomacy v4.x for 1.143 here

skullknight

  • Recruit
  • *
    • View Profile
  • Faction: Nord
Re: Guild of craftsmen
« Reply #6 on: May 26, 2010, 09:47:52 PM »
does this works with eagle and the radiant cross ?? if yes should i backup my original TETARC file ?? which file should I backup ??

sorry too many question
cheers :D

Eagle and the radiant cross is a mount&blade mod, right? This is a mount&blade warband mod, so it won't work.

yes, but there's warband version and i'm using that and I'm playing warband not M&B

Waihti

  • Moderator
  • *
  • Diplomacy Grandmaster
    • View Profile
  • Faction: Vaegir
  • WB
Re: Guild of craftsmen
« Reply #7 on: May 26, 2010, 09:51:57 PM »
does this works with eagle and the radiant cross ?? if yes should i backup my original TETARC file ?? which file should I backup ??

sorry too many question
cheers :D

Eagle and the radiant cross is a mount&blade mod, right? This is a mount&blade warband mod, so it won't work.

yes, but there's warband version and i'm using that and I'm playing warband not M&B

Ok. Since the mod seems to change code beside troops and items you will have to merge the sources which won't easy for someone without experience. And I don't know what a TETARC file is.


Download Diplomacy v4.x for 1.143 here

skullknight

  • Recruit
  • *
    • View Profile
  • Faction: Nord
Re: Guild of craftsmen
« Reply #8 on: May 26, 2010, 09:54:29 PM »
does this works with eagle and the radiant cross ?? if yes should i backup my original TETARC file ?? which file should I backup ??

sorry too many question
cheers :D

Eagle and the radiant cross is a mount&blade mod, right? This is a mount&blade warband mod, so it won't work.

yes, but there's warband version and i'm using that and I'm playing warband not M&B

Ok. Since the mod seems to change code beside troops and items you will have to merge the sources which won't easy for someone without experience. And I don't know what a TETARC file is.

which file should I backup & merge with TETARC file??

Waihti

  • Moderator
  • *
  • Diplomacy Grandmaster
    • View Profile
  • Faction: Vaegir
  • WB
Re: Guild of craftsmen
« Reply #9 on: May 26, 2010, 10:03:04 PM »
Ok. Since the mod seems to change code beside troops and items you will have to merge the sources which won't easy for someone without experience. And I don't know what a TETARC file is.

which file should I backup & merge with TETARC file??

Did you read my answer? I don't know what a TETARC file is! Since I don't know anything about Eagle and the radiant cross you better ask the makers of the mod.


Download Diplomacy v4.x for 1.143 here

Delaurn

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Guild of craftsmen
« Reply #10 on: May 26, 2010, 10:44:13 PM »
I use the mod 81 New Units ( http://forums.taleworlds.com/index.php/topic,106125.0.html ) and i want to know how do i add the 'trp_chamberlain', 'trp_constable' and the 'trp_recruiter' because i'm not really a modder  :? ? Did i just put it like this at the end of troops.txt?

Waihti

  • Moderator
  • *
  • Diplomacy Grandmaster
    • View Profile
  • Faction: Vaegir
  • WB
Re: Guild of craftsmen
« Reply #11 on: May 26, 2010, 11:42:19 PM »
I use the mod 81 New Units ( http://forums.taleworlds.com/index.php/topic,106125.0.html ) and i want to know how do i add the 'trp_chamberlain', 'trp_constable' and the 'trp_recruiter' because i'm not really a modder  :? ? Did i just put it like this at the end of troops.txt?

You also have to increment the counter at the top of the troops.txt. Other than that it should work. You can't use the optional simple trigger though.


Download Diplomacy v4.x for 1.143 here

Delaurn

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Guild of craftsmen
« Reply #12 on: May 27, 2010, 01:25:47 AM »
Can you tell me how do i do this?

Waihti

  • Moderator
  • *
  • Diplomacy Grandmaster
    • View Profile
  • Faction: Vaegir
  • WB
Re: Guild of craftsmen
« Reply #13 on: May 27, 2010, 09:42:12 AM »
Can you tell me how do i do this?

Edit troops.txt with your text editor. Add the missing diplomacy troops (currently: 'trp_chamberlain', 'trp_constable', 'trp_recruiter'
). After that go to the second line in the file and add the number of added diplomacy troops (currently 3) to the number you see in that line.


Download Diplomacy v4.x for 1.143 here

Bland Jester

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: Guild of craftsmen
« Reply #14 on: May 27, 2010, 05:37:00 PM »
Ok. Since the mod seems to change code beside troops and items you will have to merge the sources which won't easy for someone without experience. And I don't know what a TETARC file is.

which file should I backup & merge with TETARC file??

Did you read my answer? I don't know what a TETARC file is! Since I don't know anything about Eagle and the radiant cross you better ask the makers of the mod.

well, it should be TEATRC which is just the abbreviation for 'the Eagle and the Radiant Cross', if that's what caused some of confusion, so the TEATRC file should refer to the actual files in the /modules/TEATRC folder and i think the answer to that should be the files listed in the first post. TEATRC comes as an .exe and without proper programming experience you can't merge the above files into it.