Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20

Thread: How do you make a Campaign?

  
  1. #1

    Default How do you make a Campaign?

    I just want to make Campaign levels, - how do-I-do that??????

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

    Steam ID: dragonslover

    Default Re: How do you make a Campaign?

    It's somehow a bit complicated. You must build your campaign by using the files of the original one. Even though it is possible to make new separate levels, you're kinda forced to use the texts and sounds of the original campaign since there's no solution to use custom ones that easily.
    I like dragons! They're the center of my life! I'll never forget them...



  3. #3
    Mapmaker Skarok's Avatar
    Join Date
    Apr 2011
    Location
    Germany
    Posts
    399
    Gamer IDs

    Gamertag: Skarok

    Default Re: How do you make a Campaign?

    Actually, there is a rather easy solution to modify the texts using the SFR tool, you can even change the names of creatures if you feel like it. Technically you can also change the speeches around, and if you'd be able to record MP2 files you could easily add those in too. The problem is that whenever you change a sound file, it'll cut out after something like 2 seconds in-game. No idea as to why that happens, since it appears even when you replace a 15 second long speech with a 3 second long one.
    Last edited by Skarok; July 8th, 2013 at 20:39.
    There is absoluetly nothing wrong with DK Mobile, whatsoever.

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

    Steam ID: dragonslover

    Default Re: How do you make a Campaign?

    No, there's a way to fix that. You must do some hex editing so that it respects the length of the sample.

    Here's the quote of a private message I did with mefisto:

    Quote Originally Posted by mefistotelis
    Code:
    struct SDTIndex {
           int isize; // index struct size (= 0x28)
           int size; // file size
           char filename[16];
           int unknow1;
           int unknow2;
           int nsamples;
           int unknow4;
    };
    That number is a total amount of samples in file.

    Digital sound is written as a series of numbers which shows how the mechanic wave (-> sound wave) should change over time. Amount of those numbers (samples) in every second is usually constant and called "sampling rate". If the sampling rate in your example file is 44100, then the length of the sound is 135448/44100 = 3 seconds.

    Quote Originally Posted by DragonsLover
    Hey Mefisto!

    Maybe you could help me, I don't understand about something on the Dungeon Keeper 2 SDT sound files.

    For every sound file contained into the SDT file, there are data which tells the size of the file, its name and other things. Here's what I know so far:

    28 00 00 00 7A 49 00 00 63 6F 75 6E 74 30 30 31 2E 6D 70 32 00 00 00 00 22 56 10 24 00 00 00 00 18 11 02 00 ... [Mp2 file data]

    File separator
    Sound file size
    File name (here, it's "count001.mp2")
    Unknown
    Sound file length?

    I have a problem with the latest data (in cyan) where it seems to be some kind of sound file length. There was a problem with a mentor speech in French version where a file contained two speeches and longer in size, and one of them was empty and shorter in size. When I brought the corrections, making the shorter file being longer by taking the part from the longer one, the speech during the game is cut like if it kept the same sound file length as before. When I checked about that in the SDT file, it seems that the data in cyan isn't changed at all by MAStudio, which seems to be a problem.

    What's the meaning of this data? I know it must be related to the sound file length, but how? I thought it was in milliseconds or such, but it's not. Do you think you could have an idea?

    Thanks a lot!
    Last edited by DragonsLover; July 8th, 2013 at 23:32.
    I like dragons! They're the center of my life! I'll never forget them...



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

    Default Re: How do you make a Campaign?

    Looks like I'll be able to include custom voices for my campaign after all. Thanks DL. Here's a cookie. [Cookie]
    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!

  6. #6
    Mapmaker Skarok's Avatar
    Join Date
    Apr 2011
    Location
    Germany
    Posts
    399
    Gamer IDs

    Gamertag: Skarok

    Default Re: How do you make a Campaign?

    Holy shit, that's awesome! And I was giving up on the idea of having new VAs for DKII already. Thanks!
    There is absoluetly nothing wrong with DK Mobile, whatsoever.

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

    Steam ID: dragonslover

    Default Re: How do you make a Campaign?

    Glad it helps.

    *Noms the cookie then stops* Oh geez, what I am doing?
    I like dragons! They're the center of my life! I'll never forget them...



  8. #8

    Default Re: How do you make a Campaign?

    Quote Originally Posted by DragonsLover View Post
    It's somehow a bit complicated. You must build your campaign by using the files of the original one. Even though it is possible to make new separate levels, you're kinda forced to use the texts and sounds of the original campaign since there's no solution to use custom ones that easily.
    So like copy the regular Campaign files and then change the copied Campaign files?

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

    Steam ID: dragonslover

    Default Re: How do you make a Campaign?

    Kinda. You must replace the original campaign with your own.
    I like dragons! They're the center of my life! I'll never forget them...



  10. #10
    Mapmaker Skarok's Avatar
    Join Date
    Apr 2011
    Location
    Germany
    Posts
    399
    Gamer IDs

    Gamertag: Skarok

    Default Re: How do you make a Campaign?

    Quote Originally Posted by DragonsLover View Post
    Kinda. You must replace the original campaign with your own.
    Or you could simply release the maps as a campaign pack and make them playable via the commando line. I prefer this way as you don't have that much of a hassle to make extra backups of the original levels, plus you don't need to edit the Debriefing screens which in turn would require you to have a backup for the text file too.

    But about the Hex editing again, how exactly would you do that for MP2s if you are completely new to such programs? I only used it once to somewhat modify a Text file, but I have no idea how tu use it for Sound files, nor what I'd really have to do. I just see hundreds of numbers and have no idea as to what i really have to do, so a short tutorial would be really helpful!
    There is absoluetly nothing wrong with DK Mobile, whatsoever.

Similar Threads

  1. How to make map thumbnails?
    By Beeb in forum DK2 Mapmaking
    Replies: 7
    Last Post: December 20th, 2021, 20:56
  2. Make Grenade usable by creatures?
    By Trotim in forum KeeperFX
    Replies: 5
    Last Post: October 10th, 2011, 15:13
  3. [0.38c] Savegames make game unstable?
    By Krizzie in forum KeeperFX
    Replies: 5
    Last Post: March 16th, 2011, 18:49
  4. tring to make maps, No success
    By dk2player in forum DK1 Mapmaking
    Replies: 8
    Last Post: October 22nd, 2010, 08:14

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
  •