Changeset 11897
- Timestamp:
- Apr 20, 2018, 12:47:25 PM (7 years ago)
- Location:
- code/branches/3DPacman_FS18
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/data/levels/3DPacman.oxw
r11896 r11897 28 28 29 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"/> 30 <SpawnPoint team=0 position="0,10,245" lookat="0,0,0" spawnclass= SpaceShippawndesign=PacmanGelb />30 <SpawnPoint team=0 position="0,10,245" lookat="0,0,0" spawnclass=PacmanGelb pawndesign=PacmanGelb /> 31 31 32 32 -
code/branches/3DPacman_FS18/data/levels/templates/PacmanGelb.oxt
r11862 r11897 30 30 boostCooldownDuration = 10 31 31 32 shakeFrequency = 1533 shakeAmplitude = 632 shakeFrequency = 0 33 shakeAmplitude = 0 34 34 35 35 collisionType = "dynamic" … … 43 43 </engines> 44 44 <attached> 45 <Model position="0,0,0" yaw=180 pitch=0 roll=0 scale=7 mesh="PacmanGelb.mesh" /> 45 <Model position="0,0,0" yaw=180 pitch=0 roll=0 scale=5 mesh="PacmanGelb.mesh" /> 46 <!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" /> 47 <Model mesh="cube.mesh" mass=10 position="12.6,-2,3" scale3D="2.8,2.8,11" /> 48 <Model mesh="cube.mesh" mass=10 position="-12.6,-2,3" scale3D="2.8,2.8,11" /> 49 <Model mesh="cube.mesh" mass=10 position="0,0,-12" scale3D="4,4,7" /--> 46 50 </attached> 47 51 <collisionShapes> 48 <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" /> 52 <BoxCollisionShape position="0 ,0 , 3" halfExtents="10, 4,8" /> 53 <BoxCollisionShape position="12.6 ,-2, 3" halfExtents="2.8,2.8,11"/> 54 <BoxCollisionShape position="-12.6,-2, 3" halfExtents="2.8,2.8,11"/> 55 <BoxCollisionShape position="0, 0,-12" halfExtents="4 , 4 ,7" /> 49 56 </collisionShapes> 50 57 <explosion> … … 69 76 <PacmanGelb> 70 77 <camerapositions> 71 <CameraPosition position="0, 0, 60" drag=false mouselook=true />78 <CameraPosition position="0,7, 5" drag=true mouselook=true /> 72 79 </camerapositions> 73 80 </PacmanGelb> … … 76 83 <Template name=spaceshipescortengine baseclass=MultiStateEngine> 77 84 <MultiStateEngine 78 boostfactor = 2.285 boostfactor = 1.0 79 86 80 speedfront = 20087 speedfront = 100 81 88 speedback = 70 82 speedleftright = 7083 speedupdown = 089 speedleftright = 5 90 speedupdown = 70 84 91 85 92 defEngineSndNormal = "sounds/Engine_low.ogg" 86 93 defEngineSndBoost = "sounds/Engine_high.ogg" 87 94 88 accelerationfront = 70089 accelerationbrake = 70090 accelerationback = 12591 accelerationleftright = 12592 accelerationupdown = 095 accelerationfront = 50 96 accelerationbrake = 50 97 accelerationback = 50 98 accelerationleftright = 5 99 accelerationupdown = 50 93 100 > 101 <EffectContainer condition="idle"> 102 <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/> 103 /> 104 <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, -2, 14" colour="0.2, 0.5, 0.65, 1.0" width=150 length=15 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=2 turnofftime=1 material="Flares/ThrusterFlare1" /> 105 <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, -2, 14" colour="0.2, 0.5, 0.65, 1.0" width=15 length=15 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=2 turnofftime=1 material="Flares/ThrusterFlare1" /> 106 </EffectContainer> 107 <EffectContainer condition="not idle"> 108 <FadingBillboard mainstate=activity active=false scale=0.09 position="12, -2, 13" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 109 <FadingBillboard mainstate=activity active=false scale=0.09 position="-12, -2, 13" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 110 </EffectContainer> 111 <EffectContainer condition="normal or brake"> 112 113 </EffectContainer> 114 <EffectContainer condition="normal or boost"> 115 <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, -2, 14" colour="0.2, 1.0, 0.65, 1.0" width=5 length=1500 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 116 <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, -2, 14" colour="0.2, 1.0, 0.65, 1.0" width=15 length=1500 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 117 </EffectContainer> 94 118 95 119 </MultiStateEngine> -
code/branches/3DPacman_FS18/src/modules/Pacman/PacmanGelb.h
r11896 r11897 53 53 //no rotation 54 54 //virtual void rotateYaw(const Vector2& value) override{}; 55 //virtual void rotateYaw(const Vector2& value) override{};55 virtual void rotatePitch(const Vector2& value) override{}; 56 56 57 57 private:
Note: See TracChangeset
for help on using the changeset viewer.