Results 1 to 5 of 5

Thread: Research Order Script

  
  1. #1
    Awakening Game Master Metal Gear Rex's Avatar
    Join Date
    Sep 2009
    Posts
    5,625

    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 2 Patch: With More Balance and Pie [Hiatus]
    Forever Hiatus. Probably. Latest Version: 3.5 w/Levels 1-11 Revised.

    The Awakening: GM Powers Activate!
    Tesonu is napping!

    LOL, WFTO

  2. #2
    Dragon DragonsLover's Avatar
    Join Date
    Aug 2009
    Location
    Quebec
    Posts
    1,490
    Gamer IDs

    Steam ID: dragonslover

    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
    Awakening Game Master Metal Gear Rex's Avatar
    Join Date
    Sep 2009
    Posts
    5,625

    Default Re: Research Order Script

    Sure, if you want. I did take these from the original DK though.
    Dungeon Keeper 2 Patch: With More Balance and Pie [Hiatus]
    Forever Hiatus. Probably. Latest Version: 3.5 w/Levels 1-11 Revised.

    The Awakening: GM Powers Activate!
    Tesonu is napping!

    LOL, WFTO

  4. #4
    Fly dragonfist's Avatar
    Join Date
    Oct 2009
    Location
    Holland
    Posts
    84

    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,635

    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 18:29.

    The Awakening


Similar Threads

  1. New script commands
    By mefistotelis in forum KeeperFX
    Replies: 89
    Last Post: May 18th, 2016, 08:04
  2. Creatures Not Entering (Not Script Problem)
    By Metal Gear Rex in forum DK1 Mapmaking
    Replies: 3
    Last Post: December 6th, 2009, 00: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
  •