[mod] witchcraft (v0.4)

jakab
Member
Posts: 88
Joined: Mon Aug 15, 2016 17:19
IRC: jakab
In-game: jakab

Re: [mod] witchcraft (v0.3)

by jakab » Post

i have got it! the sprint mod. now i can awoid it, but i want to change the "fast" in the default minetest, so i can use that for running. i didnt find it. can you help me out?

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] witchcraft (v0.3)

by D00Med » Post

I'm not sure I understand sorry.
What you could do is modify sprinting to use the player effects mod(you could copy the effects from witchcraft).
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

Byakuren
Member
Posts: 818
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [mod] witchcraft (v0.3)

by Byakuren » Post

Making sprint use playereffects would not help as it would still cancel out witchcraft's jump boost, just doing it a little bit nicer. Also it would be hackish since playereffects is designed for effects with a duration, not something like sprint.

On the other hand, if witchcraft used playereffects + player_monoids, and sprint used player_monoids, you could have sprinting jump boost and witchcraft potion jump boost be active at the same time and stack.
Every time a mod API is left undocumented, a koala dies.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [mod] witchcraft (v0.3)

by texmex » Post

Byakuren wrote:Making sprint use playereffects would not help as it would still cancel out witchcraft's jump boost, just doing it a little bit nicer. Also it would be hackish since playereffects is designed for effects with a duration, not something like sprint.

On the other hand, if witchcraft used playereffects + player_monoids, and sprint used player_monoids, you could have sprinting jump boost and witchcraft potion jump boost be active at the same time and stack.
This is something I've wanted for a long time. I'm not that skilled to have succeeded in it yet, so if someone could take a stab at it I'd appreciate that.

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] witchcraft (v0.3)

by D00Med » Post

Ok, I might make witchcraft use player_monoids, and maybe make a sprinting mod that uses it too.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [mod] witchcraft (v0.3)

by texmex » Post

D00Med wrote:Ok, I might make witchcraft use player_monoids, and maybe make a sprinting mod that uses it too.
That would be fantastic, D00MEd! We would finally have interoperability with player-altering, sprinting and 3d_armor (which supports player_monoids too) and not have to choose between them. :)

jakab
Member
Posts: 88
Joined: Mon Aug 15, 2016 17:19
IRC: jakab
In-game: jakab

Re: [mod] witchcraft (v0.3)

by jakab » Post

thank you all :) ill try the player monoid ... why the 'i' and 'l' is same ? :D

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [mod] witchcraft (v0.3)

by texmex » Post

jakab wrote:thank you all :) ill try the player monoid ... why the 'i' and 'l' is same ? :D
The above mentioned solution isn't built yet however.
If you just want the "defalt MT fast", why not just grant yourself that?

Code: Select all

/grant singleplayer fast

User avatar
the_raven_262
Member
Posts: 343
Joined: Mon Sep 22, 2014 09:30
GitHub: theraven262
IRC: [Discord unfortunately] corvus262

Re: [mod] witchcraft (v0.3)

by the_raven_262 » Post

Witchcraft!
Awesome mod, love the pentagrams.

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] witchcraft (v0.3)

by D00Med » Post

Thanks :)
It might be a while before I can find time to update this mod
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

jakab
Member
Posts: 88
Joined: Mon Aug 15, 2016 17:19
IRC: jakab
In-game: jakab

Re: [mod] witchcraft (v0.3)

by jakab » Post

texmex wrote:
jakab wrote:thank you all :) ill try the player monoid ... why the 'i' and 'l' is same ? :D
The above mentioned solution isn't built yet however.
If you just want the "default MT fast", why not just grant yourself that?

-.- i know how to grant it, i want thte code to owerwrite its speed. too fast to use it as "running", and witchcraft doesent work with my running mod. btw thanks for help :)

jakab
Member
Posts: 88
Joined: Mon Aug 15, 2016 17:19
IRC: jakab
In-game: jakab

Re: [mod] witchcraft (v0.3)

by jakab » Post

texmex wrote:
jakab wrote:thank you all :) ill try the player monoid ... why the 'i' and 'l' is same ? :D
The above mentioned solution isn't built yet however.
If you just want the "defalt MT fast", why not just grant yourself that?

Code: Select all

/grant singleplayer fast
... sorry i deleted it :P :D :F

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] witchcraft (v0.3)

by azekill_DIABLO » Post

congratulations!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] witchcraft (v0.3)

by D00Med » Post

Update: The mod now supports player_monoids, but it will still work without it.
I also changed the potion textures, so they match the new glass bottle texture.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [mod] witchcraft (v0.3)

by texmex » Post

D00Med wrote:Update: The mod now supports player_monoids, but it will still work without it.
I also changed the potion textures, so they match the new glass bottle texture.
Great to see this update happening!

User avatar
lisacvuk
Member
Posts: 274
Joined: Sat Jul 19, 2014 11:52
GitHub: lisacvuk
IRC: lisac
In-game: lisacvuk
Location: Serbia, Užice

Re: [mod] witchcraft (v0.4)

by lisacvuk » Post

Image
It's lisac, not lisa.
400 character limit? Am I writing a book?
Administrator on Craig's server. Minetest player.
"The enemy pales when they see the face of Dazzle!" ~ Dazzle obviously.
I live in Serbia.
Steam | OpenDOTA
My mods:
Tool ranks
I appreciate donations in TF2 items. :)

michael314
Member
Posts: 12
Joined: Fri Jan 12, 2018 03:39

Re: [mod] witchcraft (v0.4)

by michael314 » Post

Looks like "moreplants" is also required or the module won't load. I had to try to start a shared game before I could see the error.

Anyway, I downloaded this because I have been looking for a night vision potion so as to see underground. In looking through the code, it appears that I am looking for the "Shiny Potion" which is supposed to be yellow, but despite seeing several potions in inventory none of yellow or says shiny.

But then I was looking through the code more and see it is checking the time of day. I've got world time set to always be day, but I'm underground I don't care about that, I just want to be able to see these huge caverns. How do I do that?

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [mod] witchcraft (v0.4)

by Miniontoby » Post

Cool mod
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] witchcraft (v0.4)

by D00Med » Post

michael314 wrote: I've got world time set to always be day, but I'm underground I don't care about that, I just want to be able to see these huge caverns. How do I do that?
Use a torch
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests