forked from Mirrors/openclonk
parent
0c0c5df94d
commit
2a59351edd
|
@ -0,0 +1,14 @@
|
||||||
|
Texture Sources:
|
||||||
|
All textures have been modified.
|
||||||
|
|
||||||
|
Rope Texture:
|
||||||
|
Tim van de Vall <timvandevall.com>
|
||||||
|
Special permission for use in OpenClonk under the CC BY 3.0 license.
|
||||||
|
|
||||||
|
Wood Texture:
|
||||||
|
Public Domain - CC0
|
||||||
|
|
||||||
|
Metal Texture:
|
||||||
|
"Grzesiek" <https://www.flickr.com/photos/stoyan/>
|
||||||
|
<https://www.flickr.com/photos/stoyan/387961807/>
|
||||||
|
CC BY 2.0 (licensed under CC BY 3.0 after modification)
|
|
@ -0,0 +1,7 @@
|
||||||
|
[DefCore]
|
||||||
|
id=WoodenSign
|
||||||
|
Version=9,0
|
||||||
|
Category=C4D_StaticBack
|
||||||
|
Width=12
|
||||||
|
Height=10
|
||||||
|
Offset=-6,-5
|
Binary file not shown.
|
@ -0,0 +1,27 @@
|
||||||
|
material WoodenSign
|
||||||
|
{
|
||||||
|
receive_shadows on
|
||||||
|
technique
|
||||||
|
{
|
||||||
|
pass
|
||||||
|
{
|
||||||
|
scene_blend one zero
|
||||||
|
|
||||||
|
alpha_rejection greater_equal 128
|
||||||
|
alpha_to_coverage on
|
||||||
|
cull_hardware none
|
||||||
|
|
||||||
|
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
|
||||||
|
diffuse 0.6400000190734865 0.6400000190734865 0.6400000190734865 1.0
|
||||||
|
specular 0.09375 0.09375 0.09375 0.0 52.25
|
||||||
|
emissive 0.0 0.0 0.0 0.0
|
||||||
|
|
||||||
|
texture_unit
|
||||||
|
{
|
||||||
|
texture WoodenSign.jpg
|
||||||
|
tex_address_mode wrap
|
||||||
|
filtering trilinear
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
/**
|
||||||
|
Wooden Sign
|
||||||
|
Is attached to a wall and has an inscription.
|
||||||
|
|
||||||
|
@author Maikel, Foaly (graphics)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include EnvPack_Guidepost
|
||||||
|
|
||||||
|
|
||||||
|
public func Construction()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
public func Definition(def)
|
||||||
|
{
|
||||||
|
// Inscription editor props.
|
||||||
|
if (!def.EditorProps)
|
||||||
|
def.EditorProps = {};
|
||||||
|
def.EditorProps.inscription = { Name="$Inscription$", Type="string", EditorHelp="$InscriptionHelp$", Set="SetInscription", Save="Inscription", Translatable=true };
|
||||||
|
def.MeshTransformation = Trans_Mul(Trans_Translate(-600, -400), Trans_Rotate(90, 0, 1, 0),Trans_Scale(900));
|
||||||
|
def.PictureTransformation = Trans_Rotate(90, 0, 1, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*-- Properties --*/
|
||||||
|
|
||||||
|
local Name = "$Name$";
|
||||||
|
local Description = "$Description$";
|
|
@ -0,0 +1,4 @@
|
||||||
|
Name=Holzbrett
|
||||||
|
Description=Behält wichtige Informationen.
|
||||||
|
Inscription=Beschriftung
|
||||||
|
InscriptionHelp=Text der beim Lesen des Holzbrettes angezeigt wird.
|
|
@ -0,0 +1,4 @@
|
||||||
|
Name=Wooden Sign
|
||||||
|
Description=Contains important information.
|
||||||
|
Inscription=Inscription
|
||||||
|
InscriptionHelp=Text that can be read by interacting with the wooden sign.
|
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
Loading…
Reference in New Issue