Changeset 10804 for code/branches/campaignHS15/data
- Timestamp:
- Nov 15, 2015, 12:05:48 AM (9 years ago)
- Location:
- code/branches/campaignHS15/data/levels
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10802 r10804 14 14 include("templates/spaceshipPirate.oxt") 15 15 include("templates/spaceshipEscort.oxt") 16 include("templates/spaceship Transporter.oxt")16 include("templates/spaceshipShuttle.oxt") 17 17 include("templates/FPS.oxt") 18 include("templates/pickupRepresentationTemplates.oxt") 18 19 ?> 19 20 … … 289 290 </EventDispatcher> 290 291 291 <DistanceTrigger active=false name="reachedC" position="<?lua printC(cC) ?>" distance= 1000 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true>292 <DistanceTrigger active=false name="reachedC" position="<?lua printC(cC) ?>" distance=400 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true> 292 293 <events> 293 294 <activity> … … 679 680 <!-- (Temporary) Template for stations. Used to define common features of all Stations. --> 680 681 <Template name="station"> 681 <Pawn mass=10000 collisionType=dynamic friction=0.01>682 <Pawn mass=10000000 collisionType=dynamic friction=0.01> 682 683 <attached> 683 684 <Model mesh="HydroHarvester.mesh" position="0,0,0" scale=50 /> … … 706 707 707 708 <!-- A, Coordinates are approx. (cos(29pi/16), sin(29pi/16), 0)*3000 --> 708 <Pawn name="statA" team=0 radarname="Station A" position="<?lua printC(cA) ?>" direction="<?lua printC(dStation) ?>" initialhealth=10000 maxhealth=10000>709 <Pawn name="statA" team=0 radarname="Station A" position="<?lua printC(cA) ?>" direction="<?lua printC(dStation) ?>" yaw=-50 initialhealth=10000 maxhealth=10000> 709 710 <templates> 710 711 <Template link="station" /> … … 733 734 734 735 <!-- B, Coordinates are approx. (-cos(29pi/16), sin(29pi/16), 0)*3000 --> 735 <Pawn name="statB" team=0 radarname="Station B" position="<?lua printC(cB) ?>" direction="<?lua printC(dStation) ?>" initialhealth=10000 maxhealth=10000>736 <Pawn name="statB" team=0 radarname="Station B" position="<?lua printC(cB) ?>" direction="<?lua printC(dStation) ?>" yaw=210 initialhealth=10000 maxhealth=10000> 736 737 <templates> 737 738 <Template link="station" /> … … 739 740 <attached> 740 741 <DockingTarget name="dockTargetB" /> 741 <Dock position="0,0,0" active= true>742 <Dock position="0,0,0" active=false> 742 743 <animations> 743 744 <MoveToDockingTarget target="dockTargetB" /> … … 766 767 <attached> 767 768 <DockingTarget name="dockTargetC" /> 768 <Dock position="0,0,0" active=true>769 <Dock position="0,0,0"> 769 770 <animations> 770 771 <MoveToDockingTarget target="dockTargetC" /> … … 777 778 <EventListener event="dockC" /> 778 779 </execute> 779 <active>780 <EventListener event="reachedC" />781 </active>782 780 </events> 783 781 <attached> … … 791 789 <EventListener event="undockC" /> 792 790 </execute> 793 <active>794 <EventListener event="reachedC" />795 </active>796 791 </events> 797 792 </Dock> 798 <DistanceTrigger position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockC" /> 793 <DistanceTrigger active=false position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockC"> 794 <events> 795 <activity> 796 <EventListener event="reachedC" /> 797 </activity> 798 </events> 799 </DistanceTrigger> 799 800 <Billboard position="0,0,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> 800 801 </attached> … … 811 812 health = "400" 812 813 initialhealth = "400" 813 maxhealth = " 500"814 maxhealth = "1500" 814 815 shieldhealth = "80" 815 816 initialshieldhealth = "80" … … 924 925 925 926 <!-- Box with Pickups. TODO: Pickups! --> 926 < Pawnteam=0 name="gotPickups" health=30 position="<?lua print((cC[1]+600) .. ',' .. cC[2] .. ',' .. (cC[3]-600)) ?>" direction="0,-1,0" collisionType=dynamic mass=1000 radarname="Supplies" >927 <SpaceShip team=0 name="gotPickups" health=30 position="<?lua print((cC[1]+600) .. ',' .. cC[2] .. ',' .. (cC[3]-600)) ?>" direction="0,-1,0" collisionType=dynamic mass=1000 radarname="Supplies" > 927 928 <events> 928 929 <visibility> … … 934 935 </events> 935 936 <attached> 936 <Model position="0,0,0" mesh="crate.mesh" scale3D=" 5,5,5" />937 <Model position="0,0,0" mesh="crate.mesh" scale3D="10,10,10" /> 937 938 </attached> 938 939 <collisionShapes> 939 <BoxCollisionShape position="0,0,0" halfExtents=" 15,15,15" />940 <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" /> 940 941 </collisionShapes> 941 </Pawn> 942 943 <!-- TODO: these pickups do not work somehow?? their templates are not recognized... 944 945 <PickupSpawner pickup=hugehealthpickup position="<?lua print((cC[1]+600) .. ',' .. cC[2] .. ',' .. (cC[3]-600)) ?>" triggerDistance="10" maxSpawnedItems="1" visible="true"> 942 </SpaceShip> 943 944 <?lua 945 include("includes/pickups.oxi") 946 ?> 947 948 <PickupSpawner pickup=hugeshieldpickup position="<?lua print((cC[1]+585) .. ',' .. cC[2] .. ',' .. (cC[3]-585)) ?>" triggerDistance="15" maxSpawnedItems="1"> 946 949 <events> 947 950 <visibility> 948 <EventListener event=" gotPickups" />951 <EventListener event="readyAfterWave2" /> 949 952 </visibility> 953 <activity> 954 <EventListener event="readyAfterWave2" /> 955 </activity> 950 956 </events> 951 957 </PickupSpawner> 952 958 953 <PickupSpawner pickup= mediumspeedpickup position="<?lua print((cC[1]+600) .. ',' .. cC[2] .. ',' .. (cC[3]-600)) ?>" triggerDistance="10" maxSpawnedItems="1" visible="true">959 <PickupSpawner pickup=crazyhealthpickup position="<?lua print((cC[1]+615) .. ',' .. cC[2] .. ',' .. (cC[3]-615)) ?>" triggerDistance="15" maxSpawnedItems="1"> 954 960 <events> 955 961 <visibility> 956 <EventListener event=" gotPickups" />962 <EventListener event="readyAfterWave2" /> 957 963 </visibility> 964 <activity> 965 <EventListener event="readyAfterWave2" /> 966 </activity> 958 967 </events> 959 968 </PickupSpawner> 960 969 961 --> 970 <PickupSpawner pickup=hugespeedpickup position="<?lua print((cC[1]+585) .. ',' .. cC[2] .. ',' .. (cC[3]-615)) ?>" triggerDistance="15" maxSpawnedItems="1" > 971 <events> 972 <visibility> 973 <EventListener event="readyAfterWave2" /> 974 </visibility> 975 <activity> 976 <EventListener event="readyAfterWave2" /> 977 </activity> 978 </events> 979 </PickupSpawner> 962 980 963 981 <!-- Allies --> … … 1038 1056 <SpaceShip position="<?lua printC(cA) ?>" lookat="<?lua printC(cB) ?>" team=0 name="transporter" radarname="Shuttle"> 1039 1057 <templates> 1040 <Template link="spaceship Transporter" />1058 <Template link="spaceshipShuttle" /> 1041 1059 </templates> 1042 1060 <attached>
Note: See TracChangeset
for help on using the changeset viewer.