seasons - schneemaske malen?

Eure Foren für alle Diskussionen rund ums Thema Modding.
anthu
Posts: 4975
Joined: Thu Nov 06, 2014 8:03 am

seasons - schneemaske malen?

Post by anthu »

Hallo Leute
baue mir gerade eine map auf seasons um und bin grade dabei die schneemaske aufzumalen,
bzw dort wo kein schnee hin soll das strohähnliche zeug aufzupinseln.
das problem, das sehe ich nur wenn ich ganz nahe herangezoomt habe.
gibts ne möglichkiet das anzeigen zu lassen, auch wenn man weiter rauszoomt?
lg
andreas
User avatar
HeinzS
Posts: 11728
Joined: Mon May 16, 2011 5:19 pm

Re: seasons - schneemaske malen?

Post by HeinzS »

viewdistance in der map erhöhen und oder die Texture verändern.
anthu
Posts: 4975
Joined: Thu Nov 06, 2014 8:03 am

Re: seasons - schneemaske malen?

Post by anthu »

Die viewdistance hab ich von 80 auf 880 erhöht. Hat nichts bewirkt.
Was meinst du mit Texture verändern?
User avatar
HeinzS
Posts: 11728
Joined: Mon May 16, 2011 5:19 pm

Re: seasons - schneemaske malen?

Post by HeinzS »

dazu gehört auch das Material: seasons_mask_mat mit alphaBlendStartEnd und die Textur invisible_mask_diffuse.dds.
anthu
Posts: 4975
Joined: Thu Nov 06, 2014 8:03 am

Re: seasons - schneemaske malen?

Post by anthu »

Versteh nur Bahnhof.

Bitte um weitere Informationen
User avatar
HeinzS
Posts: 11728
Joined: Mon May 16, 2011 5:19 pm

Re: seasons - schneemaske malen?

Post by HeinzS »

hast du den Mod eingebaut oder nicht: :confusednew:

Insert the following two lines under <Files>:

<File fileId="100050" filename="map01/invisible_mask_diffuse.png" relativePath="true"/>
<File fileId="100051" filename="map01/seasons_density.png" relativePath="true"/>


Search for windrowFoliageShader.xml and copy the fileId
Insert the following at the end of <Materials> and replace ???? with the fileId of the windrowFoliageShader:

<Material name="seasons_mask_mat" materialId="100610" ambientColor="1 1 1" customShaderId="????">
<Texture fileId="100050"/>
<CustomParameter name="alphaBlendStartEnd" value="70 75 0 0"/>
<CustomParameter name="cellSizeTerrainSizeScaleXZScaleY" value="16 1024 2 255"/>
</Material>
<Material name="seasons_empty_mat" materialId="100611" diffuseColor="1 1 1 1" ambientColor="1 1 1">
<CustomParameter name="dummyStartEnd" value="0 0 0 0"/>
</Material>
anthu
Posts: 4975
Joined: Thu Nov 06, 2014 8:03 am

Re: seasons - schneemaske malen?

Post by anthu »

Ja hab sie eingebaut.
Hat bei der ersten map hingehauen und jetzt bei der zweiten map auch.
Habs nach dieser anleitung gemacht
https://ls-modcompany.com/forum/thread/ ... nee-maske/
Das was ich nun möchte, wenn ich die snowmask im GE zeichne das ich sie auch aus der entfernung sehe und nicht nur 100m im umkreis.
Habe schonmal die

Code: Select all

 <FoliageSubLayer name="ssSnowMask" densityMapChannelOffset="0" numDensityMapChannels="1" materialId="100610" cellSize="8" viewDistance="80"
Auf

Code: Select all

 <FoliageSubLayer name="ssSnowMask" densityMapChannelOffset="0" numDensityMapChannels="1" materialId="100610" cellSize="8" viewDistance="880"
Geändert um den layer im GE weiter zu sehen.
Hat aber nicht funktioniert.
Meinst du ich soll

Code: Select all

<CustomParameter name="alphaBlendStartEnd" value="70 75 0 0"/>
Auf z.b.

Code: Select all

<CustomParameter name="alphaBlendStartEnd" value="170 175 0 0"/>
Ändern?
Last edited by anthu on Sat Sep 16, 2017 7:21 pm, edited 1 time in total.
User avatar
HeinzS
Posts: 11728
Joined: Mon May 16, 2011 5:19 pm

Re: seasons - schneemaske malen?

Post by HeinzS »

ja das ist der Übergang zur Distanztextur die ja beim Schnee gar nicht vorhanden ist, folglich wird sie ab dort ausgeblendet.
anthu
Posts: 4975
Joined: Thu Nov 06, 2014 8:03 am

Re: seasons - schneemaske malen?

Post by anthu »

Danke.
Hat geklappt
Post Reply