Compare commits

...

13 Commits

Author SHA1 Message Date
Tobias Zwick 6d9dfc0fb8 Merge remote-tracking branch '_origin/master' into shapetextures 2016-01-16 16:54:02 +01:00
Tobias Zwick 01cbe4d17f fix problems with scenarios after having added the shape textures 2016-01-16 16:52:17 +01:00
Tobias Zwick eff4820a69 correct normals of earth textures (green channel was inverted) 2016-01-16 16:45:05 +01:00
Tobias Zwick 9c597047f1 Merge branch 'master' into shapetextures 2016-01-15 22:38:12 +01:00
Tobias Zwick 62b6448bdb finetuning shape defs 2016-01-15 22:37:51 +01:00
Tobias Zwick 6270f682d3 add scenario for website header 2016-01-15 19:51:34 +01:00
Tobias Zwick a486c23671 reorder materials so i.e. sand does not paint over a rock shape anymore.
* all non-diggable materials are now in front of diggable materials
* except: firestone and coal are still in front of rock

At least this change makes it necessary to test every scenario we have if there are any problems with the landscape
2016-01-12 01:18:03 +01:00
Tobias Zwick d1ca7fe059 fix tiling of the gold normal texture 2016-01-12 01:18:03 +01:00
Tobias Zwick 4ace35cee1 add new shape and normal textures to hideout.ocs 2016-01-12 01:18:03 +01:00
Tobias Zwick 28e48173ec fix bug in the ore color texture (rendering done by Matthias) 2016-01-12 01:18:03 +01:00
Tobias Zwick cbd49913c2 add shape textures to Amethyst, Ruby, Firestone, Gold, Everrock, Ore and enhance shape textures of Granite and Rock.
* move ruby texture phase by 50% so ruby and amethyst do not look like the same material with a different color when next to each other so much
2016-01-12 01:18:03 +01:00
Tobias Zwick c0e9287bae make granite and rock shape indexed 2016-01-12 01:18:03 +01:00
Tobias Zwick 863cfc42ba add a shape map for amethyst and ruby; also, fix a small issue with tiling the textures horizontally 2016-01-12 01:18:03 +01:00
39 changed files with 214 additions and 16 deletions

View File

@ -9,3 +9,7 @@ MaxSlide=1
Corrode=60
Placement=21
TextureOverlay=amethyst
LightEmit=128,90,164
LightSpot=160,96,128
LightAngle=204
MinShapeOverlap=30

View File

