Changeset 10758
- Timestamp:
- Nov 2, 2015, 4:33:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10754 r10758 5 5 screenshot = "missionOne.png" 6 6 /> 7 8 <!-- Coordinatesystem as following: (y, z, x) -->9 7 10 8 <?lua … … 61 59 62 60 <GlobalQuest id="quest1"> 63 <QuestDescription title="Reach the Station A!" description=" Commander we observed some alien activity on our radars. We suppose they want to attack our shuttle! You need to upgrade your spaceship. So hurry up and move your ass to this dock on your [direction] side!" failMessage="" completeMessage="Good job, we still have some time to prepare for their attack." />61 <QuestDescription title="Reach the Station A!" description="" failMessage="" completeMessage="" /> 64 62 <hints> 65 63 <QuestHint id="quest1hint1" /> … … 186 184 </EventMultiTrigger> 187 185 188 <!-- TODO: fictive unit; to be added later --> 189 <DistanceTrigger name="joinedUnit" position="3000,-2000,0" distance=100 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true /> 190 <Billboard position="3000,-1000,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> <!-- For debugging puropses --> 186 <DistanceTrigger name="joinedUnit" active=false position="3000,-2000,0" distance=100 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true> 187 <events> 188 <activity> 189 <EventListener event="dockedA" /> 190 </activity> 191 </events> 192 </DistanceTrigger> 191 193 192 194 <EventMultiTrigger name="wave1" activations="1" stayactive="true" delay=4> … … 423 425 <!-- (Temporary) Template for stations. Used to define common features of all Stations. --> 424 426 <Template name="station"> 425 <Pawn mass=10000 000collisionType=dynamic friction=0.01>427 <Pawn mass=10000 collisionType=dynamic friction=0.01> 426 428 <attached> 427 429 <Model mesh="HydroHarvester.mesh" position="0,0,0" scale=50 /> … … 554 556 555 557 <!-- FPS Player as destination of dock C--> 556 <FpsPlayer team=0 template = "fps" rotationaxis="0,0,1" radarname ="First Person Player" position="0,-2300,1201">558 <FpsPlayer team=0 template = "fps" rotationaxis="0,0,1" radarname = "First Person Player" position = "0,-2300,1201"> 557 559 <attached> 558 560 <DockingTarget name="fpsMode" /> … … 642 644 ?> 643 645 644 <!-- ws, 3000,-2000 -->646 <!-- Allies, 3000,-2000 --> 645 647 <?lua 646 648 for i = 1, allies, 1 … … 665 667 </attached> 666 668 <controller> 667 <WaypointPatrolController accuracy=1000 name="allyController" alertnessradius=500 team=0 active=false> 668 <waypoints> 669 <StaticEntity position="0,0,0" /> 670 </waypoints> 669 <WaypointPatrolController accuracy=100 name="allyController" alertnessradius=5000 team=0 active=false> 671 670 <events> 672 671 <activity> … … 685 684 ?> 686 685 <?lua 687 for j = enemies, enemies+(3*waves), 3686 for i = 1, enemies, 1 688 687 do 689 ?> 690 <?lua 691 for i = 1, j, 1 692 do 693 x = math.cos(math.pi/(8+4*(k-1))*(i+1))*1500 694 y = math.sin(math.pi/(8+4*(k-1))*(i+1))*1500 688 x = math.cos(math.pi/(8)*(i+1))*1500 689 y = math.sin(math.pi/(8)*(i+1))*1500 695 690 ?> 696 691 <SpaceShip visible=false active=false name="attackers<?lua print(k)?>" radarname="Attacker" position="<?lua print(x)?>,<?lua print(y)?>,<?lua print(math.pow(-1,i)*250) ?>" lookat="0,0,0" team=1> … … 710 705 </attached> 711 706 <controller> 712 <WaypointPatrolController name="attackController" accuracy=100 alertnessradius= 200 team=1 active=false>707 <WaypointPatrolController name="attackController" accuracy=100 alertnessradius=100 team=1 active=false> 713 708 <waypoints> 714 709 <Attacher target="transporter" deletewithparent=false /> … … 724 719 <?lua end ?> 725 720 <?lua end ?> 726 <?lua end ?>727 721 728 722
Note: See TracChangeset
for help on using the changeset viewer.