Jump to content


Photo

adding a new faction in bfme2 help.


  • Please log in to reply
10 replies to this topic

#1 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 12 March 2006 - 04:44 PM

i have added a new faction to bfme2, but i have had a problem. For some reason the new factions fortress doesnt start, so u lose instaintly. There r know guides round at the moment, so i was adding the faction how i would of done in bfme1. So is there something exstra u have to do to make the fortress appear in bfme2?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#2 Rockon12

Rockon12
  • Project Team
  • 197 posts
  • Location:United States
  • Projects:Age of Elves, Galaxy at War

Posted 13 March 2006 - 02:38 AM

I'm not sure about this, but from what I've read around the forums, I don't think anyone has figured out how to add more than 6 factions yet, and they probably won't before EA releases some modding tools.
Posted Image

#3 Kelso

Kelso

    BFME Admin

  • Project Team
  • 1,467 posts
  • Projects:Rise of Rome, Rise of Rome 2
  •  AWD and T3A Team Chamber Leader
  • Division:BFME
  • Job:Designer: Rise of Rome 1 and 2

Posted 13 March 2006 - 03:36 AM

The modding tools EA is going to release won't help much in the way of coding stuff.

I don't know of anyone who has tried to add an additional side, so obviously I haven't heard of people having problems with it. Not sure what should be so hard about it though.
Posted Image
Posted Image

#4 Rockon12

Rockon12
  • Project Team
  • 197 posts
  • Location:United States
  • Projects:Age of Elves, Galaxy at War

Posted 13 March 2006 - 03:42 AM

Haha, Kelso, you're the one who I read that from:

The issue goes deeper than that. Because you can view all your stats per faction within the game menu, all 6 sides need to be filled. The issue comes with them being playable, not with their existence.


From the RoR 2 Forums.

Maybe I just misunderstood and you can't have LESS than 6 factions, but you can have more.
Posted Image

#5 Kelso

Kelso

    BFME Admin

  • Project Team
  • 1,467 posts
  • Projects:Rise of Rome, Rise of Rome 2
  •  AWD and T3A Team Chamber Leader
  • Division:BFME
  • Job:Designer: Rise of Rome 1 and 2

Posted 13 March 2006 - 03:43 AM

That is what I meant yes.

And this issue stems from BFME1 and is not new to BFME2. 95% of the errors we got with people trying to use RoR1 was because we had disabled 2 of the playable factions.
Posted Image
Posted Image

#6 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 13 March 2006 - 11:20 AM

I had the faction ingame and everything, im pretty sure ive just made a mistake. I cant find where u set what fortress u want the new faction to start with.
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#7 Bart

Bart

  • Network Admins
  • 8,524 posts
  • Location:The Netherlands
  • Division:Revora
  • Job:Network Leader

Posted 13 March 2006 - 01:54 PM

in playertemplate there is 'StartingBuilding = ElvenFortress' or something like that. However, ElvenFortress isn't the fortress itself, but it's more like a camo p flag. it automatically unpacks the base, and the base contains the real fortress and it's expansion plots.

have you created a new base? or have you just used an existing fortress
bartvh | Join me, make your signature small!
Einstein: "We can’t solve problems by using the same kind of thinking we used when we created them."

#8 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 13 March 2006 - 03:12 PM

no ive use motws fortress for now.
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#9 Bart

Bart

  • Network Admins
  • 8,524 posts
  • Location:The Netherlands
  • Division:Revora
  • Job:Network Leader

Posted 13 March 2006 - 04:29 PM

then this is the code that you have to change:

Behavior = CastleBehavior ModuleTag_castle
		CastleToUnpackForFaction	= Men Fortress_Men
		CastleToUnpackForFaction	= Elves Fortress_Men
		CastleToUnpackForFaction	= Dwarves Fortress_Men		
		CastleToUnpackForFaction	= Wild Fortress_Men
		CastleToUnpackForFaction	= Isengard Fortress_Men
		CastleToUnpackForFaction	= Mordor Fortress_Men

		FilterValidOwnedEntries = ANY +STRUCTURE +WALK_ON_TOP_OF_WALL +BASE_FOUNDATION +TACTICAL_MARKER	;Anything that does not fit this filter will be given to the neutral player, so the template can have rocks and props.

		MaxCastleRadius				= 130.0
		InstantUnpack				= Yes		
		KeepDeathKillsEverything	= Yes

		EvaEnemyCastleSightedEvent = EnemyFortressSighted
	End

this module is in the MenFortress object. notice how it doesnt contain any reference to your new faction
bartvh | Join me, make your signature small!
Einstein: "We can’t solve problems by using the same kind of thinking we used when we created them."

#10 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 13 March 2006 - 05:39 PM

solved :huh: thanks
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#11 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 09 April 2006 - 04:00 PM

sorry for reserecting an old topic but, i have now made my own fortress.ini for the new faction.
but i have the same problem

Behavior = CastleBehavior ModuleTag_castle
CastleToUnpackForFaction = Men Fortress_Rohan
CastleToUnpackForFaction = Elves Fortress_Rohan
CastleToUnpackForFaction = Dwarves Fortress_Rohan
CastleToUnpackForFaction = Wild Fortress_Rohan
CastleToUnpackForFaction = Isengard Fortress_Rohan
CastleToUnpackForFaction = Mordor Fortress_Rohan
CastleToUnpackForFaction = Rohan Fortress_Rohan

this is all ive done, and u mentioned something else id have to do, what is that?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users