@ -9,3 +9,7 @@ MaxSlide=1
Corrode=60
Placement=21
TextureOverlay=ruby
LightEmit=0,0,128
LightSpot=208,96,96
LightAngle=204
MinShapeOverlap=30

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,162 @@
/* Automatically created objects file */
func InitializeObjects()
{
CreateObjectAbove(Grass, 572, 486);
CreateObjectAbove(Grass, 566, 484);
CreateObjectAbove(Grass, 553, 484);
CreateObjectAbove(Grass, 583, 485);
CreateObjectAbove(Grass, 588, 486);
CreateObjectAbove(Grass, 789, 469);
CreateObjectAbove(Grass, 754, 437);
CreateObject(Grass, 795, 474);
CreateObjectAbove(Grass, 855, 454);
CreateObjectAbove(Grass, 868, 454);
CreateObject(Grass, 362, 405);
CreateObjectAbove(Grass, 257, 436);
CreateObjectAbove(Grass, 253, 441);
var Torch001 = CreateObject(Torch, 366, 544);
Torch001->AttachToWall(false);
Torch001->SetR(-20);
var Branch001 = CreateObject(Branch, 490, 459);
Branch001->SetR(140);
CreateObjectAbove(Fern, 663, 487);
CreateObjectAbove(Fern, 522, 488);
CreateObjectAbove(Fern, 484, 488);
CreateObjectAbove(Fern, 670, 496);
CreateObjectAbove(Flower, 666, 497);
var Flower002 = CreateObject(Flower, 529, 484);
Flower002->SetR(30);
CreateObjectAbove(Flower, 594, 494);
CreateObjectAbove(Flower, 561, 494);
CreateObjectAbove(Flower, 794, 480);
CreateObjectAbove(Tree_Coniferous2, 814, 542);
var Tree_Coniferous3001 = CreateObject(Tree_Coniferous3, 719, 424);
Tree_Coniferous3001->SetR(-10);
var Trunk001 = CreateObject(Trunk, 482, 476);
Trunk001->SetCon(60);
Trunk001->SetR(160);
var Branch002 = CreateObject(Branch, 496, 454);
Branch002->SetR(110);
var Trunk002 = CreateObject(Trunk, 423, 515);
Trunk002->SetCon(60);
Trunk002->SetR(70);
CreateObjectAbove(Tree_Coniferous3, 807, 516);
CreateObjectAbove(Flower, 862, 463);
CreateObjectAbove(Fern, 911, 449);
CreateObjectAbove(Tree_Coniferous3, 223, 516);
CreateObject(Fern, 265, 422);
CreateObjectAbove(Zaphive, 822, 502);
Zap->Place(1, 6, Shape->Rectangle(770, 445, 50, 50));
CreateObjectAbove(Chest, 757, 687);
var Clonk001 = CreateObjectAbove(Clonk, 351, 549, 0);
Clonk001->SetDir(DIR_Left);
var Wipf001 = CreateObjectAbove(Wipf, 270, 606);
Wipf001->SetDir(DIR_Right);
CreateObjectAbove(Fish, 840, 572);
CreateObjectAbove(Fish, 919, 564);
CreateObjectAbove(Fish, 942, 586);
CreateObjectAbove(Fish, 909, 588);
CreateObjectAbove(Fish, 112, 595);
CreateObjectAbove(Fish, 165, 551);
CreateObjectAbove(Fish, 180, 571);
var Mosquito001 = CreateObjectAbove(Mosquito, 866, 519);
Mosquito001->SetComDir(COMD_None);
var Mosquito002 = CreateObjectAbove(Mosquito, 867, 519);
Mosquito002->SetComDir(COMD_None);
var Mosquito003 = CreateObjectAbove(Mosquito, 878, 512);
Mosquito003->SetComDir(COMD_None);
var Mosquito004 = CreateObjectAbove(Mosquito, 875, 520);
Mosquito004->SetComDir(COMD_None);
var Mosquito005 = CreateObjectAbove(Mosquito, 867, 523);
Mosquito005->SetComDir(COMD_None);
var Mosquito006 = CreateObjectAbove(Mosquito, 870, 515);
Mosquito006->SetComDir(COMD_None);
var Mosquito007 = CreateObjectAbove(Mosquito, 859, 522);
Mosquito007->SetComDir(COMD_None);
var Mosquito008 = CreateObjectAbove(Mosquito, 858, 522);
Mosquito008->SetComDir(COMD_None);
var Mosquito009 = CreateObjectAbove(Mosquito, 864, 525);
Mosquito009->SetComDir(COMD_None);
var Mosquito010 = CreateObjectAbove(Mosquito, 855, 514);
Mosquito010->SetComDir(COMD_None);
var Mosquito011 = CreateObjectAbove(Mosquito, 861, 507);
Mosquito011->SetComDir(COMD_None);
var Mosquito012 = CreateObjectAbove(Mosquito, 865, 514);
Mosquito012->SetComDir(COMD_None);
var Mosquito013 = CreateObjectAbove(Mosquito, 841, 525);
Mosquito013->SetComDir(COMD_None);
var Mosquito014 = CreateObjectAbove(Mosquito, 842, 525);
Mosquito014->SetComDir(COMD_None);
var Mosquito015 = CreateObjectAbove(Mosquito, 853, 518);
Mosquito015->SetComDir(COMD_None);
var Mosquito016 = CreateObjectAbove(Mosquito, 850, 526);
Mosquito016->SetComDir(COMD_None);
var Mosquito017 = CreateObjectAbove(Mosquito, 872, 532);
Mosquito017->SetComDir(COMD_None);
var Mosquito018 = CreateObjectAbove(Mosquito, 861, 515);
Mosquito018->SetComDir(COMD_None);
var Mosquito019 = CreateObjectAbove(Mosquito, 850, 522);
Mosquito019->SetComDir(COMD_None);
var Mosquito020 = CreateObjectAbove(Mosquito, 860, 528);
Mosquito020->SetComDir(COMD_None);
CreateObjectAbove(Piranha, 878, 578);
CreateObjectAbove(Piranha, 885, 552);
var Butterfly001 = CreateObjectAbove(Butterfly, 856, 450);
Butterfly001->SetComDir(COMD_None);
Butterfly001->SetCommand("Call", Butterfly001, nil, 0, nil, "MissionComplete");
Butterfly001->SetAction("Fly");
var Butterfly002 = CreateObjectAbove(Butterfly, 909, 442);
Butterfly002->SetComDir(COMD_None);
Butterfly002->SetCommand("Call", Butterfly002, nil, 0, nil, "MissionComplete");
Butterfly002->SetAction("Fly");
var Butterfly003 = CreateObjectAbove(Butterfly, 586, 482);
Butterfly003->SetComDir(COMD_None);
Butterfly003->SetCommand("Call", Butterfly003, nil, 0, nil, "MissionComplete");
Butterfly003->SetAction("Fly");
CreateObjectAbove(Mushroom, 414, 471);
CreateObjectAbove(Mushroom, 409, 471);
CreateObjectAbove(Mushroom, 471, 487);
CreateObjectAbove(Mushroom, 474, 486);
CreateObjectAbove(Mushroom, 347, 479);
var Seaweed001 = CreateObjectAbove(Seaweed, 689, 528);
Seaweed001->SetYDir(16);
var Seaweed002 = CreateObjectAbove(Seaweed, 680, 537);
Seaweed002->SetYDir(16);
var Seaweed003 = CreateObjectAbove(Seaweed, 719, 536);
Seaweed003->SetYDir(16);
var Seaweed004 = CreateObjectAbove(Seaweed, 687, 529);
Seaweed004->SetYDir(16);
var Seaweed005 = CreateObjectAbove(Seaweed, 778, 531);
Seaweed005->SetYDir(16);
var Seaweed006 = CreateObjectAbove(Seaweed, 782, 529);
Seaweed006->SetYDir(16);
var Seaweed007 = CreateObjectAbove(Seaweed, 836, 606);
Seaweed007->SetYDir(16);
var Seaweed008 = CreateObjectAbove(Seaweed, 819, 581);
Seaweed008->SetYDir(16);
return true;
}

