Difference between revisions of "BuildingFactions"

From The Battle for Wesnoth Wiki
m
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:
  
 
Before creating a faction think of the following things:
 
Before creating a faction think of the following things:
* Do you have enough units( leaders, tankers, meele, ranged, magic, healer )?
+
* Do you have enough units (leaders, tankers, melee and ranged units, magic unit, healer...)?
 
* What is the story of your faction?
 
* What is the story of your faction?
* Why do you want to create a faction?(If there is no reason you shouldnt spend too much time on it)
+
* Why do you want to create a faction? (If there is no reason you shouldn't spend too much time on it)
 
* What era does the Faction contain to?
 
* What era does the Faction contain to?
  
Line 31: Line 31:
  
 
If you use this faction in a MP-Scenario the given keys will overwrite the keys of the side tag.
 
If you use this faction in a MP-Scenario the given keys will overwrite the keys of the side tag.
 +
 +
 +
Created by Thvk([[User talk:Thvk|talk]])

Latest revision as of 18:32, 9 September 2022

Theorie

Before creating a faction think of the following things:

  • Do you have enough units (leaders, tankers, melee and ranged units, magic unit, healer...)?
  • What is the story of your faction?
  • Why do you want to create a faction? (If there is no reason you shouldn't spend too much time on it)
  • What era does the Faction contain to?

If you meet all points up there it is time to create your faction. Choose some of your units that fits together(same race, lives near together) and give them a name.


Praxis

Coding a Faction is not so different from writing a side in a scenario. A typical faction looks like this:

 #textdomain wesnoth-YourEra
 [multiplayer_side]
     id=aliens
     name= _"Aliens"
     image="units/aliens/great_alien.png"
     type=random
     leader=Great Alien, Alien Leader
     random_leader=Alien Leader
     recruit= Alien Worker, Alien Scout, Alien Fighter
     description="Aliens"
     [ai]
         recruitment_pattern=fighter,archer,healer,scout
     [/ai]
 [/multiplayer_side]

If you use this faction in a MP-Scenario the given keys will overwrite the keys of the side tag.


Created by Thvk(talk)

This page was last edited on 9 September 2022, at 18:32.