banners, flags

正在查看此主题的用户

sepanol

Recruit
i wanna add new banners , both to my lords and for me to have available when choosing banners

I couldnt find what to change, i added them in banners.brf , i added 20 more mesh to meshes.py (g01--g20)
but i dont know how to activiate and use in game,

i would appreciate any help
 
I listed all of the modules that you will need to edit here.

A liitle more details on the presentation pages here (the last bit in the post).
 
thanks , i actually figured out most part by myself,

but now im trying to find how to give banners to specific parties,

for example i will create a party, one hero and some troops (ranging between like 50-100) , its like a bandit party without bandit behaviour, just will give problem to one specific faction

but i dont know how to give them banner

also is it possible to give banner to specific lords? or is it random
 
sepanol 说:
but i dont know how to give them banner

also is it possible to give banner to specific lords? or is it random
[list type=decimal]
[*](party_set_banner_icon, ":party_no", "icon_banner_whatever"),
[*](troop_set_slot, ":troop_no", slot_troop_banner_scene_prop, "spr_banner_whatever"),
[/list]
 
The first should be done after the party is spawned. The second should be done in the beginning of the game, script_game_start for example after the Native code that randomly assigns banners.
 
there is one problem, which doesnt make sense for me,

the party i created is a spawn point for a group,

party template is one hero, and a group of soldiers,

and i set new faction for them

so i should set the banner for the faction? for party? or for troop?
 
In that case, set the troop's banner slot, and look at how it's done in script_create_kingdom_hero_party to have it set up for you.
 
后退
顶部 底部