Results 1 to 5 of 5

Thread: Research Order Script

  
  1. #1

    Default Research Order Script

    Just thought I post this because it is a hastle to have to do this every time...

    I put it here for obvious reasons, but if it does not belong then Moderators feel free to move it.

    If I accidentally put any of the values wrong, do not hesitate to say so.

    Red Keeper
    Code:
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_IMP,1000)
    RESEARCH_ORDER(PLAYER0,ROOM,TREASURE,1000)
    RESEARCH_ORDER(PLAYER0,ROOM,LAIR,1000)
    RESEARCH_ORDER(PLAYER0,ROOM,GARDEN,1000)
    RESEARCH_ORDER(PLAYER0,ROOM,TRAINING,1000)
    RESEARCH_ORDER(PLAYER0,ROOM,RESEARCH,1000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_SIGHT,3800)
    RESEARCH_ORDER(PLAYER0,ROOM,BRIDGE,4600)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_SPEED,5700)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_OBEY,6000)
    RESEARCH_ORDER(PLAYER0,ROOM,GUARD_POST,6700)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_CALL_TO_ARMS,7400)
    RESEARCH_ORDER(PLAYER0,ROOM,WORKSHOP,9000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_CONCEAL,9400)
    RESEARCH_ORDER(PLAYER0,ROOM,BARRACKS,12000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_HOLD_AUDIENCE,11000)
    RESEARCH_ORDER(PLAYER0,ROOM,PRISON,20000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_CAVE_IN,25000)
    RESEARCH_ORDER(PLAYER0,ROOM,TORTURE,20000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_HEAL_CREATURE,14000)
    RESEARCH_ORDER(PLAYER0,ROOM,TEMPLE,25000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_LIGHTNING,15000)
    RESEARCH_ORDER(PLAYER0,ROOM,GRAVEYARD,25000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_PROTECT,15000)
    RESEARCH_ORDER(PLAYER0,ROOM,SCAVENGER,27500)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_CHICKEN,20000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_DISEASE,20000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_ARMAGEDDON,100000)
    RESEARCH_ORDER(PLAYER0,MAGIC,POWER_DESTROY_WALLS,750000)
    Blue Keeper
    Code:
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_IMP,1000)
    RESEARCH_ORDER(PLAYER1,ROOM,TREASURE,1000)
    RESEARCH_ORDER(PLAYER1,ROOM,LAIR,1000)
    RESEARCH_ORDER(PLAYER1,ROOM,GARDEN,1000)
    RESEARCH_ORDER(PLAYER1,ROOM,TRAINING,1000)
    RESEARCH_ORDER(PLAYER1,ROOM,RESEARCH,1000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_SIGHT,3800)
    RESEARCH_ORDER(PLAYER1,ROOM,BRIDGE,4600)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_SPEED,5700)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_OBEY,6000)
    RESEARCH_ORDER(PLAYER1,ROOM,GUARD_POST,6700)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_CALL_TO_ARMS,7400)
    RESEARCH_ORDER(PLAYER1,ROOM,WORKSHOP,9000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_CONCEAL,9400)
    RESEARCH_ORDER(PLAYER1,ROOM,BARRACKS,12000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_HOLD_AUDIENCE,11000)
    RESEARCH_ORDER(PLAYER1,ROOM,PRISON,20000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_CAVE_IN,25000)
    RESEARCH_ORDER(PLAYER1,ROOM,TORTURE,20000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_HEAL_CREATURE,14000)
    RESEARCH_ORDER(PLAYER1,ROOM,TEMPLE,25000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_LIGHTNING,15000)
    RESEARCH_ORDER(PLAYER1,ROOM,GRAVEYARD,25000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_PROTECT,15000)
    RESEARCH_ORDER(PLAYER1,ROOM,SCAVENGER,27500)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_CHICKEN,20000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_DISEASE,20000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_ARMAGEDDON,100000)
    RESEARCH_ORDER(PLAYER1,MAGIC,POWER_DESTROY_WALLS,750000)
    Green Keeper
    Code:
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_IMP,1000)
    RESEARCH_ORDER(PLAYER2,ROOM,TREASURE,1000)
    RESEARCH_ORDER(PLAYER2,ROOM,LAIR,1000)
    RESEARCH_ORDER(PLAYER2,ROOM,GARDEN,1000)
    RESEARCH_ORDER(PLAYER2,ROOM,TRAINING,1000)
    RESEARCH_ORDER(PLAYER2,ROOM,RESEARCH,1000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_SIGHT,3800)
    RESEARCH_ORDER(PLAYER2,ROOM,BRIDGE,4600)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_SPEED,5700)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_OBEY,6000)
    RESEARCH_ORDER(PLAYER2,ROOM,GUARD_POST,6700)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_CALL_TO_ARMS,7400)
    RESEARCH_ORDER(PLAYER2,ROOM,WORKSHOP,9000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_CONCEAL,9400)
    RESEARCH_ORDER(PLAYER2,ROOM,BARRACKS,12000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_HOLD_AUDIENCE,11000)
    RESEARCH_ORDER(PLAYER2,ROOM,PRISON,20000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_CAVE_IN,25000)
    RESEARCH_ORDER(PLAYER2,ROOM,TORTURE,20000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_HEAL_CREATURE,14000)
    RESEARCH_ORDER(PLAYER2,ROOM,TEMPLE,25000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_LIGHTNING,15000)
    RESEARCH_ORDER(PLAYER2,ROOM,GRAVEYARD,25000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_PROTECT,15000)
    RESEARCH_ORDER(PLAYER2,ROOM,SCAVENGER,27500)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_CHICKEN,20000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_DISEASE,20000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_ARMAGEDDON,100000)
    RESEARCH_ORDER(PLAYER2,MAGIC,POWER_DESTROY_WALLS,750000)
    Yellow Keeper
    Code:
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_IMP,1000)
    RESEARCH_ORDER(PLAYER3,ROOM,TREASURE,1000)
    RESEARCH_ORDER(PLAYER3,ROOM,LAIR,1000)
    RESEARCH_ORDER(PLAYER3,ROOM,GARDEN,1000)
    RESEARCH_ORDER(PLAYER3,ROOM,TRAINING,1000)
    RESEARCH_ORDER(PLAYER3,ROOM,RESEARCH,1000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_SIGHT,3800)
    RESEARCH_ORDER(PLAYER3,ROOM,BRIDGE,4600)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_SPEED,5700)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_OBEY,6000)
    RESEARCH_ORDER(PLAYER3,ROOM,GUARD_POST,6700)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_CALL_TO_ARMS,7400)
    RESEARCH_ORDER(PLAYER3,ROOM,WORKSHOP,9000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_CONCEAL,9400)
    RESEARCH_ORDER(PLAYER3,ROOM,BARRACKS,12000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_HOLD_AUDIENCE,11000)
    RESEARCH_ORDER(PLAYER3,ROOM,PRISON,20000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_CAVE_IN,25000)
    RESEARCH_ORDER(PLAYER3,ROOM,TORTURE,20000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_HEAL_CREATURE,14000)
    RESEARCH_ORDER(PLAYER3,ROOM,TEMPLE,25000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_LIGHTNING,15000)
    RESEARCH_ORDER(PLAYER3,ROOM,GRAVEYARD,25000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_PROTECT,15000)
    RESEARCH_ORDER(PLAYER3,ROOM,SCAVENGER,27500)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_CHICKEN,20000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_DISEASE,20000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_ARMAGEDDON,100000)
    RESEARCH_ORDER(PLAYER3,MAGIC,POWER_DESTROY_WALLS,750000)
    All Players
    Code:
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_IMP,1000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,TREASURE,1000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,LAIR,1000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,GARDEN,1000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,TRAINING,1000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,RESEARCH,1000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_SIGHT,3800)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,BRIDGE,4600)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_SPEED,5700)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_OBEY,6000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,GUARD_POST,6700)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_CALL_TO_ARMS,7400)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,WORKSHOP,9000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_CONCEAL,9400)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,BARRACKS,12000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_HOLD_AUDIENCE,11000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,PRISON,20000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_CAVE_IN,25000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,TORTURE,20000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_HEAL_CREATURE,14000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,TEMPLE,25000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_LIGHTNING,15000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,GRAVEYARD,25000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_PROTECT,15000)
    RESEARCH_ORDER(ALL_PLAYERS,ROOM,SCAVENGER,27500)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_CHICKEN,20000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_DISEASE,20000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_ARMAGEDDON,100000)
    RESEARCH_ORDER(ALL_PLAYERS,MAGIC,POWER_DESTROY_WALLS,750000)
    Dungeon Keeper 1 Patch: Sexier Beetles and Reaper Control [Currently on Hold]
    I like how HR is. Nearly Done with Quick Creature Revision. Playtesting through Deeper Dungeons - Thread/Level Revision on Hold
    Batezek can go to hell. Never playtesting there again.

    Dungeon Keeper 2 Patch: With More Balance and Pie [Updated: 5/18/12]
    Playtesting while Remaking Official Campaign.
    Screw the Change Log. Changes are so Drastic that it isn't relevant anymore.

    The Awakening: GM Powers Activate!
    Working on Secret Crystice x Emmra Story as Fanservice for Mothrayas

    Fun DK1 Fact:
    1 Armor = 0.390625% Damage Absorption
    5 Armor = 1.953125% Damage Absorption

    LOL, RAGEGUN, DRAGONFIST, LLW9, IMM0RAL, LQUIZ

  2. #2
    Dark God DragonsLover's Avatar
    Join Date
    Aug 2009
    Location
    Quebec
    Posts
    1,073

    Default Re: Research Order Script

    I did some modifications about the amount of research points for some spells in my unofficial patch. Should I modify the numbers?
    I like dragons! They're the center of my life! I'll never forget them...



  3. #3

    Default Re: Research Order Script

    Sure, if you want. I did take these from the original DK though.
    Dungeon Keeper 1 Patch: Sexier Beetles and Reaper Control [Currently on Hold]
    I like how HR is. Nearly Done with Quick Creature Revision. Playtesting through Deeper Dungeons - Thread/Level Revision on Hold
    Batezek can go to hell. Never playtesting there again.

    Dungeon Keeper 2 Patch: With More Balance and Pie [Updated: 5/18/12]
    Playtesting while Remaking Official Campaign.
    Screw the Change Log. Changes are so Drastic that it isn't relevant anymore.

    The Awakening: GM Powers Activate!
    Working on Secret Crystice x Emmra Story as Fanservice for Mothrayas

    Fun DK1 Fact:
    1 Armor = 0.390625% Damage Absorption
    5 Armor = 1.953125% Damage Absorption

    LOL, RAGEGUN, DRAGONFIST, LLW9, IMM0RAL, LQUIZ

  4. #4

    Default Research TIME Script

    The numbers stand for the research time, not the research order.
    The research order seems to be correct.

    Thanks Metal, because in order to script on research, the numbers should be added, where the research number tells what is being researched at the moment. I once made a script with these numbers and research order. Adding them manually one by one. Dungeon Keeper can not read spells from an IF(*,*) command, that is why I did it that way. But you can script spell or room availability also with the IF_AVAILABLE(*,*) command.

    Attached a level I made last week, that is part in the campaign I am working on, where the IF_AVAILABLE command was used.

    You can play that level, if you like, but the campaign isn't finished yet.
    I have 2 more levels ready now. You'll have to be patient, if you want to play all the levels.
    I can't make more than 2 levels a week.
    There might be added some DISPLAY_INFORMATION's on the uploaded level later, but it is ready to be play(test)ed.
    Attached Files Attached Files

  5. #5
    Elite Dragon Mothrayas's Avatar
    Join Date
    Nov 2009
    Location
    The Netherlands
    Posts
    1,412

    Default Re: Research TIME Script

    Quote Originally Posted by dragonfist View Post
    The numbers stand for the research time, not the research order.
    The research order seems to be correct.
    Duh?

    Quote Originally Posted by dragonfist View Post
    Thanks Metal, because in order to script on research, the numbers should be added, where the research number tells what is being researched at the moment. I once made a script with these numbers and research order. Adding them manually one by one. Dungeon Keeper can not read spells from an IF(*,*) command, that is why I did it that way.
    Care to elaborate? Your post does not at all make it obvious what/how exactly you are scripting that.

    Quote Originally Posted by dragonfist View Post
    But you can script spell or room availability also with the IF_AVAILABLE(*,*) command.
    Double duh?

    Quote Originally Posted by dragonfist View Post
    Attached a level I made last week, that is part in the campaign I am working on, where the IF_AVAILABLE command was used.

    You can play that level, if you like, but the campaign isn't finished yet.
    I have 2 more levels ready now. You'll have to be patient, if you want to play all the levels.
    I can't make more than 2 levels a week.
    There might be added some DISPLAY_INFORMATION's on the uploaded level later, but it is ready to be play(test)ed.
    Yay for offtopic advertising of your maps?
    Last edited by Mothrayas; November 5th, 2010 at 17:29.

    Originally Posted by ARMofORION

    Ew. Skarok is here

    The Awakening

    Keeper Animus of Faircoast
    Skios the Brutal Arachnid Warrior
    Realm: Faircoast Cavern
    Level: 5
    Gold: 0
    Voro the Warlock Vampire
    Realm: Northland Iceland
    Level: 4
    Gold: 563
    Ouroboros & Ragnarok, the Bipolar Hellhound
    Realm: Faircoast Cavern
    Level: 2
    Gold: 0
    Krua the Icy Arachnid Witch
    Realm: Faircoast Cavern
    Level: 6
    Gold: 0
    Thela the Psycho Mistress
    Realm: Northland Iceland
    Level: 2
    Gold: 0
    Grey the Trick Archer
    Realm: Northland Iceland
    Level: 1
    Gold: 0

Similar Threads

  1. New script commands
    By mefistotelis in forum KeeperFX
    Replies: 29
    Last Post: June 2nd, 2011, 08:12
  2. Creatures Not Entering (Not Script Problem)
    By Metal Gear Rex in forum DK1 Mapmaking
    Replies: 3
    Last Post: December 5th, 2009, 23:57

Tags for this Thread

Posting Permissions

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