#1
Question 
Hello everyone,

First of all I want to note that I followed these instructions on how to script game modes for INS/DOI. I encountered several problems.

0) My test setup

[Image: 5cMvEip.jpg]

FYI: The block zones are not as high as the spawn zones but they surround them. They are assigned to the respective spawn zones.

1) Script including "theaterfile"


Code:
"cpsetup.txt"

{

    "nightlighting" "0"
    "theaterfile" "doi"


"push"

    {

        "AttackingTeam" "security"

        "controlpoint" "controlpoint_a"
        "controlpoint" "controlpoint_b"
        "controlpoint" "controlpoint_c"

        "spawnzones"

            {

                "disablespawns" "1"
                "0" "spawnzone_00"
                "1" "spawnzone_01"
                "2" "spawnzone_02"

            }
    }
}


When I start my map via the console, the game crashes and I only receive the following error:

[Image: IqapKpa.jpg]


I have found no information on what this means exactly? It popped up after the last update when I was not able to choose the base models for the German and Allied spawns.

2) Script without "theaterfiles"

Code:
"cpsetup.txt"

{

    "nightlighting" "0"


"push"

    {

        "AttackingTeam" "security"

        "controlpoint" "controlpoint_a"
        "controlpoint" "controlpoint_b"
        "controlpoint" "controlpoint_c"

        "spawnzones"

            {

                "disablespawns" "1"
                "0" "spawnzone_00"
                "1" "spawnzone_01"
                "2" "spawnzone_02"

            }
    }
}

Now the game starts but in the Firefight mode. I am not able to choose a squad or team, only spectators. There is also no way to vote for Offensive (Push).
I don't really get it, since this exact setup (without even creating a txt. file) works for INS. Would appreciate some help very much, you guys!

Thank you in advance.

Greetz
HDKHH

Oh dear brain, I am a freaking idiot.
I changed "push" to "offensive" and it worked with the second setup.

I am so sorry - but well, now there is the setup for DOI. Really, sometimes I wonder where my head is.
Reply
#2
Try changing the 1 to a 0 in this line -
Code:
                "disablespawns" "1"
Reply




Users browsing this thread: 1 Guest(s)