Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3568


Ignore:
Timestamp:
Jan 20, 2006, 2:18:57 AM (19 years ago)
Author:
bensch
Message:

data/trunk: add new ParticleLayout

Location:
data/trunk/worlds
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/worlds/christmas.oxw

    r3528 r3568  
    99    <BarImage>pictures/load_screen_bar_christmas.png</BarImage>
    1010  </LoadScreen>
     11
     12
    1113  <WorldEntities>
    1214    <MD2Creature>
     
    108110
    109111
    110    
    111 
    112 
    113112
    114113    <SkyBox>
     
    126125
    127126
    128    <ParticleSystem>
     127   <SpriteParticles>
    129128     <name>SnowFlakeSystem</name>
    130129     <type>sprite</type>
     
    139138     <color>.5, .6, .6, .6, .2</color>
    140139     <color>1, .0, .0, .0, .0</color>
    141    </ParticleSystem>
    142    <ParticleEmitter>
    143     <name>SnowFlakeEmitter</name>
    144     <emission-direction>0,-1,0</emission-direction>
    145     <type>plane</type>
    146     <spread>0,.3</spread>
    147     <emission-velocity>150,50</emission-velocity>
    148     <size>1200</size>
    149     <rate>900</rate>
    150     <rel-coor>0, 500, -600</rel-coor>
    151    </ParticleEmitter>
     140     <emitters>
     141      <ParticleEmitter>
     142        <name>SnowFlakeEmitter</name>
     143        <emission-direction>0,-1,0</emission-direction>
     144        <type>plane</type>
     145        <spread>0,.3</spread>
     146        <emission-velocity>150,50</emission-velocity>
     147        <size>1200</size>
     148        <rate>900</rate>
     149        <rel-coor>0, 500, -600</rel-coor>
     150      </ParticleEmitter>
     151     </emitters>
     152  </SpriteParticles>
     153
    152154  </WorldEntities>
    153 
    154 
    155   <ParticleEngine>
    156    <connect>SnowFlakeEmitter, SnowFlakeSystem</connect>
    157   </ParticleEngine>
    158155
    159156  <LightManager>
  • data/trunk/worlds/vulcania.oxw

    r3494 r3568  
    2626    </Terrain>
    2727
    28     <ParticleSystem>
     28    <ModelParticles>
    2929      <name>VulcanStoneSystem</name>
    3030      <model>models/vulcanic_stone.obj</model>
    3131      <life-span>6.0,2</life-span>
    32       <type>model</type>
    3332      <radius>0,5,3</radius>
    3433      <mass>0,.1,0</mass>
    35     </ParticleSystem>
    36     <ParticleEmitter>
    37      <name>VulcanStoneEmitter</name>
    38      <emission-velocity>700,400</emission-velocity>
    39      <rate>20</rate>
    40      <type>cube</type>
    41      <size>40</size>;
    42      <emission-direction>0,1,0</emission-direction>
    43      <rel-coor>2460,105,606</rel-coor>
    44      <spread>1,.5</spread>
    45     </ParticleEmitter>
     34      <emitters>
     35        <ParticleEmitter>
     36          <name>VulcanStoneEmitter</name>
     37          <emission-velocity>700,400</emission-velocity>
     38          <rate>20</rate>
     39          <type>cube</type>
     40          <size>40</size>;
     41          <emission-direction>0,1,0</emission-direction>
     42          <rel-coor>2460,105,606</rel-coor>
     43          <spread>1,.5</spread>
     44        </ParticleEmitter>
     45      </emitters>
     46    </ModelParticles>
    4647
    47     <ParticleSystem>
     48    <SpriteParticles>
    4849     <name>VulcanFogSystem</name>
    49      <type>sprite</type>
    5050     <max-count>2000</max-count>
    5151     <life-span>5,2</life-span>
     
    5757     <color>.5,.6,.6,.6,.2</color>
    5858     <color>1,.0,.0,.0,.0</color>
    59    </ParticleSystem>
    60    <ParticleEmitter>
    61     <name>VulcanFogEmitter</name>
    62     <emission-direction>0,1,0</emission-direction>
    63     <type>cube</type>
    64     <spread>.5,.3</spread>
    65     <emission-velocity>150,50</emission-velocity>
    66     <size>40</size>
    67     <rate>400</rate>
    68     <rel-coor>2460,105,606</rel-coor>
    69    </ParticleEmitter>
     59     <emitters>
     60       <ParticleEmitter>
     61        <name>VulcanFogEmitter</name>
     62        <emission-direction>0,1,0</emission-direction>
     63        <type>cube</type>
     64        <spread>.5,.3</spread>
     65        <emission-velocity>150,50</emission-velocity>
     66        <size>40</size>
     67        <rate>400</rate>
     68        <rel-coor>2460,105,606</rel-coor>
     69       </ParticleEmitter>
     70     </emitters>
     71   </SpriteParticles>
    7072
    71     <ParticleSystem>
     73   <SparkParticles>
    7274     <name>VulcanSparkSystem</name>
    73      <type>spark</type>
    7475     <max-count>5000</max-count>
    7576     <life-span>5,2</life-span>
     
    8081     <color>.5,1,1,0,.2</color>
    8182     <color>1,.0,.0,.0,.0</color>
    82    </ParticleSystem>
    83    <ParticleEmitter>
    84     <name>VulcanSparkEmitter</name>
    85     <emission-direction>0,1,0</emission-direction>
    86     <type>cube</type>
    87     <spread>.5,.3</spread>
    88     <emission-velocity>150,50</emission-velocity>
    89     <size>40</size>
    90     <rate>400</rate>
    91     <rel-coor>2460,105,606</rel-coor>
    92    </ParticleEmitter>
     83     <emitters>
     84       <ParticleEmitter>
     85        <name>VulcanSparkEmitter</name>
     86        <emission-direction>0,1,0</emission-direction>
     87        <type>cube</type>
     88        <spread>.5,.3</spread>
     89        <emission-velocity>150,50</emission-velocity>
     90        <size>40</size>
     91        <rate>400</rate>
     92        <rel-coor>2460,105,606</rel-coor>
     93       </ParticleEmitter>
     94    </emitters>
     95  </SparkParticles>
    9396
    9497</WorldEntities>
     
    111114    </Lights>
    112115  </LightManager>
    113 
    114   <ParticleEngine>
    115    <connect>VulcanStoneEmitter, VulcanStoneSystem</connect>
    116    <connect>VulcanFogEmitter, VulcanFogSystem</connect>
    117    <connect>VulcanSparkEmitter, VulcanSparkSystem</connect>
    118   </ParticleEngine>
    119116
    120117
Note: See TracChangeset for help on using the changeset viewer.