(WIP) Curious Conundrum / CFD 2012 submission

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by Komag »

There is no way to pause for a time, you have to instead start a timer and then have the timer trigger the next stuff (and trigger itself to stop)
Finished Dungeons - complete mods to play
User avatar
Redweaver
Posts: 68
Joined: Tue Dec 04, 2012 1:13 am
Location: Illinois, USA

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by Redweaver »

I'll just post what I'm trying to fix.

Code: Select all

function ending()

hudPrint ("Thank you for playing through my dungeon!  I hope you enjoyed your experience")
playSound ("pit_close")
playSound ("secret")
playSound ("heal_party")
playSound ("level_up")
sleep(1)                       <---------- attempt to call global 'sleep' (a nil value) 
setFont("Intro")
textWriter([[
"A Curious Conundrum" Credits:

     Designed, written, and created by Redweaver

The ability to put a project like this together: 
The entire, awesome community on the grimrock.net forum.

                     Playtesters/Creative input:

Grimwold for all his scripting help.
msyblade for banging ideas together with me.
Komag for reminding me to RTFM while I was scripting.



And YOU!

Thanks so much for playing!!
]])
click()
fadeOutText(0.5)

fadeOut(4)
end
Error pointed out in code. Trying to put credits together. Will add playtesters in if/when I get a any. ;)
My finished mods:
A Curious Conundrum http://grimrock.nexusmods.com/mods/135 also on Steam Workshop

Current WIP:
Lair of Unarak http://grimrock.nexusmods.com/mods/137
User avatar
Redweaver
Posts: 68
Joined: Tue Dec 04, 2012 1:13 am
Location: Illinois, USA

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by Redweaver »

Up on the Steam Workshop and the Grimrock nexus http://grimrock.nexusmods.com/mods/135
My finished mods:
A Curious Conundrum http://grimrock.nexusmods.com/mods/135 also on Steam Workshop

Current WIP:
Lair of Unarak http://grimrock.nexusmods.com/mods/137
Ancylus
Posts: 50
Joined: Thu Oct 11, 2012 5:54 pm

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by Ancylus »

The package you've uploaded into Nexus seems to contain only the .dungeon_editor file, but not the actual contents of your dungeon. You need to either include the mod_assets directory in the package, or export your dungeon from the editor and share the resulting .dat file.
User avatar
Redweaver
Posts: 68
Joined: Tue Dec 04, 2012 1:13 am
Location: Illinois, USA

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by Redweaver »

Ancylus wrote:The package you've uploaded into Nexus seems to contain only the .dungeon_editor file, but not the actual contents of your dungeon. You need to either include the mod_assets directory in the package, or export your dungeon from the editor and share the resulting .dat file.
OOOOOOPS! :oops:

Fixed. Uploaded both the exported .dat and the full editor directory. Thanks and sorry.
My finished mods:
A Curious Conundrum http://grimrock.nexusmods.com/mods/135 also on Steam Workshop

Current WIP:
Lair of Unarak http://grimrock.nexusmods.com/mods/137
User avatar
Grimwold
Posts: 511
Joined: Thu Sep 13, 2012 11:45 pm
Location: A Dungeon somewhere in the UK

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by Grimwold »

did you get the credits stuff sorted or not?

If not, you may not realise that you need to put sleep; setFOnt and textWriter stuff onwards into a special file called (something like) ending.lua in the folder mod_assets/cinematics/


in the dungeon you need to put something like

Code: Select all

function ending()
  hudPrint ("Thank you for playing through my dungeon!  I hope you enjoyed your experience") 
  playSound ("pit_close")
  playSound ("secret")
  playSound ("heal_party")
  playSound ("level_up")
  completeGame("mod_assets/cinematics/ending.lua")
end
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by msyblade »

You should check out this thread :) (Finally get to use one of mine :))

viewtopic.php?f=14&t=4365
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
Redweaver
Posts: 68
Joined: Tue Dec 04, 2012 1:13 am
Location: Illinois, USA

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by Redweaver »

msyblade wrote:You should check out this thread :) (Finally get to use one of mine :))

viewtopic.php?f=14&t=4365
I stole your code and you couldn't tell? Did I hack it up that badly? :lol:

Is it redundant to give you credit for the credits?

Now I need an intro.ogg and that page02.tga and it'll practically be all professional like...other than an opening and closing cinematic slideshow. :D
My finished mods:
A Curious Conundrum http://grimrock.nexusmods.com/mods/135 also on Steam Workshop

Current WIP:
Lair of Unarak http://grimrock.nexusmods.com/mods/137
User avatar
Redweaver
Posts: 68
Joined: Tue Dec 04, 2012 1:13 am
Location: Illinois, USA

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by Redweaver »

In dungeon script entity:

Code: Select all

function ending()
   hudPrint ("Thank you for playing through my dungeon!  I hope you enjoyed your experience")
   playSound ("pit_close")
   playSound ("secret")
   playSound ("heal_party")
   playSound ("level_up")
   completeGame ("mod_assets/cinematics/ending.lua")
end
C:\...\My Documents\Almost Human\Legend of Grimrock\Dungeons\A Curious Conundrum\mod_assets\cinematicsending.lua:

Code: Select all

enableUserInput()
-- startMusic("mod_assets/sounds/intro.ogg")

-- showImage("assets/textures/cinematic/intro/page02.tga")
fadeIn(2)

-- show the title text
sleep(1)
setFont("IntroTitle")
showText("The End", 3)
sleep(2)
fadeOutText(1)

-- show the story text
sleep(1)
setFont("Intro")
textWriter([[
You escaped!


...so why are the hairs on the back of your neck standing up?
]])
click()

setFont("Intro")
textWriter([[
"A Curious Conundrum" Credits:


     Designed, written, and created by Redweaver




                     Playtesters/Creative input:


Grimwold for all his scripting help.

msyblade for banging ideas together with me and reminding me to give credit where credit's due.

Komag for reminding me to RTFM while I was scripting.


   The ability to put a project like this together: 

The entire, awesome community on the grimrock.net forum.



And YOU!


Thanks so much for playing!!

]])
click()
fadeOutText(0.5)

fadeOut(4)
fadeOutMusic(3)
It only plays the sound effects and displays the hudPrint.
My finished mods:
A Curious Conundrum http://grimrock.nexusmods.com/mods/135 also on Steam Workshop

Current WIP:
Lair of Unarak http://grimrock.nexusmods.com/mods/137
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: (WIP) Curious Conundrum / CFD 2012 submission

Post by msyblade »

the cinematic wont come up in the editor, u have to export and play. notice the pic is just assets, not mod_assets, that's something built into the game.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Post Reply