Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5502


Ignore:
Timestamp:
May 11, 2009, 4:02:34 PM (15 years ago)
Author:
jsmely
Message:

weapon updated

Location:
data/media
Files:
14 added
5 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/presentation_dm.oxw

    r5484 r5502  
    3232      </events>
    3333    </GlobalShader>
    34     <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
    35     <StaticEntity position="0,0,0" collisionType=static>
     34
     35<?lua
     36for i = 1, 50, 1
     37do
     38j = math.random()
     39?>
     40   
     41    <MovableEntity position="<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0.8 scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     42      <attached>
     43        <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     44      </attached>
    3645      <collisionShapes>
    37         <SphereCollisionShape radius="20" />
     46        <SphereCollisionShape radius="<?lua print(j * 70) ?>" />
    3847      </collisionShapes>
    39     </StaticEntity>
     48    </MovableEntity>
     49<?lua
     50end
     51?>
     52
    4053<!--
    4154<?lua
  • data/media/levels/spaceshiptemplates_presentation.oxw

    r5464 r5502  
    3535    </collisionShapes>
    3636<?lua
    37   include("levels/weaponsettings1.oxw")
     37  include("levels/weaponsettings2.oxw")
    3838?>
    3939  </SpaceShip>
  • data/media/levels/tutorial.oxw

    r5484 r5502  
    2626    <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" />
    2727
     28<Drone primaryThrust=100 auxiliaryThrust=100 rotationThrust=100 mass = 50 linearDamping = 0.9 angularDamping = 0.7>
     29  <attached>
     30    <Model scale="10" mesh="Cylinder.mesh"/>
     31  </attached>
     32  <collisionShapes>
     33    <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
     34  </collisionShapes>
     35</Drone>
    2836
    2937<Drone primaryThrust="100" auxilaryThrust="30" rotationThrust="10"
  • data/media/levels/weaponsettings2.oxw

    r5473 r5502  
    1616        <Weapon>
    1717          <attached>
    18             <Model mesh="hs-w01.mesh" />
     18            <Model mesh="LightningGun.mesh" pitch="78" roll="90" yaw="90" position="0,-1.3,0" scale="0.5,0.5,0.5"/>
     19            <Model mesh="LightningGun-s.mesh" pitch="78" roll="90" yaw="90" position="0.2,-1.3,0" scale="0.5,0.5,0.5"/>
    1920          </attached>
    20           <LaserFire mode=0 muzzleoffset="0,0,-25" />
     21          <LightningGun mode=0 muzzleoffset="0,0,-20" />
    2122          <LaserFire mode=1 damage=1 munitionpershot=0 reloadtime=1 muzzleoffset="0,5,0" />
    2223          <LaserFire mode=1 damage=1 munitionpershot=0 reloadtime=1 muzzleoffset="0,-5,0" />
     
    2425        <Weapon>
    2526          <attached>
    26             <Model mesh="hs-w01.mesh" />
     27            <Model mesh="LightningGun.mesh" pitch="103" roll="90" yaw="90" position="0,-1.35,0" scale="0.5,0.5,0.5"/>
     28            <Model mesh="LightningGun-s.mesh" pitch="103" roll="90" yaw="90" position="0.2,-1.35,0" scale="0.5,0.5,0.5"/>
    2729          </attached>
    28           <LaserFire mode=0 muzzleoffset="0,0,-25" />
     30          <LightningGun mode=0 muzzleoffset="0,0,-20" />
    2931          <LaserFire mode=1 damage=1 munitionpershot=0 reloadtime=1 muzzleoffset="0,5,0" />
    3032          <LaserFire mode=1 damage=1 munitionpershot=0 reloadtime=1 muzzleoffset="0,-5,0" />
  • data/media/materials/scripts/Flares.material

    r5313 r5502  
    128128        }
    129129}
     130
     131material Flares/LightningBall_1
     132{
     133        technique
     134        {
     135                pass
     136                {
     137                        lighting off
     138                        scene_blend add
     139                        depth_write off
     140
     141                        texture_unit
     142                        {
     143                                texture LightningBall_1.tga
     144                        }
     145                }
     146        }
     147}
     148
     149material Flares/LightningBall_2
     150{
     151        technique
     152        {
     153                pass
     154                {
     155                        lighting off
     156                        scene_blend add
     157                        depth_write off
     158
     159                        texture_unit
     160                        {
     161                                texture LightningBall_2.tga
     162                        }
     163                }
     164        }
     165}
     166
     167material Flares/LightningBall_3
     168{
     169        technique
     170        {
     171                pass
     172                {
     173                        lighting off
     174                        scene_blend add
     175                        depth_write off
     176
     177                        texture_unit
     178                        {
     179                                texture LightningBall_3.tga
     180                        }
     181                }
     182        }
     183}
     184
     185material Flares/LightningBall_4
     186{
     187        technique
     188        {
     189                pass
     190                {
     191                        lighting off
     192                        scene_blend add
     193                        depth_write off
     194
     195                        texture_unit
     196                        {
     197                                texture LightningBall_4.tga
     198                        }
     199                }
     200        }
     201}
     202
     203material Flares/LightningBall_5
     204{
     205        technique
     206        {
     207                pass
     208                {
     209                        lighting off
     210                        scene_blend add
     211                        depth_write off
     212
     213                        texture_unit
     214                        {
     215                                texture LightningBall_5.tga
     216                        }
     217                }
     218        }
     219}
     220
     221material Flares/LightningBall_6
     222{
     223        technique
     224        {
     225                pass
     226                {
     227                        lighting off
     228                        scene_blend add
     229                        depth_write off
     230
     231                        texture_unit
     232                        {
     233                                texture LightningBall_6.tga
     234                        }
     235                }
     236        }
     237}
     238
     239material Flares/LightningBall_7
     240{
     241        technique
     242        {
     243                pass
     244                {
     245                        lighting off
     246                        scene_blend add
     247                        depth_write off
     248
     249                        texture_unit
     250                        {
     251                                texture LightningBall_7.tga
     252                        }
     253                }
     254        }
     255}
     256
     257material Flares/LightningBall_8
     258{
     259        technique
     260        {
     261                pass
     262                {
     263                        lighting off
     264                        scene_blend add
     265                        depth_write off
     266
     267                        texture_unit
     268                        {
     269                                texture LightningBall_8.tga
     270                        }
     271                }
     272        }
     273}
Note: See TracChangeset for help on using the changeset viewer.