Added a new variation of coniferous tree by Nachtfalter.

qteditor
Clonkonaut 2016-06-21 19:16:40 +02:00
parent c77ab10b55
commit c766078b50
12 changed files with 106 additions and 0 deletions

View File

@ -0,0 +1,17 @@
[DefCore]
id=Tree_Coniferous4_Burned
Version=8,0
Category=C4D_StaticBack
Width=34
Height=80
Offset=-17,-40
Vertices=9
VertexX=0,0,0,0,0,0,0,0,0
VertexY=40,25,20,10,0,-10,-20,-25,-36
VertexCNAT=8,16,16,16,16,16,16,16,4
VertexFriction=50,50,25,25,25,25,50,50,50
Mass=80
StretchGrowth=1
Oversize=1
Float=1
Rotate=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -0,0 +1,15 @@
/*-- Yet Another Additional Burned Coniferous Tree --*/
#include Library_Plant
#include Library_Tree
public func IsBurnedTree()
{
return true;
}
local Name = "$Name$";
local Touchable = 0;
local BlastIncinerate = 1;
local ContactIncinerate = 3;
local Components = {Wood = 3};

View File

@ -0,0 +1,17 @@
[DefCore]
id=Tree_Coniferous4
Version=8,0
Category=C4D_StaticBack
Width=34
Height=80
Offset=-17,-40
Vertices=9
VertexX=0,0,0,0,0,0,0,0,0
VertexY=40,25,20,10,0,-10,-20,-25,-36
VertexCNAT=8,16,16,16,16,16,16,16,4
VertexFriction=50,50,25,25,25,25,50,50,50
Mass=100
StretchGrowth=1
Oversize=1
Float=1
Rotate=1

View File

@ -0,0 +1,26 @@
material Coniferous4
{
receive_shadows on
technique
{
pass
{
cull_hardware none
scene_blend alpha_blend
depth_check on
alpha_rejection greater_equal 128
ambient 1.0 1.0 1.0 1.0
diffuse 1.0 1.0 1.0 1.0
specular 0.0 0.0 0.0 1.0 12.500000
emissive 0.0 0.0 0.0 1.0
texture_unit
{
texture coniferous4.png
tex_address_mode wrap
filtering trilinear
}
}
}
}

View File

@ -0,0 +1,27 @@
/*-- Yet Another Additional Coniferous Tree --*/
#include Library_Plant
#include Library_Tree
private func SeedChance() { return 500; }
private func SeedArea() { return 400; }
private func SeedAmount() { return 10; }
local lib_tree_burned = Tree_Coniferous4_Burned;
public func GetTreetopPosition(pos)
{
return Shape->Rectangle(-10,-8, 20,10)->GetRandomPoint(pos);
}
private func Definition(def)
{
SetProperty("PictureTransformation", Trans_Mul(Trans_Translate(-25000, -8000, 22000), Trans_Rotate(40,0,0,1), Trans_Rotate(-10,1), Trans_Rotate(50,0,1)), def);
}
local Name = "$Name$";
local Touchable = 0;
local BlastIncinerate = 2;
local ContactIncinerate = 6;
local NoBurnDecay = 1;
local Components = {Wood = 3};

View File

@ -0,0 +1 @@
Name=Nadelbaum

View File

@ -0,0 +1 @@
Name=Cone tree

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB