Bug for a new planet ?


#1

Hi all,
Nicodede, french player and little modder.

I decided to add new planets on the campaign map. So I start by putting a line in campaign.txt:

.....
49 = campaign/data/encounters/campaign_ec9.txt
50 = campaign/data/encounters/campaign_ec52.txt
51 = campaign/data/encounters/campaign_ec56.txt
52
[config]
MapPosition.X = 0.2535
MapPosition.Y = 0.7105
EncounterID = 56
wormholes = 4,8,
gui_id = -1
backdrop = camp_bd13.jpg
icon = spindle_planet21.dds
name = Ceash
guiname = Ceash
starfield = 1
mapiconsize = 25.5298
enemyfleetcost = 5000
shader = data/shaders/redden.fx

[terrain]
0 = 683.91,716.80,1.0,spindle_planet21.dds,0,0,0,1.0,1.0,512.00,512.00,0,1

[facilities]
0 = smallhive

[hopcounts]
0 = 4,0
1 = 6,1
2 = 18,7
3 = 25,6
4 = 26,6
5 = 28,4
6 = 31,5
7 = 33,4
8 = 35,8
9 = 37,6
10 = 40,9
11 = 27,5
12 = 30,6
13 = 12,5
14 = 44,7
15 = 1,1
16 = 46,6
17 = 21,3
18 = 11,4
19 = 51,6
20 = 36,7
21 = 39,8
22 = 42,6
23 = 8,2
24 = 32,5
25 = 38,9
26 = 54,8
27 = 13,6
28 = 41,9
29 = 48,7
30 = 10,5
31 = 20,8
32 = 29,4
33 = 17,7
34 = 5,2
35 = 14,6
36 = 7,1
37 = 45,7
38 = 47,7
39 = 24,5
40 = 53,6
41 = 16,5
42 = 23,7
43 = 19,6
44 = 34,2
45 = 50,7
46 = 43,8
47 = 15,5
48 = 22,4
49 = 9,3
50 = 52,5

with a new background and a new planet.
I’m launching a new campaign and everything works fine:

I attack this new planet to test my new backgrounds, except that:

So I return to the office to see if there would be no error and, big surprise in returning in game:

And for information, the same thing happens if I use the graphics of the game. Anyone have an idea ?


#2

This is this bit:

shader = data/shaders/redden.fx

if you are talking about the background being red?


#3

Yes, I spoke well of the red background. Thank you, I’m going to see change.

I had not seen this line.