Module System for version 0.960

正在查看此主题的用户

armagan

Developer
Hi Everyone,

The module system for version 0.960 can be downloaded from the link below:

http://www.taleworlds.com/download/mb_module_system_0960_0.zip

For porting existing mods to the new version you basically have two alternative methods:

1) Start with the module system for version 0.960 and add your stuff gradually in, or:
2) overwrite module_*.py files of the new version with those from your own module.

The second method is of course much easier, but may potentially lead to some problems, although we tried to maintain compatibility as much as we could.

Happy development!
 
Yes! Back to modding it is.

EDIT: Interesting new music functions and something called add_visitors_to_current_scene? That'll be useful for my custom battle mod.

EDIT 2:

lrep_none          = 0
lrep_martial      = 1 #chivalrous but not terribly empathetic or introspective, - eg Richard Lionheart, your average 14th century French baron
lrep_quarrelsome  = 2 #spiteful, cynical, a bit paranoid, possibly hotheaded - eg Robert Graves' Tiberius, Shakespeare's Richard III
lrep_selfrighteous = 3 #coldblooded, moralizing, often cruel - eg William the Conqueror, Timur, Octavian, Aurangzeb (although he borders on upstanding)
lrep_cunning      = 4 #coldblooded, pragmatic, amoral - eg Louis XI, Guiscard, Akbar Khan, Abd al-Aziz Ibn Saud
lrep_debauched    = 5 #spiteful, amoral, sadistic, - eg Caligula, Tuchman's Charles of Navarre
lrep_goodnatured  = 6 #chivalrous, benevolent, perhaps a little too decent to be a good warlord - eg Hussein, poss Ranjit Singh (although roguish), Humayun
lrep_upstanding    = 7 #moralizing, benevolent, pragmatic, - eg Bernard Cornwell's Alfred, Charlemagne, Sher Shah Suri

Looks to be an interesting addition, hopefully it'll be in the final version if it's not in the current one.
 
Finally! We can start getting some ports from .903 to .960, happy days indeed. Thank you Armagan, you certainly kept that under your hat!
 
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
I'm happy now.
 
there are 83 new operations  in header_operations.py,  maybe we should take some time to learn those first .....
 
What the hell?
Everytime I run build module I get a load of text files in my module folder. What is it that I need to change here? Is it the module info stuff that needs a different line?
Oh wait with my awesome brain power I have figured out that this is becuase the new version needs new kinds of text files. Clever me :wink:
Now how long till I get proven wrong :grin:
Erm ok so I might have been proven wrong. Is it supposed to create lots of text file I already have and dump them in the modules folder instead of The lords of the wight folder?
 
Great stuff. Also haven't looked at the module system files, but is the item limit increased?
 
后退
顶部 底部