Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to do smaller mappacks (less download)

  1. #1
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts

    How to do smaller mappacks (less download)

    Hi all,
    a few days ago i discovered this very useful thread from IzNoGoD, and i would like understand, step by step (with your helps), how to do it for me and, why not, for others.

    (The default guide is here -> https://killtube.org/showthread.php?...-less-download)

    My first problem is :

    Create a folder "stock" in said folder, copy all (including localized_english) iwds from your cod2 directory to there and extract them in such a way the C:/JH2/stock/maps folder exists (extract on the spot, not to a subdir)

    Like this?

    Click image for larger version. 

Name:	1.jpg 
Views:	79 
Size:	186.3 KB 
ID:	1294
    Last edited by sttte93; 13th March 2017 at 18:17.

  2. The Following User Says Thank You to sttte93 For This Useful Post:

    kubislav23 (16th March 2017)

  3. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    yes.

    10char
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  4. The Following User Says Thank You to IzNoGoD For This Useful Post:

    sttte93 (13th March 2017)

  5. #3
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    Ok, thank you.
    Now:

    Edit all your soundaliases so they have a proper loadspec for every sound file (is technically not entirely needed, but the script is instructed to throw warnings if improper loadspecs are used which makes the output quite unreadable)

    U mean the first (red) line or the second (blue) line?

    Click image for larger version. 

Name:	3.jpg 
Views:	67 
Size:	51.9 KB 
ID:	1295

  6. The Following User Says Thank You to sttte93 For This Useful Post:

    kubislav23 (16th March 2017)

  7. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Go read a stock soundalias file.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  8. #5
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by IzNoGoD View Post
    Go read a stock soundalias file.
    From soundaliases/iw_multiplayer2.csv

    Click image for larger version. 

Name:	4.jpg 
Views:	68 
Size:	573.6 KB 
ID:	1296
    Last edited by sttte93; 13th March 2017 at 23:06.

  9. The Following User Says Thank You to sttte93 For This Useful Post:

    kubislav23 (16th March 2017)

  10. #6
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    The red line is the "definition" of the .csv file, while the blue line is the actual data. So which one do you need? Both.

    Count the position until "loadspec" in the definition in your red line example. Which position has it? 16

    Now count the 16th position in the actual data. Which string is that? mp_shipment

    16 is highly arbitrary, so you need to recount it for every map .csv file. And make sure that the actual data value for "loadspec" is always set to the name of the current map ($mapname.csv)

    That's what the Python script will check for later:

    PHP Code:
                elif row[loadspec_index] != mapname:
                    print(
    mapname"has invalid loadspec for"row[0]) 
    timescale 0.01

  11. The Following User Says Thank You to kung foo man For This Useful Post:

    sttte93 (14th March 2017)

  12. #7
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    Ok, thank you kung foo man, done.

    Now i'm here:

    Look through the scripts of your maps to see if any additional xmodels or images are used.
    - If any additional xmodels are used, store their names in a mapname.txt files (do this per-map) in the add_models folder, layout (taken from jm_pier_2.txt)


    I don't have maps with xmodels folders, but if i will add one, the correct syntax for <mapname.txt> will be:

    xmodel/namefile1
    xmodel/namefile2
    ...
    ...


    ?

    - Do the same for images the scripts use, store in same manner in add_shaders.

    I my current maps, in images folders have only the loadscreen_mapname.iwi

    I need to create a <mapname.txt> and add :

    loadscreen_mapname

    ? Or is not require?

  13. #8
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Not if the loadscreen is referenced in the .csv.

    Why dont you just TRY it and see what's actually in the packs.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  14. The Following User Says Thank You to IzNoGoD For This Useful Post:

    sttte93 (15th March 2017)

  15. #9
    Private
    Join Date
    Feb 2017
    Posts
    37
    Thanks
    24
    Thanked 7 Times in 7 Posts
    I got this :

    Click image for larger version. 

Name:	error.jpg 
Views:	43 
Size:	18.4 KB 
ID:	1297

  16. The Following User Says Thank You to sttte93 For This Useful Post:

    kubislav23 (16th March 2017)

  17. #10
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Install 7-Zip: http://www.7-zip.org/

    Then either add C:\Program Files\7-Zip\ to your PATH variable: https://superuser.com/questions/9495...-in-windows-10

    Or just copy C:\Program Files\7-Zip\7z.exe into your C:\JH2\packs folder.
    timescale 0.01

  18. The Following User Says Thank You to kung foo man For This Useful Post:

    sttte93 (16th March 2017)

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
  •