forked from Mirrors/openclonk
Another decorative deciduous tree by Foaly.
parent
2fc3dba47e
commit
b3b8e01f60
|
@ -0,0 +1,17 @@
|
|||
[DefCore]
|
||||
id=Deco_Tree_Deciduous4_Burned
|
||||
Version=6,1
|
||||
Category=C4D_StaticBack
|
||||
Width=80
|
||||
Height=90
|
||||
Offset=-40,-45
|
||||
Vertices=6
|
||||
VertexX=0,0,0,0,0
|
||||
VertexY=45,35,20,0,-20,-40
|
||||
VertexCNAT=8,16,16,16,16,4
|
||||
VertexFriction=50,25,25,25,25,50
|
||||
Mass=80
|
||||
StretchGrowth=1
|
||||
Oversize=1
|
||||
Float=1
|
||||
Rotate=1
|
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
|
@ -0,0 +1,14 @@
|
|||
/*-- Yet Another Additional Burned Deciduous Tree --*/
|
||||
|
||||
#include Library_Plant
|
||||
#include Library_Tree
|
||||
|
||||
public func IsBurnedTree()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
local Name = "$Name$";
|
||||
local Touchable = 0;
|
||||
local BlastIncinerate = 1;
|
||||
local ContactIncinerate = 3;
|
|
@ -0,0 +1 @@
|
|||
Name=Toter Baum
|
|
@ -0,0 +1 @@
|
|||
Name=dead tree
|
|
@ -0,0 +1,17 @@
|
|||
[DefCore]
|
||||
id=Deco_Tree_Deciduous4
|
||||
Version=6,1
|
||||
Category=C4D_StaticBack
|
||||
Width=80
|
||||
Height=90
|
||||
Offset=-40,-45
|
||||
Vertices=6
|
||||
VertexX=0,0,0,0,0
|
||||
VertexY=45,35,20,0,-20,-40
|
||||
VertexCNAT=8,16,16,16,16,4
|
||||
VertexFriction=50,25,25,25,25,50
|
||||
Mass=110
|
||||
StretchGrowth=1
|
||||
Oversize=1
|
||||
Float=1
|
||||
Rotate=1
|
Binary file not shown.
|
@ -0,0 +1,28 @@
|
|||
material tree09_diffuse
|
||||
{
|
||||
receive_shadows on
|
||||
technique
|
||||
{
|
||||
pass
|
||||
{
|
||||
scene_blend one zero
|
||||
|
||||
cull_hardware none
|
||||
|
||||
alpha_rejection greater_equal 128
|
||||
alpha_to_coverage on
|
||||
|
||||
ambient 1.0 1.0 1.0 0.0
|
||||
diffuse 1.0 1.0 1.0 1.0
|
||||
specular 0 0 0 0 23.5
|
||||
emissive 0 0 0 0
|
||||
|
||||
texture_unit
|
||||
{
|
||||
texture tree.png
|
||||
tex_address_mode wrap
|
||||
filtering trilinear
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
/*-- Yet Another Additional Deciduous 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 = Deco_Tree_Deciduous4_Burned;
|
||||
|
||||
public func GetTreetopPosition(pos)
|
||||
{
|
||||
return Shape->Rectangle(-30,-30, 60,80)->GetRandomPoint(pos);
|
||||
}
|
||||
|
||||
local Name = "$Name$";
|
||||
local Touchable = 0;
|
||||
local BlastIncinerate = 2;
|
||||
local ContactIncinerate = 6;
|
||||
local NoBurnDecay = 1;
|
||||
local Components = {Wood = 4};
|
|
@ -0,0 +1 @@
|
|||
Name=Laubbaum
|
|
@ -0,0 +1 @@
|
|||
Name=Deciduous tree
|
Binary file not shown.
After Width: | Height: | Size: 468 KiB |
Binary file not shown.
Loading…
Reference in New Issue