Jump to content

Updated Spline, CSV, Height, Paint, Place, Scripts


WrinkleysRule

Recommended Posts

  • Wrinkley

That error will occur if the distance you set in the (c).CSV Distance entry is 0 or less than 0, this can sometimes happen when entering a number and it not being registered, best way to ensure is to enter the no and press enter on the keyboard or just right click any where in GE

Applies to all User Attribute entries.

Link to comment
Share on other sites

  • Wrinkley

Here is a little tip, if you just want to paint one edge for example the right hand edge  use the following settings in the Paint Terrain User attributes

Set Centre Width --0

Set Edge Texture width -- to your desired size

Set Edge Texture Left --  -1

Set Centre Texture --  -1

Set Edge Texture Right -- to your desired texture

leaving the rest as set execute the script

Unfortunately at the moment if Random Paint is selected the random paint still paints over the Set Random Width but that could change.

Link to comment
Share on other sites

habe mir mal zum test die spline von west nach ost und dann von norden nach süden verlegt alles in einer spline alles im rechten winkel wen ich das script ausführe verschiebt sich die textur in von norden nach süden bei etwa der mitte der map

muss man ja in einer spline durch ziehen von west nach ost funktioniert die spline aber wen man die spline von norden nach süden verlegt wird die dspline dann von west nach ost   

gezeichnet

 

Screenshot_1.jpg

Link to comment
Share on other sites

  • Wrinkley

Did you rotate the spline from EW to NS ?

If so you MUST freeze rotate transformtions ( Edit --Freeze Transformations--- and just select Rotate then Apply ) before running script otherwise you will get some strange results.
 

Quote

 

From the Tutorial

Problems will occur if the spline transform or the spline itself does not have the correct rotation, whether in the transform group of the spline or the spline itself . The rotation has to be set at 0,0,0 for any of the scripts to work correctly.

 

 

  • Thanks 1
Link to comment
Share on other sites

31 minutes ago, WrinkleysRule said:

Hast du den Spline von EW nach NS gedreht?

Wenn dies der Fall ist, MÜSSEN Sie Rotationstransformationen einfrieren ( Bearbeiten --Transformationen einfrieren--- und wählen Sie einfach Drehen und dann Anwenden ), bevor Sie das Skript ausführen, da Sie sonst einige seltsame Ergebnisse erhalten.
 

 

Super das hat funktionier Danke Schön wieder was dazu gelernt  👍

Link to comment
Share on other sites

  • Wrinkley

To avoid problems with spline rotation do the following

Create -- spline then zoom in and delete the 'S' cv this will move the rotation point  ans the 'S' cv to the spline transform settings then create your spline layout by just using the 'E' cv

Again from the Tutorial

Quote

 

Splines

The spline can now be given  any name as long as it includes the name ' spline ' in any part of it i.e. road1_Spline or roadspline01 etc.

Problems will occur if the spline transform or the spline itself does not have the correct rotation, whether in the transform group of the spline or the spline itself . The rotation has to be set at 0,0,0 for any of the scripts to work correctly.

There are a couple of  ways of ensuring this, one is to set up your spline in the position you want and freeze transform only the rotation, the other is to select the S cv of the spline and delete it,  this brings S to the centre (rotating point) of the spline, then just use the E cv to create the rest of the spline so lessening the chance of inadvertently rotating the start of the spline.

 

 

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now