Neat tricks! Clip w. elevator, underground stream + bonus :)

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
flatline

Neat tricks! Clip w. elevator, underground stream + bonus :)

Post by flatline »

Ok, so I've been fooling around too much with the editor, and today I have had some neat success:
This:

Space elevator

*EDIT* Video quality is quite poor but there are lots of stars, be assured... :)

It is mostly of proof of concept.
Things to do/issues:

Solve the fact that stars only show up at an angle of 45 degrees or more above ground, they are blocked by game entities below a 45 degree angle to the horizon.
Fix a texture for the moon (have one to apply to the particle effect, but no good at doing texture editing)
Improve the particles and light of the "water stream" (lots of room for improvement)
Daylight

And whatever else I have forgotten at the moment.
Oh yeah, I also made alcoves with items that are suspended 100 meter up, among the stars. You can make clouds if you like. And birds, balloons, whatnot.

Just paste this into items.lua or whatever you use. Then you can choose starlight, moonlight and other items. Light settings and spread of stars, distances and so on you can edit in the lua, includig moonnlight shadows, starlight shadows and so forth. (shadows are turned off atm for improved performance)
SpoilerShow
defineObject{
name = "moon_alcove",
class = "Alcove",
anchorPos = vec(0, 10, 0),
targetPos = vec(0,10,0),
targetSize = vec(0.6, 0.5, 0.6),
model = "assets/models/env/dungeon_floor_01.fbx",
placement = "floor",
replacesWall = true,
editorIcon = 92,
}

defineObject{
name = "star_alcove",
class = "Alcove",
anchorPos = vec(0, 15, 0),
targetPos = vec(0,15,0),
targetSize = vec(0.6, 0.5, 0.6),
model = "assets/models/env/dungeon_floor_01.fbx",
placement = "floor",
replacesWall = true,
editorIcon = 92,
}

defineObject{
name = "iceflow",
class = "Decoration",
model = "assets/models/swipes/swipe_thrust_right.fbx",
placement = "floor",
replacesFloor = true,
editorIcon = 136,
}


defineObject{
name = "iceroof",
class = "Decoration",
model = "assets/models/swipes/swipe_thrust_right.fbx",
placement = "ceiling",
replacesCeiling = true,
editorIcon = 136,
}

defineObject{
name = "ice_junk_block",
class = "Blockage",
model = "assets/models/swipes/swipe_thrust_left.fbx",
placement = "floor",
repelProjectiles = true,
hitSound = "impact_blade",
editorIcon = 56,
}

defineObject{
name = "icelight",
class = "LightSource",
lightPosition = vec(0, -0.5, 0),
lightRange = 2,
lightColor = vec(0.1, 0.1, 0.5),
brightness = 0,
castShadow = true,
particleSystem = "icefog",
placement = "floor",
editorIcon = 88,
}


defineObject{
name = "moonlight",
class = "LightSource",
lightPosition = vec(0, 20, 0),
lightRange = 1,
lightColor = vec(0.1, 0.4, 1),
brightness = 100,
castShadow = false,
particleSystem = "moon",
placement = "floor",
editorIcon = 88,
}

defineObject{
name = "highstarlight",
class = "LightSource",
lightPosition = vec(0, 20, 0),
lightRange = 1,
lightColor = vec(0.1, 0.4, 1),
brightness = 1000,
castShadow = false,
particleSystem = "stars",
placement = "floor",
editorIcon = 88,
}

defineObject{
name = "starlight",
class = "LightSource",
lightPosition = vec(0, 18, 0),
lightRange = 1,
lightColor = vec(0.1, 0.4, 1),
brightness = 1000,
castShadow = false,
particleSystem = "stars",
placement = "floor",
editorIcon = 88,
}

defineObject{
name = "lowstarlight",
class = "LightSource",
lightPosition = vec(0, 15, 0),
lightRange = 1,
lightColor = vec(0.1, 0.4, 1),
brightness = 1000,
castShadow = false,
particleSystem = "stars",
placement = "floor",
editorIcon = 88,
}



defineParticleSystem{
name = "icefog",
emitters = {
-- fog
{
emissionRate = 25,
emissionTime = 0,
maxParticles = 50,
boxMin = {-1.5,0,-1.5},
boxMax = {1.5,0,1.5},
sprayAngle = {0,360},
velocity = {0.1,0.1},
objectSpace = false,
texture = "assets/textures/particles/glow.tga",
lifetime = {5,10},
colorAnimation = true,
color0 = {0.2, 0.3, 0.5},
color1 = {0.1, 0.1, 0.1},
opacity = 1,
fadeIn = 5,
fadeOut = 10,
size = {1, 3},
gravity = {0,-0.1,0},
airResistance = 10,
rotationSpeed = 0,
blendMode = "Additive",
},

{
emissionRate = 25,
emissionTime = 0,
maxParticles = 50,
boxMin = {-1.5,0,-1.5},
boxMax = {1.5,0,1.5},
sprayAngle = {0,360},
velocity = {0.5,1},
objectSpace = false,
texture = "assets/textures/particles/fog.tga",
lifetime = {5,10},
colorAnimation = true,
color0 = {0.2, 0.3, 0.5},
color1 = {0.1, 0.1, 0.1},
opacity = 0.8,
fadeIn = 5,
fadeOut = 10,
size = {1, 3},
gravity = {0,-0.1,0},
airResistance = 10,
rotationSpeed = 2,
blendMode = "Additive",
},


-- glow
{
emissionRate = 5,
emissionTime = 0,
maxParticles = 30,
boxMin = {0,0.5,0},
boxMax = {0,0.5,0},
sprayAngle = {0,360},
velocity = {0.2,0.3},
texture = "assets/textures/particles/glow.tga",
lifetime = {3, 7},
colorAnimation = true,
color0 = {0.7, 0.8, 1},
color1 = {0, 0, 0.1},
opacity = 0.1,
fadeIn = 10,
fadeOut = 10,
size = {8, 12},
gravity = {0,0,0},
airResistance = 10,
rotationSpeed = 0.2,
blendMode = "Additive",
}
}
}

