Results 1 to 10 of 11

Thread: How to do smaller mappacks (less download)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    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

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

    sttte93 (14th March 2017)

  3. #2
    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?

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
  •