Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 13, 2010, 10:46:39 AM (15 years ago)
Author:
dafrick
Message:

Merged pickup_representation_templates into one.
Merged pickups.oxi into one.
Adjusted pickup.oxw to showcase all currently existing (and working) pickups.

Location:
code/trunk/data/levels/templates
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/templates/pickup_representation_templates.oxt

    r6711 r6712  
     1
     2<!-- Health pickups: -->
     3
    14<Template name=smallhealthpickupRepresentation>
    25    <PickupRepresentation>
     
    99102</Template>
    100103
    101 <Template name=doublepickup>
     104<!-- Meta pickups: -->
     105
     106<Template name=usepickupRepresentation>
     107    <PickupRepresentation>
     108        <spawner-representation>
     109            <StaticEntity>
     110                <attached>
     111                    <Billboard position="0,0,0" colour="0.60,0.97,0.23" material="Sphere2" scale=0.1>
     112                        <attached>
     113                            <Billboard position="0,0,0" colour="0.40,0.81,0.10" material="Arrow" scale=0.65 />
     114                        </attached>
     115                    </Billboard>
     116                </attached>
     117            </StaticEntity>
     118        </spawner-representation>
     119    </PickupRepresentation>
     120</Template>
     121
     122<Template name=droppickupRepresentation>
     123    <PickupRepresentation>
     124        <spawner-representation>
     125            <StaticEntity>
     126                <attached>
     127                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1>
     128                        <attached>
     129                            <Billboard position="0,0,0" colour="0.95,0.20,0.10" material="Arrow" scale=0.65 />
     130                        </attached>
     131                    </Billboard>
     132                </attached>
     133            </StaticEntity>
     134        </spawner-representation>
     135    </PickupRepresentation>
     136</Template>
     137
     138<!-- Speed pickups -->
     139
     140<Template name=smallspeedpickupRepresentation>
     141    <PickupRepresentation>
     142        <spawner-representation>
     143            <StaticEntity>
     144                <attached>
     145                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
     146                        <attached>
     147                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.3 />
     148                        </attached>
     149                    </Billboard>
     150                </attached>
     151            </StaticEntity>
     152        </spawner-representation>
     153    </PickupRepresentation>
     154</Template>
     155
     156<Template name=smallspeedpickup>
     157  <SpeedPickup
     158    duration = 10.0
     159    speedAdd = 0.0
     160    SpeedMultiply = 10.0
     161    activationType = "immediate"
     162    durationType = "once"
     163  />
     164</Template>
     165
     166<Template name=mediumspeedpickupRepresentation>
     167    <PickupRepresentation>
     168        <spawner-representation>
     169            <StaticEntity>
     170                <attached>
     171                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
     172                        <attached>
     173                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.5 />
     174                        </attached>
     175                    </Billboard>
     176                </attached>
     177            </StaticEntity>
     178        </spawner-representation>
     179    </PickupRepresentation>
     180</Template>
     181
     182<Template name=mediumspeedpickup>
     183  <SpeedPickup
     184    duration = 10.0
     185    speedAdd = 0.0
     186    SpeedMultiply = 25.0
     187    activationType = "immediate"
     188    durationType = "once"
     189  />
     190</Template>
     191
     192<Template name=hugespeedpickupRepresentation>
     193    <PickupRepresentation>
     194        <spawner-representation>
     195            <StaticEntity>
     196                <attached>
     197                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
     198                        <attached>
     199                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.7 />
     200                        </attached>
     201                    </Billboard>
     202                </attached>
     203            </StaticEntity>
     204        </spawner-representation>
     205    </PickupRepresentation>
     206</Template>
     207
     208<Template name=hugespeedpickup>
     209  <SpeedPickup
     210    duration = 10.0
     211    speedAdd = 0.0
     212    SpeedMultiply = 50.0
     213    activationType = "immediate"
     214    durationType = "once"
     215  />
     216</Template>
     217
     218<Template name=smalljumppickupRepresentation>
     219    <PickupRepresentation>
     220        <spawner-representation>
     221            <StaticEntity>
     222                <attached>
     223                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.1>
     224                        <attached>
     225                            <Billboard position="0,0,0" colour="1,0,0" material="3arrowsup" scale=0.3 />
     226                        </attached>
     227                    </Billboard>
     228                </attached>
     229            </StaticEntity>
     230        </spawner-representation>
     231    </PickupRepresentation>
     232</Template>
     233
     234<Template name=smalljumppickup>
     235  <SpeedPickup
     236    duration = 0.7
     237    speedAdd = 5000.0
     238    SpeedMultiply = 1.0
     239    activationType = "immediate"
     240    durationType = "once"
     241  />
     242</Template>
     243
     244<!-- Invisible pickups -->
     245
     246<Template name=smallinvisiblepickupRepresentation>
     247    <PickupRepresentation>
     248        <spawner-representation>
     249            <StaticEntity>
     250                <attached>
     251                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
     252                        <attached>
     253                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.5 />
     254                        </attached>
     255                    </Billboard>
     256                </attached>
     257            </StaticEntity>
     258        </spawner-representation>
     259    </PickupRepresentation>
     260</Template>
     261
     262<Template name=smallinvisiblepickup>
     263  <InvisiblePickup
     264    duration = 5.0
     265    activaionType = "immediate"
     266    durationType = "once"
     267  />
     268</Template>
     269
     270<Template name=mediuminvisiblepickupRepresentation>
     271    <PickupRepresentation>
     272        <spawner-representation>
     273            <StaticEntity>
     274                <attached>
     275                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
     276                        <attached>
     277                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.7 />
     278                        </attached>
     279                    </Billboard>
     280                </attached>
     281            </StaticEntity>
     282        </spawner-representation>
     283    </PickupRepresentation>
     284</Template>
     285
     286<Template name=mediuminvisiblepickup>
     287  <InvisiblePickup
     288    duration = 10.0
     289    activaionType = "immediate"
     290    durationType = "once"
     291  />
     292</Template>
     293
     294<Template name=hugeinvisiblepickupRepresentation>
     295    <PickupRepresentation>
     296        <spawner-representation>
     297            <StaticEntity>
     298                <attached>
     299                    <Billboard position="0,0,0" colour="0.22,0.32,0.86" material="Sphere2" scale=0.1>
     300                        <attached>
     301                            <Billboard position="0,0,0" colour="0.06,0.14,0.63" material="Eye" scale=0.9 />
     302                        </attached>
     303                    </Billboard>
     304                </attached>
     305            </StaticEntity>
     306        </spawner-representation>
     307    </PickupRepresentation>
     308</Template>
     309
     310<Template name=hugeinvisiblepickup>
     311  <InvisiblePickup
     312    duration = 20.0
     313    activaionType = "immediate"
     314    durationType = "once"
     315  />
     316</Template>
     317
     318<!-- Pickup Collection pickups -->
     319
     320<Template name=triplehealthspeedinvisibilitypickupRepresentation>
     321    <PickupRepresentation>
     322        <spawner-representation>
     323            <StaticEntity>
     324                <attached>
     325                    <Billboard position="0,0,0" colour="0.95,0.85,0.27" material="Sphere2" scale=0.1>
     326                        <attached>
     327                            <Billboard position="0,20,0" colour="0.36,0.81,0.10" material="Cross" scale=0.25 />
     328                            <Billboard position="-20,-10,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.25 />
     329                            <Billboard position="20,-10,0" colour="0.06,0.14,0.63" material="Eye" scale=0.35 />
     330                        </attached>
     331                    </Billboard>
     332                </attached>
     333            </StaticEntity>
     334        </spawner-representation>
     335    </PickupRepresentation>
     336</Template>
     337
     338<Template name=triplehealthspeedinvisibilitypickup>
    102339    <PickupCollection>
    103340        <pickupables>
    104             <HealthPickup template=smallhealthpickup />
    105             <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=limited />
     341            <HealthPickup template=mediumhealthpickup />
     342            <SpeedPickup template=mediumspeedpickup />
     343            <InvisiblePickup template=mediuminvisiblepickup />
    106344        </pickupables>
    107345    </PickupCollection>
    108346</Template>
    109 
    110 <Template name=usepickupRepresentation>
    111     <PickupRepresentation>
    112         <spawner-representation>
    113             <StaticEntity>
    114                 <attached>
    115                     <Billboard position="0,0,0" colour="0.60,0.97,0.23" material="Sphere2" scale=0.1>
    116                         <attached>
    117                             <Billboard position="0,0,0" colour="0.40,0.81,0.10" material="Arrow" scale=0.65 />
    118                         </attached>
    119                     </Billboard>
    120                 </attached>
    121             </StaticEntity>
    122         </spawner-representation>
    123     </PickupRepresentation>
    124 </Template>
    125 
    126 <Template name=droppickupRepresentation>
    127     <PickupRepresentation>
    128         <spawner-representation>
    129             <StaticEntity>
    130                 <attached>
    131                     <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1>
    132                         <attached>
    133                             <Billboard position="0,0,0" colour="0.95,0.20,0.10" material="Arrow" scale=0.65 />
    134                         </attached>
    135                     </Billboard>
    136                 </attached>
    137             </StaticEntity>
    138         </spawner-representation>
    139     </PickupRepresentation>
    140 </Template>
    141347   
Note: See TracChangeset for help on using the changeset viewer.