1 |
Alright, I've figured most of it out. rectangle maps etc. As long as the image size isn't over x megs it wont crash. Here's the problem that I've been stuck on. How do I set team start locations?
|
1 |
Alright, I've figured most of it out. rectangle maps etc. As long as the image size isn't over x megs it wont crash. Here's the problem that I've been stuck on. How do I set team start locations?
|
2 |
\n
|
2 |
\n
|
3 |
in the mapinfo.lua I've got:
|
3 |
in the mapinfo.lua I've got:
|
4 |
|
4 |
[q]
|
5 |
teams = {
|
5 |
teams = {
|
6 |
[0] = {startPos = {x = 1000, z = 3000}},
|
6 |
[0] = {startPos = {x = 1000, z = 3000}},
|
7 |
[1] = {startPos = {x = 3000, z = 5000}},
|
7 |
[1] = {startPos = {x = 3000, z = 5000}},
|
8 |
[2] = {startPos = {x = 5000, z = 7000}},
|
8 |
[2] = {startPos = {x = 5000, z = 7000}},
|
9 |
[3] = {startPos = {x = 7000, z = 8100}},
|
9 |
[3] = {startPos = {x = 7000, z = 8100}},
|
10 |
},
|
10 |
},
|
|
|
11 |
[/q]
|
11 |
\n
|
12 |
\n
|
12 |
But in teams it's just a giant place rectangle on the left and right side of the map, pretty much ignoring these values. And in FFA it's just the left and right area as well. I noticed FFA maps like real_europe have a .smd file in the maps directory, where there are values like:
|
13 |
But in teams it's just a giant place rectangle on the left and right side of the map, pretty much ignoring these values. And in FFA it's just the left and right area as well. I noticed FFA maps like real_europe have a .smd file in the maps directory, where there are values like:
|
13 |
|
14 |
[q]
|
14 |
[TEAM0]
|
15 |
[TEAM0]
|
15 |
{
|
16 |
{
|
16 |
StartPosX=2433;
|
17 |
StartPosX=2433;
|
17 |
StartPosZ=5652;
|
18 |
StartPosZ=5652;
|
18 |
}
|
19 |
}
|
19 |
[TEAM1]
|
20 |
[TEAM1]
|
20 |
{
|
21 |
{
|
21 |
StartPosX=10666;
|
22 |
StartPosX=10666;
|
22 |
StartPosZ=9290;
|
23 |
StartPosZ=9290;
|
23 |
}
|
24 |
}
|
24 |
[TEAM2]
|
25 |
[TEAM2]
|
25 |
{
|
26 |
{
|
26 |
StartPosX=11305;
|
27 |
StartPosX=11305;
|
27 |
StartPosZ=1401;
|
28 |
StartPosZ=1401;
|
28 |
}
|
29 |
}
|
29 |
[TEAM3]
|
30 |
[TEAM3]
|
30 |
{
|
31 |
{
|
31 |
StartPosX=7766;
|
32 |
StartPosX=7766;
|
32 |
StartPosZ=4792;
|
33 |
StartPosZ=4792;
|
33 |
}
|
34 |
}
|
34 |
|
35 |
[/q]
|
35 |
However, adding a similar file with like values changes nothing. wth?
|
36 |
However, adding a similar file with like values changes nothing. wth?
|
36 |
\n
|
37 |
\n
|