Jump to content


Photo

New Lairs


  • Please log in to reply
2 replies to this topic

#1 [OoM]TheNazgul

[OoM]TheNazgul
  • Members
  • 54 posts
  • Projects:Inside The Battle:Mod

Posted 18 September 2005 - 05:54 AM

Ok for our mod we want to add in some new lairs but we are unsure how to add/code them in we want to make a new lair that has ranger tents around it and a couple rangers walking around how would we do that?

we also want one where we have a farm with some peasents around (we want new peasents some with pitchforks and some with torches)

we want a couple more suggestions on new lairs such as this to add but we would also like some help on this.

if you think you could help us pls post here or pm me.
Posted Image

His Infernal Majesty

#2 ched

ched

    .

  • Undead
  • 4,431 posts
  • Location:Angers (France)
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member
  • Division:BFME
  • Job:Previous Division Leader

Posted 18 September 2005 - 09:21 AM

here is the lair code :

Object CaveTrollLair
for example

it looks like a normal building, but has 2 behavior that make it differ :

Behavior = CreateObjectDie ModuleTag_MakeLoadsOfTreasure
  CreationList 	 = OCL_SpawnLairTreasure
	End

this spawns the treasure when the lair is taken out

and this makes sure there are always creep coming out randomly of it :

Behavior = SpawnBehavior ModuleTag_Spawn
  SpawnNumber    = 1
  InitialBurst 	 = 1
  SpawnTemplateName  = CaveTroll_Slaved
  SpawnReplaceDelay  = 120000
	End

note the CaveTroll_Slaved

this troll has a behavior which states :

Behavior = SlavedUpdate ModuleTag_Slave
  GuardMaxRange  = 250
  GuardWanderRange	= 30
	End

now you can create your lairs
Software is like sex; it's better when it's free ~Linus Torvald

#3 [OoM]TheNazgul

[OoM]TheNazgul
  • Members
  • 54 posts
  • Projects:Inside The Battle:Mod

Posted 18 September 2005 - 06:24 PM

Thx alot ched

that was very helpfull.
Posted Image

His Infernal Majesty




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users