View File

@ -0,0 +1,18 @@
[Head]
Icon=26
Title=Header
Version=7
NoInitialize=true
[Player1]
[Player2]
[Player3]
[Player4]
[Landscape]
Sky=Clouds2
MapWidth=150,0,64,10000
MapHeight=120,0,40,10000

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -0,0 +1,5 @@
[Teams]
Active=false
Custom=false
AllowHostilityChange=true
AutoGenerateTeams=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -12,4 +12,5 @@ Placement=21
TextureOverlay=amethyst
LightEmit=128,90,164
LightSpot=160,96,128
LightAngle=204
LightAngle=204
MinShapeOverlap=30

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

View File

@ -7,4 +7,5 @@ MaxAirSpeed=100
MaxSlide=250
Placement=70
TextureOverlay=everrock
LightSpot=11,25,11
LightSpot=11,25,11
MinShapeOverlap=20

View File

@ -14,4 +14,5 @@ MaxSlide=1
Corrode=50
Placement=40
TextureOverlay=firestone
Inflammable=1
Inflammable=1
MinShapeOverlap=50

View File

@ -13,3 +13,4 @@ TextureOverlay=gold
LightEmit=0,64,64
LightSpot=64,128,64
LightAngle=230
MinShapeOverlap=10

View File

@ -10,3 +10,4 @@ MaxAirSpeed=100
MaxSlide=1
Placement=50
TextureOverlay=ore
MinShapeOverlap=25

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 84 KiB

View File

@ -12,4 +12,5 @@ Placement=21
TextureOverlay=ruby
LightEmit=0,0,128
LightSpot=208,96,96
LightAngle=204
LightAngle=204
MinShapeOverlap=30

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

View File

@ -25,22 +25,21 @@
33=Ashes-ashes
35=SandDry-sand
36=Ore-ore
50=Rock-rock
51=Rock-rock_smooth
53=Firestone-firestone
54=Coal-coal
55=Sand-sand
56=Sand-sand
70=Snow-snow1
65=Ice-ice
67=Ice-ice2
70=Snow-snow1
50=Rock-rock
51=Rock-rock_smooth
54=Coal-coal
53=Firestone-firestone
36=Ore-ore
40=Granite-granite
42=Granite-granite

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -99,7 +99,7 @@ private func InitMines()
lorry->CreateContents(Metal, 32);
// Another lorry with coal and ore in the lower part of the mines.
var lorry = CreateObjectAbove(Lorry, 592, 974);
var lorry = CreateObjectAbove(Lorry, 517, 974);
lorry->CreateContents(Ore, 8);
lorry->CreateContents(Coal, 16);
@ -149,7 +149,7 @@ private func InitAI()
npc_chief->SetDialogue("Chief", true);
// A miner npc for random conversation.
var npc_miner = CreateObjectAbove(Clonk, 360, 974);
var npc_miner = CreateObjectAbove(Clonk, 300, 974);
npc_miner->SetColor(0x990099);
npc_miner->SetName("Demi");
npc_miner->SetObjectLayer(npc_miner);