Petri consumes glögg and codes with you

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Petri consumes glögg and codes with you

Post by petri » Tue Dec 04, 2012 6:58 pm

It's time for another session of "Petri consumes <an consumable item> and codes with you!". As you may know the winter has come to Finland so today we serve only glögg. For those not in knowing, the rules are quite simple: I drink and you tell me what to code. Time is limited, so simple and quick features have much higher probability of being implemented :)

We have about 2,5 hours left. Let's go people!

User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Petri consumes glögg and codes with you

Post by petri » Tue Dec 04, 2012 7:00 pm

Glögg warming up.. hmm, what to code...

User avatar
JohnWordsworth
Posts: 1397
Joined: Fri Sep 14, 2012 4:19 pm
Location: Devon, United Kingdom
Contact:

Re: Petri consumes glögg and codes with you

Post by JohnWordsworth » Tue Dec 04, 2012 7:02 pm

Aiming for what I think might be easier tasks...

object:moveTo(level,x,y,facing) would be a nice addition (so there's no need to setup a complex set of teleporters just to move a single object!).
container:removeItem() I believe is missing?

Will have more in a short while when I consult previous forum posts! (Had to rush something in - hated the thought of wasted time while you're waiting for posts!)
Last edited by JohnWordsworth on Tue Dec 04, 2012 7:03 pm, edited 1 time in total.
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.

User avatar
crisman
Posts: 305
Joined: Sat Sep 22, 2012 9:23 pm
Location: Italy

Re: Petri consumes glögg and codes with you

Post by crisman » Tue Dec 04, 2012 7:02 pm

party hook: onDealDamage()
monster hook: getHealth()
monster hook: setHealth()

(hope I understood correctly what I had to do :S)

Periodiko
Posts: 19
Joined: Fri Oct 19, 2012 2:45 am

Re: Petri consumes glögg and codes with you

Post by Periodiko » Tue Dec 04, 2012 7:04 pm

A boolean in the definition of lightsources that causes them to not flicker.

User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Petri consumes glögg and codes with you

Post by petri » Tue Dec 04, 2012 7:05 pm

damn this glögg is hot, hot, HOT!!!

getHealth() and setHealth() are already implemented for monsters.
removing items from containers, let's see...

User avatar
Grimwold
Posts: 508
Joined: Thu Sep 13, 2012 11:45 pm
Location: A Dungeon somewhere in the UK

Re: Petri consumes glögg and codes with you

Post by Grimwold » Tue Dec 04, 2012 7:09 pm

I was keen for a way to make monsters flee for a time.. alternative solutions would be

#1 a new AI type = flee (instead of default or guard)

#2 monster:setFlee(5)
to make it flee the party for 5 seconds.

#3 monster:setSight(0)
set the sight of the monster on the fly so that it would at least wander

User avatar
JohnWordsworth
Posts: 1397
Joined: Fri Sep 14, 2012 4:19 pm
Location: Devon, United Kingdom
Contact:

Re: Petri consumes glögg and codes with you

Post by JohnWordsworth » Tue Dec 04, 2012 7:09 pm

- I've seen "new damage types" come up a few times. If they are just labels, could it be possible to add more damage types (and treat as regular damage if an existing monster doesn't reference it)?
- champion:addPortraitOverlay() and/or champion:getPortrait() so that we can switch out a champion's portrait and put it back after the room/event.
- Option to move wall lever interaction / bounding box to a different location.

Sorry if I've posted too many - just trying to aggregate some ideas I've read recently in the forums that I think people would like :). My dream feature, but without a doubt more than 2 hours would be a basic dialogue system (not sure what the most basic one possible would be)!
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.

User avatar
Grimwold
Posts: 508
Joined: Thu Sep 13, 2012 11:45 pm
Location: A Dungeon somewhere in the UK

Re: Petri consumes glögg and codes with you

Post by Grimwold » Tue Dec 04, 2012 7:10 pm

not sure if this is already fixed, but
container:removeItem()
was also requested.

User avatar
crisman
Posts: 305
Joined: Sat Sep 22, 2012 9:23 pm
Location: Italy

Re: Petri consumes glögg and codes with you

Post by crisman » Tue Dec 04, 2012 7:11 pm

Fragile boolean on item definition. If thrown, the item breaks when hit something.

dind't know those hooks were already implemented O_o
Can you update the scripts definition, please?? :D

Post Reply