Page 1 of 2

[WIP] Bouncing Chakram

Posted: Fri Jan 11, 2013 11:42 am
by ralzakark
Hi all!
Here's my bouncing chakram:

Latest Version: 0.9.03
Download @ Nexusmods: http://grimrock.nexusmods.com/mods/174/
Video: http://www.youtube.com/watch?v=2X_10DWdC4A

It still need a bit of testing but it works (at least for me)
There is also a debug flag, if set to true it will print messages to the console.
The chakram bounces on walls, metal doors and blockages, slices through monsters and breakables and activates buttons and levers.
Metal Junks will deflect (depending on facing) the chakram. You can configure what to bounce/deflect on into the script.

The model and the textures are original creations.
The script embeds parts of JKos fw_fx for special effects.
I took the idea from Pat Ferguson's video "The Glaive of Krull for Legend of Grimrock [Mod]"

Feedbacks are welcome :)

Alex

Re: [WIP] Bouncing Chakram

Posted: Fri Jan 11, 2013 12:14 pm
by Komag
wow, that sounds pretty impressive! I'm sure it will make its way into some dungeons in the future :)

Re: [WIP] Bouncing Chakram

Posted: Fri Jan 11, 2013 12:35 pm
by hyteria
amazing ! great work dude , really great work

Re: [WIP] Bouncing Chakram

Posted: Sun Jan 20, 2013 11:03 pm
by hyteria
all work on editor , but got those crash using on custom dungeon (well after export)

Image

Re: [WIP] Bouncing Chakram

Posted: Tue Jan 22, 2013 11:09 am
by ralzakark
I don't have much time to debug it atm but you could try to add another check in the if to avoid nil objects.
Go @ line 234 in the script and substitute:

Code: Select all

     if entity.name=='chakram_projectile' then
with

Code: Select all

     if entity and entity.name=='chakram_projectile' then
Let me know if you still have problems, if you don't I'll update the script on nexus.

Re: [WIP] Bouncing Chakram

Posted: Tue Jan 22, 2013 11:32 am
by hyteria
in fact prob seems to be linked to loaded party group , cause if i use new party this seems to not crash , maybee this is a way to look for

ps : and btw i dont use charkram_projectile , but chakram

Re: [WIP] Bouncing Chakram

Posted: Tue Jan 22, 2013 11:50 am
by ralzakark
hyteria wrote:in fact prob seems to be linked to loaded party group , cause if i use new party this seems to not crash , maybee this is a way to look for
I'll make some save/load tests...
hyteria wrote:ps : and btw i dont use charkram_projectile , but chakram
chakram_projectile is a "fake" object used only for projectiles (flying chakrams)
If a chakram is on the ground it's name should be "chakram" but when you throw it, it becomes a "chakram_projectile" and is registered into the global array. If it cannot bounce then it's unregistered and dropped on the ground and becomes a "chakram" again.

Re: [WIP] Bouncing Chakram

Posted: Tue Jan 22, 2013 11:51 am
by hyteria
well in my dungeon i just need the chakram then no ? the other is kind of auto ? cause you can use both on editor (you define 2 objects)

well i will send you my work maybee it s better to understand

Re: [WIP] Bouncing Chakram

Posted: Tue Jan 22, 2013 12:28 pm
by ralzakark
hyteria wrote:well in my dungeon i just need the chakram then no ? the other is kind of auto ? cause you can use both on editor (you define 2 objects)
correct
hyteria wrote:well i will send you my work maybee it s better to understand
ok, meanwhile I corrected a couple of bugs in the code
you can find the updated version (0.9.01) on nexus

Re: [WIP] Bouncing Chakram

Posted: Tue Jan 22, 2013 12:31 pm
by hyteria
many thx i will try this after work , i keep you informed