From 911d194b534c5ca5efbbca422413b2c0690c249b Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 1 Apr 2024 17:49:38 +0200 Subject: [PATCH] place most objects relative to player --- src/defs.txt | 41 ++++++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/src/defs.txt b/src/defs.txt index 1c16378..d8468be 100644 --- a/src/defs.txt +++ b/src/defs.txt @@ -1,5 +1,6 @@ actor 0 0 0 suit player yes + id player mass 200.0 scale 1 oxygen 0.008 @@ -11,6 +12,7 @@ actor 0 0 0 suit engine monopropellant actor 10 -30 20 MeteorAceGT + relativeto player scale 5 vehicle yes thrust 70 13.7 9.4 200000 20 @@ -19,15 +21,6 @@ actor 10 -30 20 MeteorAceGT camdistance 50 mass 3000 angularmomentum 0.1 0.1 0.3 -actor -3420 10 20 MeteorAceGT - scale 5 - vehicle yes - thrust 70 13.7 9.4 200000 20 - engine ion - collider sphere 1.5 - camdistance 50 - mass 3000 - angularmomentum 0 0 0.2 actor 300000 0 500000 jupiter scale 400000 @@ -70,45 +63,65 @@ actor -4000000 0 1500000 callisto physics off actor 3000 0 0 moonlet + relativeto player scale 500 mass 10000000 angularmomentum 0 0.15 0 actor 1000 20 300 monolith + relativeto player scale 2 mass 1000 rotationx 0.5 angularmomentum 0.0 0.0 0.01 actor 10000 2000 -3500 monolith + relativeto player scale 2 mass 1000 rotationx 0.5 angularmomentum 0.0 0.0 0.01 actor -8000 -1000 -100 monolith + relativeto player scale 2 mass 1000 rotationx 0.5 angularmomentum 0.0 0.0 0.01 actor -3300 10 0 pizzeria + relativeto player + id pizzeria scale 40 mass 1000000 rotationy 0.30 angularmomentum 0 0 0 - actor -3400 73 -13 pizzasign + actor -120 0 20 MeteorAceGT + relativeto pizzeria + scale 5 + vehicle yes + thrust 70 13.7 9.4 200000 20 + engine ion + collider sphere 1.5 + camdistance 50 + mass 3000 + angularmomentum 0 0 0.2 + actor -100 63 -13 pizzasign + relativeto pizzeria scale 20 mass 200 rotationy 0.45 angularmomentum 0 0 0 - actor -3316 0 0 lightorb + actor -16 -10 0 lightorb + relativeto pizzeria scale 0.5 light FF8F4A 1000000 - actor -3314 7 -2 lightorb + actor -14 -3 -2 lightorb + relativeto pizzeria scale 0.5 light FF8F4A 1000000 - actor -3330 10 0 suit + actor -30 0 0 suit + relativeto pizzeria name "Space Pizza™" chatid pizzeria mass 200.0 @@ -163,6 +176,7 @@ actor -3300 10 0 pizzeria lvl info actor 10 0 70 suit + relativeto player name Icarus chatid hi_icarus alive yes @@ -204,6 +218,7 @@ actor 10 0 70 suit lvl info actor -300 0 40 suit + relativeto player id drifter name "Drifter" chatid drifter