defineParticleSystem{
name = "stars",
emitters = {
-- glow
{
emissionRate = 0,
emissionTime = 0,
spawnBurst = true,
maxParticles = 1,
boxMin = {-1,-1,-1},
boxMax = {1,1,1},
sprayAngle = {0,360},
velocity = {0,0},
texture = "assets/textures/particles/glow.tga",
lifetime = {1000000000, 100000000},
colorAnimation = false,
color0 = {0.7, 0.8, 1},
opacity = 0.7,
fadeIn = 0,
fadeOut = 0,
size = {0.05, 0.15},
gravity = {0,0,0},
airResistance = 10,
rotationSpeed = 0,
blendMode = "Additive",
}
}
}

defineParticleSystem{
name = "moon",
emitters = {

-- glow
{
emissionRate = 1,
emissionTime = 0,
maxParticles = 1,
boxMin = {0,0,0},
boxMax = {0,0,0},
sprayAngle = {0,0},
velocity = {0,0},
texture = "assets/textures/particles/glow.tga",
lifetime = {1000000000, 100000000},
colorAnimation = false,
color0 = {0.7, 0.8, 1},
opacity = 1,
fadeIn = 0,
fadeOut = 0,
size = {2, 2},
gravity = {0,0,0},
airResistance = 10,
rotationSpeed = 0,
blendMode = "Additive",
}
}
}

defineObject{
name = "waterlight",
class = "LightSource",
lightPosition = vec(0, -1, 0),
lightRange = 2,
lightColor = vec(0.1, 0.1, 0.5),
brightness = 0,
castShadow = true,
particleSystem = "waterfog",
placement = "floor",
editorIcon = 88,
}

defineParticleSystem{
name = "waterfog",
emitters = {
-- fog
{
emissionRate = 25,
emissionTime = 0,
maxParticles = 50,
boxMin = {-1.5,0,-1.5},
boxMax = {1.5,0,1.5},
sprayAngle = {0,180},
velocity = {0.2,0.3},
objectSpace = false,
texture = "assets/textures/particles/glow.tga",
lifetime = {5,10},
colorAnimation = false,
color0 = {0.1, 0.1, 0.5},
opacity = 1,
fadeIn = 5,
fadeOut = 5,
size = {1, 3},
gravity = {0,-0.1,0},
airResistance = 1000,
rotationSpeed = 2,
blendMode = "Additive",
},

-- glow
{
emissionRate = 5,
emissionTime = 0,
maxParticles = 30,
boxMin = {-1,-0.2,-1},
boxMax = {1,0.2,1},
sprayAngle = {0,180},
velocity = {0.2,0.3},
texture = "assets/textures/particles/glow.tga",
lifetime = {3, 7},
colorAnimation = false,
color0 = {0.1, 0.1, 0.5},
opacity = 0.5,
fadeIn = 1,
fadeOut = 1,
size = {0.5, 2},
gravity = {0,-0.1,0},
airResistance = 1000,
rotationSpeed = 2,
blendMode = "Additive",
}
}
}
Happy outdoor-dungeon-editing! /Marcus
Last edited by flatline on Mon Oct 08, 2012 6:44 pm, edited 1 time in total.
Lilltiger
Posts: 95
Joined: Sun Sep 16, 2012 1:12 am

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by Lilltiger »

Neat one, the sky actually do look quite far away
Batty
Posts: 509
Joined: Sun Apr 15, 2012 7:04 pm

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by Batty »

Final proof that alcoves are the answer to everything, wait till Neikun sees this!

That looks like the beginning of a great sci-fi mod. Using the swipe graphic is brilliant! Lots of other applications for the stream, great stuff!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by Neikun »

*smirks*
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
HaunterV
Posts: 676
Joined: Mon Apr 16, 2012 9:54 pm
Location: Barrie, Ontario, Canada

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by HaunterV »

has anyone made glass yet? put glass over the stream to walk on it
Grimrock Community 'FrankenDungeon 2012. Submit your entry now!: http://tinyurl.com/cnupr7h
SUBMIT YOUR ASSETS! Community Asset Pack (C.A.P.): http://tinyurl.com/bqvykrp
Behold! The HeroQuest Revival!: http://tinyurl.com/cu52ksc
Batty
Posts: 509
Joined: Sun Apr 15, 2012 7:04 pm

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by Batty »

I didn't realize until seeing this how ready-made the prison wallset is for sci-fi.
flatline

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by flatline »

Batty wrote:Final proof that alcoves are the answer to everything, wait till Neikun sees this!

That looks like the beginning of a great sci-fi mod. Using the swipe graphic is brilliant! Lots of other applications for the stream, great stuff!
Well, alcoves have nothing to do with the video really... but agreed, they are pretty useful in many other ways!
flatline

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by flatline »

HaunterV wrote:has anyone made glass yet? put glass over the stream to walk on it
I can fix a sort of convincing glass pane. Right nnow I use trap doors as bridges, looks fine :)
User avatar
Trap
Posts: 67
Joined: Mon Sep 24, 2012 2:09 am

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by Trap »

nice work - love the space elevator btw. ;p
flatline

Re: Neat tricks! Clip w. elevator, underground stream + bonu

Post by flatline »

Got really nice rain and snow now as well, and decent daylight with a very nice sun. Fountains made from dragon statues looks pretty neat too. Still some issues with sky texture, would need a blue solid background rather than a glow-based particle-effect for the sky.

Crappy pic:
Image
Post Reply