Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 24, 2015, 1:23:47 PM (9 years ago)
Author:
fvultier
Message:

New Weapon for the towerDefense minigame: The SplitGun, a weapon that shoots one projectile that splits up into multiple projectiles after a specified time, these new projectiles may split up again… The weapon may be used by any Oxonox Spaceship.

Location:
code/branches/towerdefenseFabien/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/towerdefenseFabien/data/levels/jump.oxw

    r10262 r10592  
    256256      </attached>
    257257    </MovableEntity>
    258 
    259     <EventDispatcher>
    260       <targets>
    261         <EventTarget target=scoreeffect_right />
    262         <EventTarget target=scoreeffect_center />
    263       </targets>
    264       <events>
    265         <spawn>
    266           <EventFilter>
    267             <names>
    268               <EventName name=right />
    269             </names>
    270             <EventListener event=jumpcenter />
    271           </EventFilter>
    272         </spawn>
    273       </events>
    274     </EventDispatcher>
    275     <EventDispatcher>
    276       <targets>
    277         <EventTarget target=scoreeffect_left />
    278         <EventTarget target=scoreeffect_center />
    279       </targets>
    280       <events>
    281         <spawn>
    282           <EventFilter>
    283             <names>
    284               <EventName name=left />
    285             </names>
    286             <EventListener event=jumpcenter />
    287           </EventFilter>
    288         </spawn>
    289       </events>
    290     </EventDispatcher>
    291 
     258   
    292259  </Scene>
    293260</Level>
  • code/branches/towerdefenseFabien/data/levels/towerDefense.oxw

    r10591 r10592  
    6666        </links>
    6767        <Weapon>
    68           <HsW01 mode=0 munitionpershot=0 muzzleoffset="0,0,-30" damage=2 shielddamage=1 material="Flares/point_lensflare" delay=0/>
     68          <HsW01 mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=1 material="Flares/point_lensflare" delay=0/>
    6969        </Weapon>
    7070      </WeaponPack>
     
    103103        </links>
    104104        <Weapon>         
    105           <LightningGun mode=0 munitionpershot=0 muzzleoffset="0,0,-30" damage=2 shielddamage=4 />
     105          <LightningGun mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=4 />
    106106        </Weapon>
    107107      </WeaponPack>
    108108    </weapons>
    109109    <attached>
    110       <Backlight position="0,-100,0" scale=2.0 colour="0.4, 0.0, 1.0" width=10 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />
     110      <Backlight position="0,0,0" scale=2.0 colour="0.4, 0.0, 1.0" width=10 length=10 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />
    111111    </attached>   
    112112  </TowerDefenseTower>
     
    143143        </links>
    144144        <Weapon>
    145           <EnergyDrink mode=0 munitionpershot=0 muzzleoffset="0,0,-30" damage=2 shielddamage=4 />
     145          <SplitGun mode=0 munitionpershot=0 damage=9.3 muzzleoffset=" 1.6, 1.3, -2.0" splittime=0.2 numberofsplits=2 numberofchilds=5 spread=0.1 />
    146146        </Weapon>
    147147      </WeaponPack>
     
    180180        </links>
    181181        <Weapon>
    182           <FusionFire mode=0 munitionpershot=0 muzzleoffset="0,0,-30" damage=2 shielddamage=4 /> 
     182          <RocketFire mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=4 /> 
    183183        </Weapon>
    184184      </WeaponPack>
    185185    </weapons>
    186186      <attached>
    187       <ParticleSpawner position="0,-100,0" source="Orxonox/sparks" lifetime=3.0 autostart=1 loop=1 />
     187      <ParticleSpawner position="0,0,0" source="Orxonox/sparks" lifetime=3.0 autostart=1 loop=1 />
    188188    </attached>
    189189  </TowerDefenseTower>
     
    220220        </links>
    221221        <Weapon>
    222           <LaserFire mode=0 munitionpershot=0 muzzleoffset="0,0,-30" damage=2 shielddamage=4 /> 
     222          <SimpleRocketFire mode=0 muzzleoffset="0,0,0" damage=30 shielddamage=20 />
    223223        </Weapon>
    224224      </WeaponPack>
     
    454454    <SpawnPoint team=0 position="0,0,0"/>
    455455
    456     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_S1.mesh" scale=25/>
    457     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_S2.mesh" scale=25/>
    458     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_S3.mesh" scale=25/>
    459     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_S4.mesh" scale=25/>
    460     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_S5.mesh" scale=25/>
    461     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_T1.mesh" scale=25/>
    462     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_T2.mesh" scale=25/>
    463     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_T3.mesh" scale=25/>
    464     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_T4.mesh" scale=25/>
    465     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_T5.mesh" scale=25/>
    466     <Model position="0,0,-1000" pitch=90 lodLevel=1 mesh="TD_F1.mesh" scale=25/>
     456    <Model position="0,0,10000" lodLevel=1 mesh="TD_S1.mesh" scale=1/>
     457    <Model position="0,0,10000" lodLevel=1 mesh="TD_S2.mesh" scale=1/>
     458    <Model position="0,0,10000" lodLevel=1 mesh="TD_S3.mesh" scale=1/>
     459    <Model position="0,0,10000" lodLevel=1 mesh="TD_S4.mesh" scale=1/>
     460    <Model position="0,0,10000" lodLevel=1 mesh="TD_S5.mesh" scale=1/>
     461    <Model position="0,0,10000" lodLevel=1 mesh="TD_T1.mesh" scale=1/>
     462    <Model position="0,0,10000" lodLevel=1 mesh="TD_T2.mesh" scale=1/>
     463    <Model position="0,0,10000" lodLevel=1 mesh="TD_T3.mesh" scale=1/>
     464    <Model position="0,0,10000" lodLevel=1 mesh="TD_T4.mesh" scale=1/>
     465    <Model position="0,0,10000" lodLevel=1 mesh="TD_T5.mesh" scale=1/>
     466    <Model position="0,0,10000" lodLevel=1 mesh="TD_F1.mesh" scale=1/>
    467467
    468468    <!-- PlayField -->
Note: See TracChangeset for help on using the changeset viewer.