Changeset 10748 for code/branches
- Timestamp:
- Nov 2, 2015, 2:10:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10743 r10748 45 45 waves = 3 46 46 enemies = 5 47 allies = 5 47 48 ?> 48 49 … … 188 189 189 190 <!-- TODO: fictive unit; to be added later --> 190 <DistanceTrigger name="joinedUnit" position="3 500,-1500,0" distance=100 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />191 <Billboard position="3 500,-1500,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> <!-- For debugging puropses -->191 <DistanceTrigger name="joinedUnit" position="3000,-2000,0" distance=100 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true /> 192 <Billboard position="3000,-1000,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> <!-- For debugging puropses --> 192 193 193 194 <EventMultiTrigger name="wave1" activations="1" stayactive="true" delay=4> … … 555 556 556 557 <!-- FPS Player as destination of dock C--> 557 <FpsPlayer team=0 template = "fps" r adarname = "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"> 558 559 <attached> 559 560 <DockingTarget name="fpsMode" /> … … 610 611 ?> 611 612 613 <!-- Allies, 3000,-2000 --> 614 <?lua 615 for i = 1, allies, 1 616 do 617 x = 3000 + math.cos(2*math.pi/5*(i+1))*100 618 y = -2000 + math.sin(2*math.pi/5*(i+1))*100 619 ?> 620 <SpaceShip visible=false active=false name="allies<?lua print(k)?>" radarname="Ally" position="<?lua print(x)?>,<?lua print(y)?>,<?lua print(math.pow(-1,i)*100) ?>" lookat="0,0,0" team=0> 621 <templates> 622 <Template link="spaceshipassff2" /> 623 </templates> 624 <events> 625 <visibility> 626 <EventListener event="dockedA" /> 627 </visibility> 628 <activity> 629 <EventListener event="dockedA" /> 630 </activity> 631 </events> 632 <attached> 633 <DistanceTriggerBeacon name="NPC" /> 634 </attached> 635 <controller> 636 <WaypointPatrolController accuracy=1000 name="allyController" alertnessradius=500 team=0 active=false> 637 <waypoints> 638 <StaticEntity position="0,0,0" /> 639 </waypoints> 640 <events> 641 <activity> 642 <EventListener event="joinedUnit" /> 643 </activity> 644 </events> 645 </WaypointPatrolController> 646 </controller> 647 </SpaceShip> 648 <?lua end ?> 649 612 650 <!-- Enemies. Outer loop defines waves, inner loop defines enemies in every wave. --> 613 651 <?lua … … 621 659 y = math.sin(math.pi/8*(i+1))*1500 622 660 ?> 623 <SpaceShip visible=false active=f lase 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>661 <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> 624 662 <templates> 625 663 <Template link="spaceshippirate" /> … … 637 675 </attached> 638 676 <controller> 639 <WaypointPatrolController name="attackController" a lertnessradius=50 team=1 active=false>677 <WaypointPatrolController name="attackController" accuracy=100 alertnessradius=200 team=1 active=false> 640 678 <waypoints> 641 679 <Attacher target="transporter" deletewithparent=false /> … … 652 690 <?lua end ?> 653 691 654 <Formation>655 656 </Formation>657 692 658 693 <!-- Transporter, starting Point is near A, end Point near B, the circle parameters for the waypoints are: Center = (0, -887, 0), r = 2613 -->
Note: See TracChangeset
for help on using the changeset viewer.