Results 1 to 15 of 15

Thread: Mordor and Nazgul.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Mordor and Nazgul.

    Hi. I could do with someone who can code to help me make a submod.

    The idea is to give Mordor 9 Nazgul as their family members and not allow them any others but to make the Nazgul immortal.

    Here is the code that replaces the Mordor section in the descr_strat to put all of the nazgul in the game from the start.

    Spoiler Alert, click show to read: 
    Code:
    ;#################################################################
    ;##########################  MORDOR  ############################# 15600
    ;################################################################# 
    faction	england, balanced smith
    ai_label		 catholic 
    denari	15000
    denari_kings_purse	4600
    settlement castle	;DONE
    {
    	level large_city
    	region Gorgoroth_Province
    
    	year_founded 0
    	population 1600
    	plan_set default_set
    	faction_creator russia
    	building
    	{
    		type core_castle_building citadel
    	}
    	building
    	{
    		type temple_catholic_castle chapel
    	}
    	building
    	{
    		type castle_barracks garrison_quarters
    	}
    	building
    	{
    		type missiles bowyer
    	}
    }
    
    settlement castle	;DONE
    {
    	level large_city
    	region Morgul-Vale_Province
    
    	year_founded 0
    	population 2500
    	plan_set default_set
    	faction_creator denmark
    	building
    	{
    		type core_castle_building citadel
    	}
    	building
    	{
    		type temple_catholic_castle chapel
    	}
    	building
    	{
    		type castle_barracks garrison_quarters
    	}
    	building
    	{
    		type missiles bowyer
    	}
    }
    
    settlement castle	;DONE
    {
    	level town
    	region Gorgoroth-South_Province
    
    	year_founded 0
    	population 1100
    	plan_set default_set
    	faction_creator england
    	building
    	{
    		type core_castle_building wooden_castle
    	}
    	building
    	{
    		type temple_catholic_castle small_chapel
    	}
    	building
    	{
    		type castle_barracks mustering_hall
    	}
    }
    
    settlement castle	;DONE
    {
    	level large_city
    	region Udun_Province
    
    	year_founded 0
    	population 1400
    	plan_set default_set
    	faction_creator portugal
    	building
    	{
    		type core_castle_building citadel
    	}
    	building
    	{
    		type temple_catholic_castle small_chapel
    	}
    	building
    	{
    		type castle_barracks garrison_quarters
    	}
    	building
    	{
    		type missiles bowyer
    	}
    }
    
    settlement castle	;DONE
    {
    	level town
    	region Morgai_Province
    
    	year_founded 0
    	population 1300
    	plan_set default_set
    	faction_creator england
    	building
    	{
    		type core_castle_building wooden_castle
    	}
    	building
    	{
    		type temple_catholic_castle small_chapel
    	}
    	building
    	{
    		type castle_barracks mustering_hall
    	}
    }
    
    settlement	;DONE
    {
    	level town
    	region Orc_Province
    
    	year_founded 0
    	population 1500
    	plan_set default_set
    	faction_creator england
    	building
    	{
    		type core_building wooden_pallisade
    	}
    	building
    	{
    		type temple_catholic small_church
    	}
    	building
    	{
    		type barracks town_watch
    	}
    }
    
    settlement	;DONE
    {
    	level town
    	region East_Gorgoroth_Province
    
    	year_founded 0
    	population 1000
    	plan_set default_set
    	faction_creator england
    	building
    	{
    		type core_building wooden_pallisade
    	}
    	building
    	{
    		type temple_catholic small_church
    	}
    	building
    	{
    		type barracks town_watch
    	}
    }
    
    settlement	;DONE
    {
    	level large_town
    	region Deep-Mirkwood_Province
    
    	year_founded 0
    	population 2100
    	plan_set default_set
    	faction_creator england
    	building
    	{
    		type core_building wooden_wall
    	}
    	building
    	{
    		type temple_catholic small_church
    	}
    	building
    	{
    		type barracks town_guard
    	}
    	building
    	{
    		type c_missiles c_bowyer
    	}
    	building
    	{
    		type hinterland_farms farms
    	}
    }
    
    settlement	;DONE
    {
    	level large_town
    	region Carnen_Province
    
    	year_founded 0
    	population 2500
    	plan_set default_set
    	faction_creator england
    	building
    	{
    		type core_building wooden_wall
    	}
    	building
    	{
    		type temple_catholic church
    	}
    	building
    	{
    		type barracks town_watch
    	}
    	building
    	{
    		type hinterland_farms farms+1
    	}
    	building
    	{
    		type market corn_exchange
    	}
    	building
    	{
    		type taverns brothel
    	}
    }
    
    character	Nazgula, named character, male, leader, age 35, x 290, y 138, portrait nazgul1, battle_model mounted_nazgul, hero_ability The_Heart_of_the_Lion	;gorgoroth
    traits Factionleader 1 , Nazgul 1, LoyaltyStarter 3 , GoodCommander 3 , BattleScarred 2, BattleDread 1 , CaptorDread 1 , GoodAttacker 1 , NightBattleCapable 1
    ancillaries ring_nazgul, king_mordor
    army
    unit		Black Numenorians				exp 3 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Orc Band				exp 1 armour 0 weapon_lvl 0
    unit		Mordor Orcs				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    
    character	Nazgulc, named character, male, heir, age 30, x 273, y 125, portrait nazgul4, battle_model mounted_nazgul, hero_ability The_Heart_of_the_Lion	;morgul-vale
    traits Factionheir 1 , Nazgul 1, LoyaltyStarter 3 , GoodCommander 2 , BattleScarred 3, StrategyDread 1 , GoodAttacker 1 , NightBattleCapable 1
    ancillaries ring_nazgul, troops_mordor_west
    army
    unit		Black Numenorians				exp 2 armour 0 weapon_lvl 0
    unit		Orc Band				exp 1 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Orcs				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    
    character	Nazgulb, named character, age 32, x 298, y 124, portrait nazgul2, battle_model mounted_nazgul
    traits Nazgul 1, LoyaltyStarter 3 , GoodCommander 3 , BattleScarred 2, BattleDread 1 , CaptorDread 1 , GoodAttacker 1 , NightBattleCapable 1
    army
    unit		Black Numenorians				exp 2 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    
    character	Nazgule, named character, age 30, x 273, y 149, portrait nazgul5, battle_model mounted_nazgul
    traits Nazgul 1, LoyaltyStarter 3 , GoodCommander 3 , BattleScarred 1, BattleDread 1 , CaptorDread 1 , GoodAttacker 1 , NightBattleCapable 1
    army
    unit		Black Numenorians				exp 2 armour 0 weapon_lvl 0
    unit		Orc Band				exp 1 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Orcs				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    
    character	Nazgulf, named character, age 34, x 319, y 116, portrait nazgul6, battle_model mounted_nazgul
    traits Nazgul 1, LoyaltyStarter 3 , GoodCommander 3 , BattleScarred 2, BattleDread 1 , CaptorDread 1 , NightBattleCapable 1
    army
    unit		Black Numenorians				exp 2 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    
    character	Nazguld, named character, male, age 42, x 247, y 210, portrait nazgul3, battle_model mounted_nazgul, hero_ability The_Heart_of_the_Lion	;deep mirkwood
    traits Nazgul 1, LoyaltyStarter 3 , GoodCommander 3 , BattleScarred 2, BattleDread 1 , CaptorDread 1 , GoodAttacker 1 , NightBattleCapable 1
    ancillaries ring_nazgul, troops_mordor_north
    army
    unit		Black Numenorians				exp 4 armour 0 weapon_lvl 0
    unit		Orc Band				exp 2 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Orc Band				exp 1 armour 0 weapon_lvl 0
    unit		Mordor Orcs				exp 1 armour 0 weapon_lvl 0
    unit		Mordor Orcs				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Archers				exp 1 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 1 armour 0 weapon_lvl 0
    
    character	Nazgulg, named character, age 38, x 273, y 141, portrait nazgul7, battle_model mounted_nazgul
    traits Nazgul 1, LoyaltyStarter 2 , GoodCommander 3 , BattleScarred 2, BattleDread 1 , CaptorDread 1 , GoodAttacker 1 , NightBattleCapable 1
    army
    unit		Black Numenorians				exp 4 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    
    character	Nazgulh, named character, age 42, x 281, y 135, portrait nazgul8, battle_model mounted_nazgul
    traits Nazgul 1, LoyaltyStarter 3 , GoodCommander 3 , BattleScarred 2, BattleDread 1 , CaptorDread 1 , GoodAttacker 1 , NightBattleCapable 1
    army
    unit		Black Numenorians				exp 4 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Orc Band				exp 1 armour 0 weapon_lvl 0
    unit		Orc Band				exp 0 armour 0 weapon_lvl 0
    unit		Mordor Scouts				exp 0 armour 0 weapon_lvl 0
    
    character	Nazguli, named character, age 48, x 309, y 136, portrait nazgul9, battle_model mounted_nazgul
    traits Nazgul 1, LoyaltyStarter 3 , GoodCommander 3 , BattleScarred 2, BattleDread 1 , CaptorDread 1 , GoodAttacker 1 , NightBattleCapable 1
    army
    unit		Black Numenorians				exp 4 armour 0 weapon_lvl 0
    unit		Orc Band				exp 1 armour 0 weapon_lvl 0
    unit		Mordor Orcs				exp 0 armour 0 weapon_lvl 0
    
    character	Lunmaz, spy, male, age 20, x 275, y 148 
    traits NaturalSpySkill 1 , GoodSpy 1 
    
    character	Gornag, spy, male, age 20, x 245, y 210 
    traits NaturalSpySkill 1 , GoodSpy 1


    And here is my attempt at creating a script that will resurrect missing Nazgul.

    Spoiler Alert, click show to read: 
    Code:
    ;########################## IMMORTAL NAZGULS ##############################
    
    monitor_event FactionTurnStart FactionType england
    	and I_SettlementOwner Gorgoroth = england
    	and not FactionwideAncillaryExists Some Sort of unique Ring
    
    	spawn_army 
    	faction england
    	character	Nazgula, named character, male, leader, age 35, x 290, y 138, portrait nazgul1, battle_model mounted_nazgul, hero_ability The_Heart_of_the_Lion	;gorgoroth
    	traits Factionleader 1 , Nazgul 1, LoyaltyStarter 3 , GoodCommander 3 , BattleScarred 2, BattleDread 1 , CaptorDread 1 , GoodAttacker 1 , NightBattleCapable 1
    	ancillaries ring_nazgul, king_mordor
    		unit	Black Numenorians		exp 3 armour 1 weapon_lvl 0
    	end
    end_monitor


    Now what I need help with is making 9 Ancillaries (1 Ring for each Nazgul instead of them sharing) and someone to help tell me what is wrong with my code as currently it isn't working. (and it isn't the missing ancillary as I tested it with the king_mordor ancillary to check if it worked and it failed misrabbly...
    Want your Nazgul to live forever? Click Here!!

  2. #2

    Default Re: Mordor and Nazgul.

    Now this is the shizelefizzlewizzlemanizzle!

    Does it work well?

    Maybe all at start is abit much don't really need 9 at start
    but they need to be immortal dying of old age is retarded!!
    an the trade off is not having any other generals!

  3. #3

    Default Re: Mordor and Nazgul.

    It doesn't work at all yet I need help with it. But yeah thats the idea, if we can get a script to create the unit again once it dies.
    Want your Nazgul to live forever? Click Here!!

  4. #4

    Default Re: Mordor and Nazgul.

    Maybe that would still be to powerful maybe make it hard (+8hps trait)but possible for them to die in battle
    JUST NOT DIE OF OLD AGE!!! drives me nuts!

    wish I could help with the scripting but Im as useful as a one legged cat tryna bury turds in a frozen pond

  5. #5

    Default Re: Mordor and Nazgul.

    You can't stop them dying from old age or in battle. But you can check at the end of Mordors turn if the faction owns an ancillary that the nazgul starts the game with and create a clone of the general how it started the game if they don't.

    Fluff wise imagine them being defeated and going back to Mordor to regain their strength. This also explains why they will come back weaker than when they died.

    Any help from someone who can script/make ancillaries? Come on Mordor fans! Whats the mistake in my code?
    Last edited by kai; May 07, 2009 at 03:35 PM.
    Want your Nazgul to live forever? Click Here!!

  6. #6

    Default Re: Mordor and Nazgul.

    Spacing is messed up but that might just be the forums, I don't know. Besides that I really am not sure whether there should be a space between not and faction...


  7. #7

    Default Re: Mordor and Nazgul.

    Thanks I'll test that now.

    EDIT:
    Here is how the spacing is now after I changed the not
    Attachment 40957

    Edit. Nah that didn't work. Any other ideas?
    Last edited by kai; May 07, 2009 at 04:07 PM.
    Want your Nazgul to live forever? Click Here!!

  8. #8
    JuL14n's Avatar Centenarius
    Join Date
    Apr 2009
    Location
    Finland
    Posts
    830

    Default Re: Mordor and Nazgul.

    Did you put the script last or first? "Wait_monitor" should not be before the script.
    You might allready know about it.

  9. #9

    Default Re: Mordor and Nazgul.

    I noticed this command function "I_CharacterExists" and was wondering what the Nazguls names count as in game as when I try either nazgula or Witch_King in the console it says that it can't find the character.
    Want your Nazgul to live forever? Click Here!!

  10. #10

    Default Re: Mordor and Nazgul.

    Code:
    and not FactionwideAncillaryExists Some Sort of unique Ring

    Try entering the individual rings in not some sort

  11. #11

    Default Re: Mordor and Nazgul.

    and it isn't the missing ancillary as I tested it with the king_mordor ancillary to check if it worked and it failed misrabbly...
    No such luck I am afraid. Thanks for trying to help though.
    Want your Nazgul to live forever? Click Here!!

  12. #12

    Default Re: Mordor and Nazgul.

    I didn't know that thanks.
    Want your Nazgul to live forever? Click Here!!

  13. #13

    Default Re: Mordor and Nazgul.

    I would suggest having them ressurect with a turn delay so players or AI wouldn't throw them to their deaths over and over.

  14. #14
    Achilla's Avatar Vicarius
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    2,577

    Default Re: Mordor and Nazgul.

    Quote Originally Posted by Lap View Post
    I would suggest having them ressurect with a turn delay so players or AI wouldn't throw them to their deaths over and over.
    For player it makes sense as the player would abuse 'immortal' generals (even if they get reseted with all traits) but for the AI they should revive instantly. That way fighting Mordor will be a REAL challenge it was meant to be.
    Man is but a shadow of his former self, encased in feverish delusions of grandeur.
    Ignorance is your shield, knowledge is your weapon.
    Heart without reason is stupid, reason without heart is blind.


  15. #15
    Oddball_E8's Avatar Senator
    Join Date
    Jan 2005
    Location
    in Skåne (the most southern province of Sweden). Furulund to be more precise... look it up
    Posts
    1,205

    Default Re: Mordor and Nazgul.

    EDIT:

    well slap me and call me sally... what a fool i am...

    maby a mod should close this thread to avoid the blunder i did from repeating itself?
    Last edited by Oddball_E8; May 13, 2009 at 11:15 PM.
    addicted modder... but crap at it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •