Zica的最近内容

  1. Zica

    How do you have a child in warband?

    Oskatat 说:
    While I don't see much progress on this, maybe a mod or solution or whatever has been found over at the warband section of the forums?

    Not that I don't enjoy the fact that someone is still posting in the original M&B area, but it's slightly off-topic and the chance that everyone from warband who could help actually checks here is small

    Considering the games are very much the same, being a bit off topic doesn't matter as much in terms of it could also be added to M&B and not just Warband. but yeah, it is a bit off topic and not many people check unless they do a massive forum search like i did to find this page.
  2. Zica

    How do you have a child in warband?

    Flaming Eyes 说:
    @cocoman213: Errr, have you tried...

    Alright, no, you can't. However, it would be very interesting to mod it. I am pretty sure it can be moded, one way or another. Though, I have no idea how to mod it.

    I think i could mod it in, i have modded a lot of games but it would take a lot of concentration which i kind of lack.
    mildly_evil_genius 说:
    To go along with child implementing, the addition of advanced medieval politics would be nice.  For the aging process I would say that another feature I've been thinking of would be nice as well:  letting large amounts of time pass.  If you've got a regular income and large enough garrisons it should just go however many years the player wishes with a few small calculated territorial changes happening.  If garrisons or income level are not enough, the time passing interrupts and requires that you fix it or experience the consequences such as bankruptcy and losing everything you've got other than what's on your character/companions.

    There is a small chunk of code in the module_scripts.py i found that could be potentially modified to work for the aging.


    插入代码块:
    #This is probably unnecessarily complicated, but can support a multi-generational mod
    	("age_troop_one_year",
        [
    	(store_script_param, ":troop_no", 1),
    
    	(troop_get_type, ":is_female", ":troop_no"),
    	
    	(troop_get_slot, ":age", ":troop_no", slot_troop_age),
    	(troop_get_slot, ":appearance", ":troop_no", slot_troop_age_appearance),
    	
    	(val_add, ":age", 1),
    	(store_random_in_range, ":addition", 1, 5),
    
    	(try_begin),
    		(eq, ":is_female", 1),
    #		(val_add, ":addition", 2), #the women's age slider seems to produce less change than the male one - commented out: makes women look too old.
    	(try_end),
    	
    	(val_add, ":appearance", ":addition"),
    	(try_begin),
    		(gt, ":age", 45),
    		(store_attribute_level, ":strength", ":troop_no", ca_strength),
    		(store_attribute_level, ":agility", ":troop_no", ca_agility),
    		(store_random_in_range, ":random", 0, 50), #2% loss brings it down to about 36% by age 90, but of course can be counteracted by new level gain
    		(try_begin),
    			(lt, ":random", ":strength"),
    			(troop_raise_attribute, ":troop_no", ca_strength, -1),
    		(try_end),
    		(try_begin),
    			(lt, ":random", ":agility"),
    			(troop_raise_attribute, ":troop_no", ca_agility, -1),
    		(try_end),
    	(try_end),
    
    	(val_clamp, ":appearance", 1, 100),
    	
    	(troop_set_slot, ":troop_no", slot_troop_age, ":age"), 
    	(troop_set_slot, ":troop_no", slot_troop_age_appearance, ":appearance"), 
    	(troop_set_age, ":troop_no", ":appearance"),
    	]),
后退
顶部 底部