Petri consumes glögg and codes with you
- 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
@Xanathar: I like it! Either that or showDialog("background.tga", {"button01.tga", x, y, "button02.tga", x2, y2}, function(buttonIndex)); {Where the function is a callback that takes the clicked button index}.
Another Idea
- item:onHit() {So we can do spell effects on any monster that a custom projectile hits.}
Another Idea
- item:onHit() {So we can do spell effects on any monster that a custom projectile hits.}
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: Petri consumes glögg and codes with you
is it possible to have the renderer fade out into anothor color than black ?
Something like we can choose the fade out color per level ?
Skuggasveinn.
Something like we can choose the fade out color per level ?
Skuggasveinn.
Re: Petri consumes glögg and codes with you
Projectile spells should be casted on party tile, without actually hitting it
Re: Petri consumes glögg and codes with you
@JohnWordsworth
Even better!showDialog("background.tga", {"button01.tga", x, y, "button02.tga", x2, y2}, function(buttonIndex));
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
Re: Petri consumes glögg and codes with you
The projectile code is rather limited at the moment... I could add "championOrdinal" argument to shootProjectile() which indicates the champion who casted the projectile. Is this good enough?Grimwold wrote:shootProjectile() to reference the same flags bitfield as damageTile() so that the originator ordinal can be used
Re: Petri consumes glögg and codes with you
oh, I just realized:
item:onEquip(slot) ! Simple but super super super super useful.
Actually, item:onInsertInSlot(slot) would be even more general, working for the whole 1-31 slots.
it would allow us to see when an item is put in the inventory, when a torch is put in the hand, when an amulet is worn, make triggers upon wearing a complete set of armor, make items have constant effects by just being carried (eg DM's rabbit foot)
We would need an onPickUp(slot) complementary hook which would work at least for inventory (or even for the floor/alcoves, etc).
item:onEquip(slot) ! Simple but super super super super useful.
Actually, item:onInsertInSlot(slot) would be even more general, working for the whole 1-31 slots.
it would allow us to see when an item is put in the inventory, when a torch is put in the hand, when an amulet is worn, make triggers upon wearing a complete set of armor, make items have constant effects by just being carried (eg DM's rabbit foot)
We would need an onPickUp(slot) complementary hook which would work at least for inventory (or even for the floor/alcoves, etc).
Last edited by Diarmuid on Tue Dec 04, 2012 7:54 pm, edited 1 time in total.
Re: Petri consumes glögg and codes with you
Done: added new LightSource property "flicker"
Re: Petri consumes glögg and codes with you
Yes please, and it would be nice if shootProjectile could return the shot projectile id or the actual entity.petri wrote:The projectile code is rather limited at the moment... I could add "championOrdinal" argument to shootProjectile() which indicates the champion who casted the projectile. Is this good enough?Grimwold wrote:shootProjectile() to reference the same flags bitfield as damageTile() so that the originator ordinal can be used
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
- cloneObject viewtopic.php?f=22&t=8450
Re: Petri consumes glögg and codes with you
Does the door object can be upgraded to include support for alternate direction ?
Can this be done easily ?
I mean one sided door opening at 0 degrees and two sided doors opening at 90 and 270 degrees is rather limited...
Also support for more than 2 sides for doors could be nice.
I am thinking, for example, of a 4 part door opening while sliding at 45°, 135°, 225° and 315°...
But two sided door opening at 0° and 180° could be nice also...
There's a lot of combination in fact...
A rotating door would be a bonus but that cause clipping problems so i don't think it is easily feasible right now.
Could this be added, in the model with node names ?
Does this need custom properties for the door object ?
Can this be done easily ?
I mean one sided door opening at 0 degrees and two sided doors opening at 90 and 270 degrees is rather limited...
Also support for more than 2 sides for doors could be nice.
I am thinking, for example, of a 4 part door opening while sliding at 45°, 135°, 225° and 315°...
But two sided door opening at 0° and 180° could be nice also...
There's a lot of combination in fact...
A rotating door would be a bonus but that cause clipping problems so i don't think it is easily feasible right now.
Could this be added, in the model with node names ?
Does this need custom properties for the door object ?
Re: Petri consumes glögg and codes with you
This is great, I've been avoiding light sources for this very reason. And Glögg is great. In fact, I need to see if I have some that is undrunk.petri wrote:Done: added new LightSource property "flicker"
I have no proposable ideas of my own, though.
EDIT:
This seconded thousandfold -- doing semi-outdoor environments, having doors that disappear down would sometimes be instrumental. It'd also enable makeshift moats and pits.LordYig wrote:Does the door object can be upgraded to include support for alternate direction ?
Can this be done easily ?
BASILEUS