Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using UnityEngine;
- public class MyTerrainScript2 : StampScriptBase
- {
- protected override IEnumerator ScriptRunner()
- {
- operation = Gaia.Constants.FeatureOperation.AddHeight;
- stampStrength = new AnimationCurve( new Keyframe(0.7490571f, 1.01278f, -9.660287f, -9.660287f),new Keyframe(0.9995705f, 0.002571404f, -5.952873f, -5.952873f));
- width = 35.5f;
- height = 16f;
- rotation = 23.00013f;
- position = new Vector3(3008f,541f,3630f);
- SetStamp(@"Assets/Gaia/Stamps/Mountains/Mountain Field 0924 a.jpg");
- yield return Stamp();
- rotation = 69f;
- position = new Vector3(847f,541f,3426f);
- yield return Stamp();
- operation = Gaia.Constants.FeatureOperation.SubtractHeight;
- yield return Stamp();
- operation = Gaia.Constants.FeatureOperation.AddHeight;
- rotation = 100f;
- position = new Vector3(4679f,541f,4837f);
- yield return Stamp();
- operation = Gaia.Constants.FeatureOperation.SubtractHeight;
- yield return Stamp();
- operation = Gaia.Constants.FeatureOperation.AddHeight;
- position = new Vector3(4962f,541f,1902f);
- yield return Stamp();
- operation = Gaia.Constants.FeatureOperation.SubtractHeight;
- yield return Stamp();
- operation = Gaia.Constants.FeatureOperation.AddHeight;
- position = new Vector3(2351f,541f,1487f);
- yield return Stamp();
- operation = Gaia.Constants.FeatureOperation.SubtractHeight;
- yield return Stamp();
- operation = Gaia.Constants.FeatureOperation.StencilHeight;
- stencilHeight = 0f;
- stampStrength = new AnimationCurve( new Keyframe(0.0006638351f, 0.6060644f, 0f, 0f),new Keyframe(0.8493371f, 0.5991478f, -0.04538516f, -10.11965f),new Keyframe(0.9995705f, 0.002571404f, -6.438799f, -6.438799f));
- width = 59.1f;
- position = new Vector3(3355f,541f,2376f);
- SetStamp(@"Assets/Gaia/Stamps/Mesas/Mesa 4.jpg");
- yield return Stamp();
- stencilHeight = 1000f;
- yield return Stamp();
- rotation = 34f;
- yield return Stamp();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement