
Bustah 说:Thanks heaps! Would you also happen to know where to change the speed penalty for when a horse hits a player? Like make it such that the horse doesn't come nearly to a stop every time it hits a player? Cavalry charges are currently worthless.
Khamukkamu 说:Was studying the VC module_troops.py for inspiration re: troop balancing (as I've been recently contemplating it), and found that all the lords have the same stats: lord_attrib,wp(380),knows_lord_1,
I am wondering what the reasoning behind this is. I like the idea, and I think it makes sense. However, I'd like to know if there was any other reason other than consistency, if any VC dev could reply![]()
Thanks in advance.
Khamukkamu 说:the wrong thread (VC Q&A Thread)
kalarhan 说:Khamukkamu 说:the wrong thread (VC Q&A Thread)
VC devs are more likely to see it here https://forums.taleworlds.com/index.php/topic,347990.0.html. You can also try PM @motomataru
Khamukkamu 说:lol strike 2! Thanks!
JuJu70 说:I did the faction troop balancing (they all had the similar proficiency initially, just like lords) including equipment. I wanted to randomize lord attributes too, but that was a minor thing and eventually went on a back-burner since there were more important things to do. So there is no reason for them to have the same attributes, they were just copy-pasted
kalarhan 说:anyway one of the dev that worked on the DLC replied
JuJu70 说:I did the faction troop balancing (they all had the similar proficiency initially, just like lords) including equipment. I wanted to randomize lord attributes too, but that was a minor thing and eventually went on a back-burner since there were more important things to do. So there is no reason for them to have the same attributes, they were just copy-pasted
And 8 different people trying to tell you what your priority should be.kalarhan 说:
Ruthven 说:If any lord has a single misplaced stat I doubt they'd ever hear the end of it.![]()
Khamukkamu 说:troop and change the stats
Bustah 说:Hi I am wondering if there is any way to make one party invisible to another.
# Note to modders: Uncomment these if you'd like to use the following.
## #script_game_check_party_sees_party
## # This script is called from the game engine when a party is inside the range of another party
## # INPUT: arg1 = party_no_seer, arg2 = party_no_seen
## # OUTPUT: trigger_result = true or false (1 = true, 0 = false)
## ("game_check_party_sees_party",
## [
## (store_script_param, ":party_no_seer", 1), #party
## (store_script_param, ":party_no_seen", 2), #target
##
## (set_trigger_result, 1),
## ]),

#scouting begin
#scouting script to add implement new scouting mechanics and skills
("scouting",
[
(store_script_param, ":party", 1),
(party_get_skill_level, ":scouting", ":party", skl_scouting),
(party_get_num_companions, ":party_size", ":party"),
(assign, ":scout_range", 2),
(val_div, ":party_size", 50),
(val_add, ":scout_range", ":scouting"),
(try_for_parties,":target_party"),
(this_or_next|party_slot_eq, ":target_party", slot_party_type, spt_kingdom_hero_party),
(this_or_next|party_slot_eq, ":target_party", slot_party_type, spt_village),
(this_or_next|party_slot_eq, ":target_party", slot_party_type, spt_castle),
(party_slot_eq, ":target_party", slot_party_type, spt_town),
(store_distance_to_party_from_party, ":distance", ":target_party", ":party"),
(try_begin),
(le, ":distance", ":scout_range"),
(store_faction_of_party, ":faction", ":party"),
(store_faction_of_party, ":target_faction", ":target_party"),
(store_relation, ":relation", ":faction", ":target_faction"),
(try_begin),
(gt, ":relation", 0),
("game_check_party_sees_party", ":party", ":target_party", 1),
(else_try),
(assign, ":spot_chance", 5),
(party_get_skill_level, ":target_cunning", ":target_party", skl_cunning),
(val_add, ":spot_chance", ":target_cunning"),
(party_get_num_companions, ":target_party_size", ":target_party"),
(val_div, ":target_party_size", 75),
(val_add, ":spot_chance", ":target_party_size"),
(try_for_range, ":curr_try", 0, ":scouting"),
(store_random_in_range, ":rand", 0, ":spot_chance"),
(eq, ":rand", 0),
(call_script, "game_check_party_sees_party", ":party", ":target_party", 1),
(else_try),
(call_script, "game_check_party_sees_party", ":party", ":target_party", 0),
(try_end),
(try_end),
(else_try),
(call_script, "game_check_party_sees_party", ":party", ":target_party", 0),
(try_end),
(try_end),
]),
Bustah 说:Why am I getting a TypeError: %d a number is required not a str?
("game_check_party_sees_party", ":party", ":target_party", 1),