Completely remove a faction from multiplayer?

正在查看此主题的用户

Toasticuss

Sergeant
I've tried numerous times to just remove a faction from the game but it always results with tons of errors.

Is there anyway to just hide the existing factions from appearing in the multiplayer faction selection box?
 
ithilienranger 说:
I'm sorry I think that I gave you misinformation.

Change the begin troops of these in the module_constants.py to the first multiplayer vaegir troops.

插入代码块:
multiplayer_troops_begin = "trp_swadian_crossbowman_multiplayer"
multiplayer_troops_end = "trp_multiplayer_end"

multiplayer_ai_troops_begin = "trp_swadian_crossbowman_multiplayer_ai"
multiplayer_ai_troops_end = multiplayer_troops_begin

However, there may be more that needs changed that I can't tell you about since I don't own Warband.
Try adding the new factions and then change the begin and end troops to only count the new factions.
 
ithilienranger 说:
ithilienranger 说:
I'm sorry I think that I gave you misinformation.

Change the begin troops of these in the module_constants.py to the first multiplayer vaegir troops.

插入代码块:
multiplayer_troops_begin = "trp_swadian_crossbowman_multiplayer"
multiplayer_troops_end = "trp_multiplayer_end"

multiplayer_ai_troops_begin = "trp_swadian_crossbowman_multiplayer_ai"
multiplayer_ai_troops_end = multiplayer_troops_begin

However, there may be more that needs changed that I can't tell you about since I don't own Warband.
Try adding the new factions and then change the begin and end troops to only count the new factions.

Thank you for finding this, but this unfortunately only removes the multiplayer classes from the factions you don't want, it doesnt actually remove the factions from multiplayer  :cry:

You would think somewhere in the constants python file there would be a multiplayer_faction limit but there is not.
 
mr.master 说:
Just look my tutorial on adding factions. Just do the opposite.

No, removing factions from the factions.py file will give you tons of errors and fail to compile.

In the future, posting links to what your referring to instead of thinking users know how to navigate to your profile view your previously made topics search through 4 pages of topics until finding the right one, which I did mind you.
 
mr.master 说:
I meant that look at the whole tutorial. Instead of adding all the stuff it says, remove the stuff.

Can you point me to any direct spot? You dont have the word remove once in your entire topic.
 
I meant that instead off adding all the stuff I say in my tutorial, do the opposite of adding, so delete. Example, when I say, add things to module troops, yo udelet the troops of a faction you dont want to exist.
 
Just replace these with your factions but leave the kingdom_1, kingdom_2, etc. in module_factions.py

插入代码块:
  ("kingdom_1",  "Kingdom of Swadia", 0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0xEE7744),
  ("kingdom_2",  "Kingdom of Vaegirs",    0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0xCCBB99),
  ("kingdom_3",  "Khergit Khanate", 0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0xCC99FF),
  ("kingdom_4",  "Kingdom of Nords",    0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0x33DDDD),
  ("kingdom_5",  "Kingdom of Rhodoks",  0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0x33DD33),
  ("kingdom_6",  "Sarranid Sultanate",  0, 0.9, [("outlaws",-0.05),("peasant_rebels", -0.1),("deserters", -0.02),("mountain_bandits", -0.05),("forest_bandits", -0.05)], [], 0xDDDD33),

Then, in module_troops add fac_kingdom_1-6 for your new troops and delete the old ones.
 
mr.master 说:
I meant that instead off adding all the stuff I say in my tutorial, do the opposite of adding, so delete. Example, when I say, add things to module troops, yo udelet the troops of a faction you dont want to exist.

Yes I know how to remove troop classes, I did it with the constants just fine, if you removed any factions from the factions.py file it will screw up the entire game. Thats the only place I know of where you could modify the factions the game has.....

Do you have skype or any better way of talking?
 
D: I meant If you look at my tutorial, it has several places to modify, not just module factions. You havem module factions, module scripts, module troops, module presentations, module sceneprops etc. In order to delete faction, you have delete everything related to the multiplayer faction from those files. Just look the tutorial and you will understand.
 
mr.master 说:
D: I meant If you look at my tutorial, it has several places to modify, not just module factions. You havem module factions, module scripts, module troops, module presentations, module sceneprops etc. In order to delete faction, you have delete everything related to the multiplayer faction from those files. Just look the tutorial and you will understand.

The only thing relatable is the module factions which is for the entire game, I want to preserve the original factions in single player for the time being and module scripts is where it lists all of the classes for multiplayer and their banners. Module troops allows you to add additional troops to factions which you need to manually add in through the scripts module as well, module presentations and scene props are useless for this problem. The tutorial you have for presentations is for only modifying the banner, scene props speaks for itself.

So unless there is something blatantly obvious I'm not understanding this.

This is all I want to do lol



I've modified the existing factions names of 1 and 2 I just need to remove all the others in multiplayer.
 
Toasticuss 说:
mr.master 说:
D: I meant If you look at my tutorial, it has several places to modify, not just module factions. You havem module factions, module scripts, module troops, module presentations, module sceneprops etc. In order to delete faction, you have delete everything related to the multiplayer faction from those files. Just look the tutorial and you will understand.

The only thing relatable is the module factions which is for the entire game, I want to preserve the original factions in single player for the time being and module scripts is where it lists all of the classes for multiplayer and their banners. Module troops allows you to add additional troops to factions which you need to manually add in through the scripts module as well, module presentations and scene props are useless for this problem. The tutorial you have for presentations is for only modifying the banner, scene props speaks for itself.

So unless there is something blatantly obvious I'm not understanding this.

This is all I want to do lol



I've modified the existing factions names of 1 and 2 I just need to remove all the others in multiplayer.
There are seperate entries for creating multiplayer and singleplayer factions, thus you need to remove the multiplayer entries for the factions. Read the tutorial. IT explains very well what it needs to make a full multiplayer faction. Insteadd of adding the stuff in, you delete the factions entries you want to be gone.
 
mr.master 说:
Toasticuss 说:
mr.master 说:
D: I meant If you look at my tutorial, it has several places to modify, not just module factions. You havem module factions, module scripts, module troops, module presentations, module sceneprops etc. In order to delete faction, you have delete everything related to the multiplayer faction from those files. Just look the tutorial and you will understand.

The only thing relatable is the module factions which is for the entire game, I want to preserve the original factions in single player for the time being and module scripts is where it lists all of the classes for multiplayer and their banners. Module troops allows you to add additional troops to factions which you need to manually add in through the scripts module as well, module presentations and scene props are useless for this problem. The tutorial you have for presentations is for only modifying the banner, scene props speaks for itself.

So unless there is something blatantly obvious I'm not understanding this.

This is all I want to do lol



I've modified the existing factions names of 1 and 2 I just need to remove all the others in multiplayer.
There are seperate entries for creating multiplayer and singleplayer factions, thus you need to remove the multiplayer entries for the factions. Read the tutorial. IT explains very well what it needs to make a full multiplayer faction. Insteadd of adding the stuff in, you delete the factions entries you want to be gone.

I read through your tutorial 4 times now, you can't just remove the factions in MP the way your saying to do it.

Are you saying leave all the factions the same and make brand new ones? How would you hide the originals?

Do you want a copy of my source to prove to me on how to do it lol?
 
Just comment out the factions, and then traceback all the errors and comment those out too.  I've removed a ton of factions from the game.  Just use the compiler to find the errors. 
 
Bolkonsky 说:
Just comment out the factions, and then traceback all the errors and comment those out too.  I've removed a ton of factions from the game.  Just use the compiler to find the errors.

What if I want to save them for SP?
 
后退
顶部 底部