Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2015, 2:45:58 PM (8 years ago)
Author:
maxima
Message:

Merged presentation and fabiens branch. Had to modify hoverHUD and invaderHUD, because the text of the healthbar wasn't correctly displayed and the weapon settings of the hovership.

Location:
code/branches/presentationHS15
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15

  • code/branches/presentationHS15/data/levels/templates/pickupRepresentationTemplates.oxt

    r9348 r10961  
     1<!-- Boost pickups: -->
     2
     3<Template name=smallboostpickupRepresentation>
     4    <PickupRepresentation>
     5        <spawner-representation>
     6            <StaticEntity>
     7                <attached>
     8                    <Billboard position="0,0,0" colour="0.0,1.0,0.8" material="Sphere2" scale=0.1>
     9                        <attached>
     10                            <Billboard position="0,0,0" colour="0.0,1.0,0.8" material="Flash" scale=0.3 />
     11                        </attached>
     12                    </Billboard>
     13                </attached>
     14            </StaticEntity>
     15        </spawner-representation>
     16    </PickupRepresentation>
     17</Template>
     18
     19<Template name=smallboostpickup baseclass=BoostPickup>
     20  <BoostPickup
     21    representation = "smallboostpickup"
     22    boostrefill = 0.5
     23    activationType = "immediate"
     24    durationType = "once"
     25  />
     26</Template>
     27
     28<Template name=mediumboostpickupRepresentation>
     29    <PickupRepresentation>
     30        <spawner-representation>
     31            <StaticEntity>
     32                <attached>
     33                    <Billboard position="0,0,0" colour="0.0,1.0,0.8" material="Sphere2" scale=0.1>
     34                        <attached>
     35                            <Billboard position="0,0,0" colour="0.0,1.0,0.8" material="Flash" scale=0.5 />
     36                        </attached>
     37                    </Billboard>
     38                </attached>
     39            </StaticEntity>
     40        </spawner-representation>
     41    </PickupRepresentation>
     42</Template>
     43
     44<Template name=mediumboostpickup baseclass=BoostPickup>
     45  <BoostPickup
     46    representation = "mediumboostpickup"
     47    boostrefill = 0.75
     48    activationType = "immediate"
     49    durationType = "once"
     50  />
     51</Template>
     52
     53<Template name=hugeboostpickupRepresentation>
     54    <PickupRepresentation>
     55        <spawner-representation>
     56            <StaticEntity>
     57                <attached>
     58                    <Billboard position="0,0,0" colour="0.0,1.0,0.8" material="Sphere2" scale=0.1>
     59                        <attached>
     60                            <Billboard position="0,0,0" colour="0.0,1.0,0.8" material="Flash" scale=0.7 />
     61                        </attached>
     62                    </Billboard>
     63                </attached>
     64            </StaticEntity>
     65        </spawner-representation>
     66    </PickupRepresentation>
     67</Template>
     68
     69<Template name=hugeboostpickup baseclass=BoostPickup>
     70  <BoostPickup
     71    representation = "hugeboostpickup"
     72    boostrefill = 1.0
     73    activationType = "immediate"
     74    durationType = "once"
     75  />
     76</Template>
     77
    178<!-- Shield pickups: -->
    279
     
    189266</Template>
    190267
     268<!-- Munition pickups: -->
     269
     270<Template name=smallmunitionpickupRepresentation>
     271    <PickupRepresentation>
     272        <spawner-representation>
     273            <StaticEntity>
     274                <attached>
     275                    <Billboard position="0,0,0" colour="0.59,0.30,0.16" material="Sphere2" scale=0.1>
     276                        <attached>
     277                            <Billboard position="0,0,0" colour="0.47,0.24,0.13" material="Munition" scale=0.3 />
     278                        </attached>
     279                    </Billboard>
     280                </attached>
     281            </StaticEntity>
     282        </spawner-representation>
     283    </PickupRepresentation>
     284</Template>
     285
     286<Template name=smallmunitionpickup baseclass=MunitionPickup>
     287  <MunitionPickup
     288    representation = "smallmunitionpickup"
     289    activationType = "immediate"
     290    durationType = "once"
     291  >
     292    <munitioncontainers>
     293        <MunitionContainer munitiontype="LaserMunition" munitionamount=16 magazinesamount=0 />
     294        <MunitionContainer munitiontype="FusionMunition" munitionamount=8 magazinesamount=0 />
     295        <MunitionContainer munitiontype="LightningMunition" munitionamount=8 magazinesamount=0 />
     296    </munitioncontainers>
     297  </MunitionPickup>
     298</Template>
     299
     300<Template name=mediummunitionpickupRepresentation>
     301    <PickupRepresentation>
     302        <spawner-representation>
     303            <StaticEntity>
     304                <attached>
     305                    <Billboard position="0,0,0" colour="0.59,0.30,0.16" material="Sphere2" scale=0.1>
     306                        <attached>
     307                            <Billboard position="0,0,0" colour="0.47,0.24,0.13" material="Munition" scale=0.5 />
     308                        </attached>
     309                    </Billboard>
     310                </attached>
     311            </StaticEntity>
     312        </spawner-representation>
     313    </PickupRepresentation>
     314</Template>
     315
     316<Template name=mediummunitionpickup baseclass=MunitionPickup>
     317  <MunitionPickup
     318    representation = "mediummunitionpickup"
     319    activationType = "immediate"
     320    durationType = "once"
     321  >
     322    <munitioncontainers>
     323        <MunitionContainer munitiontype="LaserMunition" munitionamount=32 magazinesamount=0 />
     324        <MunitionContainer munitiontype="FusionMunition" munitionamount=16 magazinesamount=0 />
     325        <MunitionContainer munitiontype="LightningMunition" munitionamount=16 magazinesamount=0 />       
     326        <MunitionContainer munitiontype="SplitMunition" munitionamount=8 magazinesamount=0 />
     327        <MunitionContainer munitiontype="RocketMunition" munitionamount=0 magazinesamount=2 />
     328    </munitioncontainers>
     329  </MunitionPickup></Template>
     330
     331<Template name=hugemunitionpickupRepresentation>
     332    <PickupRepresentation>
     333        <spawner-representation>
     334            <StaticEntity>
     335                <attached>
     336                    <Billboard position="0,0,0" colour="0.59,0.30,0.16" material="Sphere2" scale=0.1>
     337                        <attached>
     338                            <Billboard position="0,0,0" colour="0.47,0.24,0.13" material="Munition" scale=0.7 />
     339                        </attached>
     340                    </Billboard>
     341                </attached>
     342            </StaticEntity>
     343        </spawner-representation>
     344    </PickupRepresentation>
     345</Template>
     346
     347<Template name=hugemunitionpickup baseclass=MunitionPickup>
     348  <MunitionPickup
     349    representation = "hugemunitionpickup"
     350    activationType = "immediate"
     351    durationType = "once"
     352  >
     353    <munitioncontainers>
     354        <MunitionContainer munitiontype="LaserMunition" munitionamount=64 magazinesamount=0 />
     355        <MunitionContainer munitiontype="FusionMunition" munitionamount=32 magazinesamount=0 />
     356        <MunitionContainer munitiontype="LightningMunition" munitionamount=32 magazinesamount=0 />       
     357        <MunitionContainer munitiontype="SplitMunition" munitionamount=16 magazinesamount=0 />
     358        <MunitionContainer munitiontype="RocketMunition" munitionamount=0 magazinesamount=10 />
     359        <MunitionContainer munitiontype="IceMunition" munitionamount=0 magazinesamount=10 />
     360        <MunitionContainer munitiontype="GravityBombMunition" munitionamount=0 magazinesamount=10 />
     361    </munitioncontainers>
     362  </MunitionPickup>
     363</Template>
     364
    191365<!-- Meta pickups: -->
    192366
     
    196370            <StaticEntity>
    197371                <attached>
    198                     <Billboard position="0,0,0" colour="0.60,0.97,0.23" material="Sphere2" scale=0.1>
    199                         <attached>
    200                             <Billboard position="0,0,0" colour="0.40,0.81,0.10" material="Arrow" scale=0.65 />
    201                         </attached>
    202                     </Billboard>
    203                 </attached>
    204             </StaticEntity>
    205         </spawner-representation>
    206     </PickupRepresentation>
     372                    <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="Sphere2" scale=0.1>
     373                        <attached>
     374                            <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="ArrowUp" scale=0.65 />
     375                        </attached>
     376                    </Billboard>
     377                </attached>
     378            </StaticEntity>
     379        </spawner-representation>
     380    </PickupRepresentation>
     381</Template>
     382
     383<Template name=usemetapickup baseclass=MetaPickup>
     384  <MetaPickup representation="use" metaType="use" />
    207385</Template>
    208386
     
    212390            <StaticEntity>
    213391                <attached>
    214                     <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1>
    215                         <attached>
    216                             <Billboard position="0,0,0" colour="0.95,0.20,0.10" material="Arrow" scale=0.65 />
    217                         </attached>
    218                     </Billboard>
    219                 </attached>
    220             </StaticEntity>
    221         </spawner-representation>
    222     </PickupRepresentation>
     392                    <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="Sphere2" scale=0.1>
     393                        <attached>
     394                            <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="ArrowDown" scale=0.65 />
     395                        </attached>
     396                    </Billboard>
     397                </attached>
     398            </StaticEntity>
     399        </spawner-representation>
     400    </PickupRepresentation>
     401</Template>
     402
     403<Template name=dropmetapickup baseclass=MetaPickup>
     404  <MetaPickup representation="drop" metaType="drop" />
     405</Template>
     406
     407<Template name=destroypickupRepresentation>
     408    <PickupRepresentation>
     409        <spawner-representation>
     410            <StaticEntity>
     411                <attached>
     412                    <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="Sphere2" scale=0.1>
     413                        <attached>
     414                            <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="Splash" scale=0.65 />
     415                        </attached>
     416                    </Billboard>
     417                </attached>
     418            </StaticEntity>
     419        </spawner-representation>
     420    </PickupRepresentation>
     421</Template>
     422
     423<Template name=destroymetapickup baseclass=MetaPickup>
     424  <MetaPickup representation="destroy" metaType="destroy" />
     425</Template>
     426
     427<Template name=destroycarrierpickupRepresentation>
     428    <PickupRepresentation>
     429        <spawner-representation>
     430            <StaticEntity>
     431                <attached>
     432                    <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="Sphere2" scale=0.1>
     433                        <attached>
     434                            <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="Asterisk" scale=0.65 />
     435                        </attached>
     436                    </Billboard>
     437                </attached>
     438            </StaticEntity>
     439        </spawner-representation>
     440    </PickupRepresentation>
     441</Template>
     442
     443<Template name=destroycarriermetapickup baseclass=MetaPickup>
     444  <MetaPickup representation="destroycarrier" metaType="destroyCarrier" />
    223445</Template>
    224446
     
    232454                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
    233455                        <attached>
    234                             <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageSmall" scale=0.7 />
     456                            <Billboard position="0,0,0" colour="0.70,0.10,0.10" material="Damage" scale=0.3 />
    235457                        </attached>
    236458                    </Billboard>
     
    258480                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
    259481                        <attached>
    260                             <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageMedium" scale=0.7 />
     482                            <Billboard position="0,0,0" colour="0.70,0.10,0.10" material="Damage" scale=0.5 />
    261483                        </attached>
    262484                    </Billboard>
     
    277499</Template>
    278500
    279 <Template name=largedamageboostpickupRepresentation>
     501<Template name=hugedamageboostpickupRepresentation>
    280502    <PickupRepresentation>
    281503        <spawner-representation>
     
    284506                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
    285507                        <attached>
    286                             <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damageLarge" scale=0.7 />
    287                         </attached>
    288                     </Billboard>
    289                 </attached>
    290             </StaticEntity>
    291         </spawner-representation>
    292     </PickupRepresentation>
    293 </Template>
    294 
    295 <Template name=largedamageboostpickup baseclass=DamageBoostPickup>
     508                            <Billboard position="0,0,0" colour="0.70,0.10,0.10" material="Damage" scale=0.7 />                           
     509                        </attached>
     510                    </Billboard>
     511                </attached>
     512            </StaticEntity>
     513        </spawner-representation>
     514    </PickupRepresentation>
     515</Template>
     516
     517<Template name=hugedamageboostpickup baseclass=DamageBoostPickup>
    296518  <DamageBoostPickup
    297     representation = "largedamageboostpickup"
     519    representation = "hugedamageboostpickup"
    298520    duration = 10.0
    299521    damageMultiplier = 7.0
     
    498720                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
    499721                        <attached>
    500                             <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.4 />
     722                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.35 />
    501723                        </attached>
    502724                    </Billboard>
     
    524746                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
    525747                        <attached>
    526                             <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.7 />
     748                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.55 />
    527749                        </attached>
    528750                    </Billboard>
     
    550772                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
    551773                        <attached>
    552                             <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=1.0 />
     774                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.75 />
    553775                        </attached>
    554776                    </Billboard>
     
    609831        </attached>
    610832        <collisionShapes>
    611             <BoxCollisionShape position="0,0,0"      halfExtents="1, 1, 1" />
     833            <SphereCollisionShape position="0,0,0" radius=5 />
    612834        </collisionShapes>
    613835        <weaponslots>
    614             <WeaponSlot position="    0,   0,0" />
     836            <WeaponSlot position="0,0,0" />
    615837        </weaponslots>
    616838        <weaponsets>
    617839            <WeaponSet firemode=0 />
    618840        </weaponsets>
    619         <weapons>
     841        <weaponpacks>
    620842            <WeaponPack>
    621843                <links>
     
    631853                </Weapon>
    632854            </WeaponPack>
    633         </weapons>
     855        </weaponpacks>
     856        <munition>
     857            <LaserMunition initialmagazines=2 maxmagazines=2 munitionpermagazine=10 replenishamount=1 replenishinterval=0.5/>
     858        </munition>
    634859    </Drone>
    635860</Template>
Note: See TracChangeset for help on using the changeset viewer.