Changeset 11499 for code/branches/HUD_HS16/data/levels
- Timestamp:
- Oct 23, 2017, 2:56:00 PM (7 years ago)
- Location:
- code/branches/HUD_HS16
- Files:
-
- 12 deleted
- 4 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/HUD_HS16
- Property svn:mergeinfo changed
-
code/branches/HUD_HS16/data/levels/HeavyCruiser.oxw
r11497 r11499 34 34 35 35 <!-- HeavyCruiser and all its parts in one static entity --> 36 < !--StaticEntity position="-300,0,-2000" direction="0,0,0" yaw="180" collisionType=static mass=100000 friction=0.01 >36 <StaticEntity position="-300,0,-2000" direction="0,0,0" yaw="180" collisionType=static mass=100000 friction=0.01 > 37 37 <attached> 38 38 <Model mesh="HeavyCruiser_body.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> … … 46 46 <Model mesh="HeavyCruiser_sidearmRfront.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> 47 47 48 <!-- bay1 lights --> 48 49 <BlinkingBillboard position="75,30,-416" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.05 frequency=0.3 phase=240 quadratic=1 /> 49 50 <BlinkingBillboard position="-75,30,-416" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.05 frequency=0.3 phase=240 quadratic=1 /> … … 52 53 <BlinkingBillboard position="73,30,-388" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.15 frequency=0.3 phase=0 quadratic=1 /> 53 54 <BlinkingBillboard position="-73,30,-388" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.15 frequency=0.3 phase=0 quadratic=1 /> 54 55 <!-- front position lights --> 55 56 <BlinkingBillboard position="67,-5,-240" material="Examples/Flare" colour="0, 0.7, 0, 0.1" amplitude=0.3 frequency=0.15 phase=0 quadratic=1 /> 56 57 <BlinkingBillboard position="-67,-5,-240" material="Examples/Flare" colour="0.7, 0, 0, 0.1" amplitude=0.3 frequency=0.15 phase=360 quadratic=1 /> 57 58 <BlinkingBillboard position="72,51,-380" material="Examples/Flare" colour="0, 0.7, 0, 0.1" amplitude=0.3 frequency=0.15 phase=360 quadratic=1 /> 58 59 <BlinkingBillboard position="-72,51,-380" material="Examples/Flare" colour="0.7, 0, 0, 0.1" amplitude=0.3 frequency=0.15 phase=0 quadratic=1 /> 59 60 <!-- rear position lights --> 60 61 <BlinkingBillboard position="95,-15,483" material="Examples/Flare" colour="0, 0.7, 0, 0.1" amplitude=0.3 frequency=0.15 phase=360 quadratic=1 /> 61 62 <BlinkingBillboard position="-95,-15,483" material="Examples/Flare" colour="0.7, 0, 0, 0.1" amplitude=0.3 frequency=0.15 phase=0 quadratic=1 /> … … 292 293 <BoxCollisionShape position="0,18,69" halfExtents="23,12,1" info="HOOKBOX, wide"/> 293 294 <BoxCollisionShape position="0,18,47" halfExtents="23,12,1" info="HOOKBOX, wide"/> 295 296 <!-- <BoxCollisionShape position="-11,18,102" halfExtents="10,10,10" info="HOOK, sidearmL"/> 297 <BoxCollisionShape position="11,18,102" halfExtents="10,10,10" info="HOOK, sidearmR"/> 298 <BoxCollisionShape position="-11,18,80" halfExtents="10,10,10" info="HOOK, partL"/> 299 <BoxCollisionShape position="11,18,80" halfExtents="10,10,10" info="HOOK, partR"/> 300 <BoxCollisionShape position="-11,18,58" halfExtents="10,10,10" info="HOOK, frontL"/> 301 <BoxCollisionShape position="11,18,58" halfExtents="10,10,10" info="HOOK, frontR"/>--> 294 302 </collisionShapes> 295 </StaticEntity -->303 </StaticEntity> 296 304 297 305 <!-- Width/Height/Lenght--><!-- B=back F=front C=center--> 298 < !--StaticEntity position="300,0,-2000" direction="0,0,0" yaw="180" collisionType=static mass=100000 friction=0.01 >306 <StaticEntity position="300,0,-2000" direction="0,0,0" yaw="180" collisionType=static mass=100000 friction=0.01 > 299 307 <attached> 300 308 <Model position="80,33,-320" mesh="cube.mesh" scale3D="7,11,54" info="frontR"/> … … 350 358 <Model position="153,60,-65" roll="-15" mesh="cube.mesh" scale3D="4,3,4" info="sidearmRfront, top"/> 351 359 <Model position="153,59,-41" roll="-15" mesh="cube.mesh" scale3D="8,2,11" info="sidearmRfront, top"/> 360 361 <!--<Model position="145,21,50" mesh="cube.mesh" scale3D="10,10,20" info="sidearmRfront, HOOK"/>--> 352 362 353 363 … … 389 399 <Model position="-153,59,-41" roll="15" mesh="cube.mesh" scale3D="8,2,11" info="sidearmLfront, top"/> 390 400 401 <!--<Model position="-145,21,50" mesh="cube.mesh" scale3D="10,10,20" info="sidearmLfront, HOOK"/>--> 402 391 403 392 404 <Model position="60,35,-310" mesh="cube.mesh" scale3D="13,28,60" info="body, bay1, Rwall"/> … … 532 544 <collisionShapes> 533 545 </collisionShapes> 534 </StaticEntity -->546 </StaticEntity> 535 547 536 548 … … 726 738 </Pawn> 727 739 728 < !--Pawn team=1 health=300 initialhealth=300 maxhealth=300 position="0,300,-2000" yaw="180" direction="0,0,0" collisionType=dynamic mass=1000 name=HeavyCruiser_sidearmL radarname = "HIDDEN" >740 <Pawn team=1 health=300 initialhealth=300 maxhealth=300 position="0,300,-2000" yaw="180" direction="0,0,0" collisionType=dynamic mass=1000 name=HeavyCruiser_sidearmL radarname = "HIDDEN" > 729 741 730 742 <explosion> … … 740 752 <BoxCollisionShape position="-11,18,102" halfExtents="10,10,10" info="HOOK, sidearmL"/> 741 753 754 <!-- <BoxCollisionShape position="-109,47,87" halfExtents="29,8,26" info="sidearmL, upper connection"/> 755 <BoxCollisionShape position="-99,-1,79" roll="15" halfExtents="40,4,9" info="sidearmL, lower connection"/>--> 742 756 <BoxCollisionShape position="-151,47,115" roll="15" halfExtents="16,2,105" info="sidearmL, frontTop"/> 743 757 <BoxCollisionShape position="-136,-7,115" roll="15" halfExtents="16,2,105" info="sidearmL, frontBottom"/> … … 746 760 <BoxCollisionShape position="-145,21,12" roll="15" halfExtents="16,28,2" info="sidearmL, front"/> 747 761 <BoxCollisionShape position="-140,12,261" roll="15" halfExtents="22,41,43" info="sidearmL, back"/> 762 <!--<BoxCollisionShape position="-145,25,5" roll="15" halfExtents="10,18,5" info="sidearmL, front break"/>--> 748 763 <BoxCollisionShape position="-133,-13,29" roll="15" halfExtents="12,6,17" info="sidearmL, bottom cylinder"/> 749 764 <BoxCollisionShape position="-165,-4,31" roll="15" halfExtents="7,21,13" info="sidearmL, box"/> … … 801 816 <collisionShapes> 802 817 <BoxCollisionShape position="11,18,102" halfExtents="10,10,10" info="HOOK, sidearmR"/> 818 819 <!--<BoxCollisionShape position="109,47,87" halfExtents="29,8,26" info="sidearmR, upper connection"/> 820 <BoxCollisionShape position="99,-1,79" roll="-15" halfExtents="40,4,9" info="sidearmR, lower connection"/>--> 803 821 <BoxCollisionShape position="151,47,115" roll="-15" halfExtents="16,2,105" info="sidearmR, frontTop"/> 804 822 <BoxCollisionShape position="136,-7,115" roll="-15" halfExtents="16,2,105" info="sidearmR, frontBottom"/> … … 807 825 <BoxCollisionShape position="145,21,12" roll="-15" halfExtents="16,28,2" info="sidearmR, front"/> 808 826 <BoxCollisionShape position="140,12,261" roll="-15" halfExtents="22,41,43" info="sidearmR, back"/> 827 <!--<BoxCollisionShape position="145,25,5" roll="-15" halfExtents="10,18,5" info="sidearmR, front break"/>--> 809 828 <BoxCollisionShape position="133,-13,29" roll="-15" halfExtents="12,6,17" info="sidearmR, bottom cylinder"/> 810 829 <BoxCollisionShape position="165,-4,31" roll="-15" halfExtents="7,21,13" info="sidearmR, box"/> … … 911 930 <BoxCollisionShape position="96,33,-230" halfExtents="13,17,22" info="partR"/> 912 931 </collisionShapes> 913 </Pawn -->932 </Pawn> 914 933 915 934 … … 918 937 919 938 <SpawnPoint team=0 position="0,0,0" lookat="0,0,-100" spawnclass=SpaceShip pawndesign=HeavyCruiserBody /> 939 940 <?lua 941 --[[ 942 With this lua script, the sub-parts of HeavyCruiser can easily be inserted into a level. 943 Available functions are: 944 To place all subparts: 945 placeAllSubParts(team, posX, posY, posZ, dirX, dirY, dirZ) 946 To place individual parts: 947 placeFrontL(...) Use the same arguments as in placeAllSubParts 948 placeFrontR(...) 949 placePartL(...) 950 placePartR(...) 951 placeSidearmL(...) 952 placeSidearmLfront(...) 953 placeSidearmR(...) 954 placeSidearmRfront(...) 955 ]]-- 956 957 dofile("includes/HeavyCruiserParts.lua") 958 placeAllSubParts(0, 0,0,0, 0,0,0) 959 ?> 920 960 921 961 <!-- <SpawnPoint team=0 position="0,-200,0" lookat="0,-200,-100" spawnclass=SpaceShip pawndesign=HeavyCruiser /> --> -
code/branches/HUD_HS16/data/levels/emptyLevel.oxw
r11497 r11499 1 1 <LevelInfo 2 name = " emptyLevel"2 name = "Empty level" 3 3 description = "A level with absolutely nothing in it." 4 4 tags = "test" … … 10 10 include("HUDTemplates3.oxo") 11 11 include("templates/lodInformation.oxt") 12 include("templates/HeavyCruiser.oxt")13 12 ?> 14 13 15 14 <?lua 16 15 include("templates/spaceshipEscort.oxt") 17 include("templates/endurancetest_template.oxt")18 16 ?> 19 17 … … 31 29 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> 32 30 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> 33 34 <ModularSpaceShip velocity= "20,0,0" position="0,0,200" lookat= "0,0,0" health="1000" maxhealth="1000" initialhealth="1000">35 <templates>36 <Template link=endurance />37 </templates>38 </ModularSpaceShip>39 31 40 32 </Scene> -
code/branches/HUD_HS16/data/levels/events.oxw
r11497 r11499 57 57 --> 58 58 59 <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true" /> 60 <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,1"/> 61 62 <NextQuestion question="Continue?" a1="yes" a2="no" > 63 <possibleQuestions> 64 <NextQuestion question="Are you sure?" a1="yep let me continue" a2="no actually not" /> 65 <NextQuestion question="Why?" a1="Got a dentist's appointment" a2="this sucks" > 66 <possibleQuestions> 67 <NextQuestion question="Are your teeth that bad mate?" a1="yep" a2="leave me alone godammit" /> 68 <NextQuestion question="You suck" a1="..." a2="Im going now okay" /> 69 </possibleQuestions> 70 </NextQuestion> 71 </possibleQuestions> 59 60 <!-- red --> 61 <!-- 62 Standard: 63 Direct event-connection between an event-listener (Billboard) and an event source (DistanceTrigger). 64 Every fired event of the source is mapped to the "visibility" state of the listener. 65 66 This is a 1:1 mapping between event-listener and event-source. 67 --> 68 <Billboard position="300,150,0" material="Examples/Flare" colour="1.0, 1.0, 1.0" visible=0> 69 <events> 70 <visibility> 71 <DistanceTrigger position="300,100,0" distance=25 target="ControllableEntity" /> 72 </visibility> 73 </events> 74 </Billboard> 75 76 <!-- HELLO THERE ................................................................ ITS ME --> 77 <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true"/> 78 <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,0"/> 79 <DDDialogue string="Hello World3" > 72 80 <events> 73 81 <execute> … … 75 83 </execute> 76 84 </events> 77 </NextQuestion> 78 79 <DistanceTrigger name="test1" position="100,300,0" target="Pawn" distance=25 stayActive="true" /> 80 <Backlight position="100,300,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,1"/> 81 82 <NextQuestion question="Wazzp bud?" a1="yes" a2="no" > 83 <possibleQuestions> 84 <NextQuestion question="Do you like fish" a1="yep let me continue" a2="no actually not" /> 85 <NextQuestion question="Whats your favourite pastime?" a1="Got a dentist's appointment" a2="this sucks" > 86 <possibleQuestions> 87 <NextQuestion question="Whatever?" a1="yep" a2="leave me alone godammit" /> 88 <NextQuestion question="Turtles then?" a1="..." a2="Im going now okay" /> 89 </possibleQuestions> 90 </NextQuestion> 91 </possibleQuestions> 92 <events> 93 <execute> 94 <EventListener event="test1" /> 95 </execute> 96 </events> 97 </NextQuestion> 98 99 100 <!-- red --> 101 <!-- 102 Standard: 103 Direct event-connection between an event-listener (Billboard) and an event source (DistanceTrigger). 104 Every fired event of the source is mapped to the "visibility" state of the listener. 105 106 This is a 1:1 mapping between event-listener and event-source. 107 --> 108 <Billboard position="300,150,0" material="Examples/Flare" colour="1.0, 1.0, 1.0" visible=0> 109 <events> 110 <visibility> 111 <DistanceTrigger position="300,100,0" distance=25 target="ControllableEntity" /> 112 </visibility> 113 </events> 114 </Billboard> 115 116 <!-- HELLO THERE ................................................................ ITS ME --> 117 <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true"/> 118 <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,0"/> 119 <DialogueManager question="Hello World3"> 120 <events> 121 <execute> 122 <EventListener event="test" /> 123 </execute> 124 </events> 125 </DialogueManager> 126 85 </DDDialogue> 127 86 128 87 <!-- orange -->
Note: See TracChangeset
for help on using the changeset viewer.