Author Topic: I fucked up.  (Read 1510 times)

0 Members and 1 Guest are viewing this topic.

FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
I fucked up.
« on: November 20, 2008, 07:54:29 PM »
 :oops:

I was messing about a bit, and I wanted Harlaus (because of his banner) to rule the renamed Rhodoks, so I swapped his id (Kingdom_1_Lord, I think) with that of Graveth, trying to make graveth ruler of the Swadians for a change. However, that didn't have effect, so I swapped the names of the factions in the Factions.py thingy and now Renamed Harlaus is still lord over the Swadians, but a vassal of Renamed Graveth, while Renamed Graveth rules the Rhodok but he is a vassal of Renamed Graveth.  :lol:

Smart me also forgot to make a back-up to my factions.py, so I don't know how to undo it. Can anyone help?
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)

HardCode

  • Sergeant Knight at Arms
  • *
  • Return of Rosario Dawson
    • View Profile
  • Faction: Bandit
Re: I fucked up.
« Reply #1 on: November 20, 2008, 07:59:51 PM »
Just recopy the file module_factions.py from the module system you downloaded?
"You can please some of the people some of the time, but you can ban all of the people all of the time too" - Archonsod


FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
Re: I fucked up.
« Reply #2 on: November 20, 2008, 08:02:08 PM »
So I'll have to redownload the Module system, then? Okay.
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)

ealabor

  • Grandmaster Knight
  • *
  • Faction: Carthage
    • View Profile
    • Hegemony 268 B.C.
  • Faction: Neutral
  • WB
Re: I fucked up.
« Reply #3 on: November 20, 2008, 08:02:43 PM »
well you could always just download the mod.sys again, and copy / paste those specific lines back in. Thats if you have done any changes to other parts of those files which you want to keep.

If you havent, then just simply paste over with the entire folder.

bit of advice:

Never close your .py files until you are absolutely certain you are satisfied with working changes you have, so this way you can just undo all the specific changes you have done.

That also helps to find any accidents you might have typed in which could cancel a compile, such as off letters, or commas, or brackets etc.

HardCode

  • Sergeant Knight at Arms
  • *
  • Return of Rosario Dawson
    • View Profile
  • Faction: Bandit
Re: I fucked up.
« Reply #4 on: November 20, 2008, 08:03:14 PM »
If you deleted the .zip file you downloaded, then yes. There is no reason not to keep a copy of an untouched module system.
"You can please some of the people some of the time, but you can ban all of the people all of the time too" - Archonsod


FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
Re: I fucked up.
« Reply #5 on: November 20, 2008, 08:24:40 PM »
Awesome, thanks. :D I'll be more careful and make and keep more back-ups.

Is there any way to swap banners between lords, though? That was mostly what I was trying to achieve. :roll:
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)

HokieBT

  • Grandmaster Knight
  • *
  • may the force be with you
    • View Profile
  • Faction: Neutral
Re: I fucked up.
« Reply #6 on: November 20, 2008, 09:20:05 PM »
Is there any way to swap banners between lords, though? That was mostly what I was trying to achieve. :roll:

well, lots of options...
1) edit banner_a.dds with an image editor and swap their banners
2) use BRFEdit to rename their banner mesh's
3) edit module_meshs.py and switch the mesh names for their banner
4) see if commands like "party_set_banner_icon" would help or edit where the banners are assigned in module_scripts.py
http://forums.taleworlds.net/index.php/topic,49473.msg1279620.html#msg1279620
« Last Edit: November 20, 2008, 09:22:24 PM by HokieBT »
 

FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
Re: I fucked up.
« Reply #7 on: November 21, 2008, 12:14:09 PM »
Thanks, I'll try that as soon as I'm home. :D

Edit: It worked, thanks a lot!  :D
« Last Edit: November 21, 2008, 09:34:21 PM by FrisianDude »
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)

FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
Re: I fucked up.
« Reply #8 on: November 22, 2008, 06:17:42 PM »
Double post because I have another question.

Does anyone know how I can add these shields ingame?

I couldn't find them in the Item Editor.
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)

Ruthven

  • Revs lil' helper
  • Grandmaster Knight
  • *
  • crushie crushie crushie
    • View Profile
  • Faction: Neutral
  • MP nick: irc://Ruthven
Re: I fucked up.
« Reply #9 on: November 22, 2008, 07:06:48 PM »
They're already in, but you need the module system to get them.

Go to the shields section and get rid of all the "#"s before the shields.

FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
Re: I fucked up.
« Reply #10 on: November 22, 2008, 08:01:44 PM »
Aha, thanks, I never would have tought of that.

Aw man, I did that, but I still don't know how to give them to troops. :lol:
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)

Ruthven

  • Revs lil' helper
  • Grandmaster Knight
  • *
  • crushie crushie crushie
    • View Profile
  • Faction: Neutral
  • MP nick: irc://Ruthven
Re: I fucked up.
« Reply #11 on: November 22, 2008, 08:26:46 PM »
What? Just go to module_troops, find the troop you want to give it to and type in the shield's ID name. (I think that the IDs for those are kite_shields g through k, so what you do is type "itm_kite_shield_g" or "itm_kite_shield_k".)

FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
Re: I fucked up.
« Reply #12 on: November 23, 2008, 01:27:37 PM »
Again, I never would have tought of that. I'll try to be a bit sharper.  :P
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)

FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
Re: I fucked up.
« Reply #13 on: November 25, 2008, 10:57:48 PM »
After looking over dindi's explanation again, I noticed I missed (else_try) somewhere, and now things did change in my faction list:






Anybody see what I did wrong? :oops:

Edit:

I fucked up some more I tried to change Lady Brina's defense gear, but I ended up with no changes to Brina and replacements for all  the lords in the custom battles! (Lord Delinard in stead of Haringoth, Lord Knudarr in the siege assault : )
« Last Edit: November 26, 2008, 09:53:26 PM by FrisianDude »
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)