Changeset 6388 for code/branches/presentation2/data/levels/questsystem2.oxw
- Timestamp:
- Dec 21, 2009, 1:28:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/levels/questsystem2.oxw
r6387 r6388 37 37 <QuestDescription title="The super Hint.3" description="Be proud of yourself.3" /> 38 38 </QuestHint> 39 </hints> 39 </hints> 40 40 <subquests> 41 41 <GlobalQuest id="e17f5245-f95b-44a8-b6cf-402274435ed4"> … … 215 215 max = 20 216 216 for i = 1, max, 1 217 do 217 do 218 218 x = math.sin(i/max*6)*40000 219 219 y = math.cos(i/max*6)*40000 … … 221 221 ?> 222 222 <?lua 223 for k = 1, 25, 1 223 for k = 1, 25, 1 224 224 do 225 225 j = math.random() 226 226 ?> 227 227 228 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> 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) ?>"> 228 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> 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) ?>"> 229 229 <attached> 230 230 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> … … 234 234 </collisionShapes> <?lua end ?> 235 235 </MovableEntity> 236 <?lua 236 <?lua 237 237 end 238 238 ?>
Note: See TracChangeset
for help on using the changeset viewer.