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.
New Lairs
Started by [OoM]TheNazgul, Sep 18 2005 05:54 AM
2 replies to this topic
#1
Posted 18 September 2005 - 05:54 AM
His Infernal Majesty
#2
Posted 18 September 2005 - 09:21 AM
here is the lair code :
it looks like a normal building, but has 2 behavior that make it differ :
this spawns the treasure when the lair is taken out
and this makes sure there are always creep coming out randomly of it :
note the CaveTroll_Slaved
this troll has a behavior which states :
now you can create your lairs
Object CaveTrollLairfor 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
Posted 18 September 2005 - 06:24 PM
Thx alot ched
that was very helpfull.
that was very helpfull.
His Infernal Majesty
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users