stable-5.2
Sven Eberhardt 2010-01-03 20:18:25 +01:00
parent c185bdbe2b
commit e3553f8291
7 changed files with 106 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -0,0 +1,59 @@
[Head]
Icon=26
Title=S2SkyRace
Version=4,10
Difficulty=10
Access=1
MaxPlayer=8
NoInitialize=0
ForcedGfxMode=1
[Definitions]
Definition1=Objects.c4d
[Game]
Goals=RACE=1
Rules=RSTR=1
[Player1]
Wealth=50,0,0,250
Crew=CLNK=1
[Player2]
Wealth=50,0,0,250
Crew=CLNK=1
[Player3]
Wealth=50,0,0,250
Crew=CLNK=1
[Player4]
Wealth=50,0,0,250
Crew=CLNK=1
[Landscape]
Vegetation=TRE1=1;TRE2=2;TRE3=1;TRE4=1
VegetationLevel=100,0,0,100
InEarth=ROCK=1;GOLD=1;DYNA=1;LOAM=1
InEarthLevel=65,0,0,100
Sky=Clouds2
BottomOpen=1
MapWidth=500,0,64,10000
MapHeight=100,0,40,10000
Amplitude=10,10,0,100
Phase=50,50,0,100
Period=10,10,0,100
Random=20,20,0,100
Liquid=Water-Smooth
LiquidLevel=20,30,0,100
Layers=Rock=7;Rock=7;Gold=7;Granite=4;Water=5;Earth-earth=50;Earth-earth_dry=50
SkyScrollMode=2
NewStyleLandscape=2
[Weather]
Climate=0,0,0,100
YearSpeed=20,10,0,100
Wind=1,100,-100,100
[Environment]
Objects=EGLN=1;EGRS=1

View File

@ -0,0 +1,32 @@
/* Sky race */
func InitializePlayer(int plr)
{
return JoinPlayer(plr);
}
private func JoinPlayer(int plr)
{
var obj=GetCrew(plr);
obj->DoEnergy(100000);
obj->SetPosition(10+Random(50), LandscapeHeight()/2-15);
return true;
}
/* Relaunch */
public func RelaunchPlayer(int plr)
{
var clnk=CreateObject(CLNK,0,0,plr);
clnk->MakeCrewMember(plr);
SetCursor(plr,clnk);
SelectCrew(plr, clnk, 1);
Log(RndRelaunchMsg(), GetPlayerName(plr));
return JoinPlayer(plr);
}
private func RndRelaunchMsg()
{
return Translate(Format("RelaunchMsg%d", Random(4)));
}

View File

@ -0,0 +1,4 @@
RelaunchMsg0=%s versucht es nochmal.
RelaunchMsg1=%s ist tot.
RelaunchMsg2=Eine Runde Gelaechter fuer %s.
RelaunchMsg3=Wir trauern um %s.

View File

@ -0,0 +1,4 @@
RelaunchMsg0=%s tries it again.
RelaunchMsg1=%s is dead.
RelaunchMsg2=Haha, %s!
RelaunchMsg3=We're mourning %s.

View File

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

View File

@ -0,0 +1,2 @@
DE:OC Himmelsrennen
US:OC Skyrace