Page 1 of 2

[Mod]Oxygenerators and more!! [5.0][oxygenerators]

Posted: Thu Jul 12, 2018 00:12
by ManElevation
Heyaii!
this mod gives breath at all times when you are inside its radius, you can see the radius by punching the machine just like in protector mod.

there is a small one with a radius of 5 and a big one with a radius of 26!
This mod is great for water or space bases.

without this you cant live in space!
(oxygenerators and 3d oxygenerators are 2 different mods!)
You can find this mod at DistrictPvp
Oxygenerators:
Image
3d Oxygenerators (2 different mods)
Image
Oxygenerators in space!
Image
Mover:
Image
Spoiler
this is an old screenshot from a previous version, all versions before 2.0 had this texture Image
Dependencies: default
License: MIT
For more info read README.md

Where this mod is used (did i miss you?):
  • DistrictPvP
  • BlazeCraft
  • Chippy's Survival Server
if you have basic_machines replace this code from the oxygenerator/init.lua at the end (without this the mods are incompatible)

Code: Select all

-- Space! 
local function is_populated(pos)
    if minetest.find_node_near(pos, 5, {"oxygenerator:oxygenerator_small"}) ~= nil or
        minetest.find_node_near(pos, 26, {"oxygeneratorbig:oxygenerator_big"}) ~=nil then
        return true
    else
        return false
    end
end

space_timer=0

minetest.register_globalstep(function(dtime)
    space_timer=space_timer + dtime;
    if space_timer>1 then
        space_timer=0
        for _,player in ipairs(minetest.get_connected_players()) do
            local pos=player:get_pos()
            if pos.y>=1100 then
                    player:set_sky({r=0, g=0, b=0},"skybox",{"sky_pos_y.png","sky_neg_y.png","sky_pos_z.png","sky_neg_z.png","sky_neg_x.png","sky_pos_x.png"})
                    if not is_populated(pos) then
                        local hp = player:get_hp()
                       local privs = minetest.get_player_privs(player:get_player_name());
                        if hp>0 and not privs.oxygenerator then
                            player:set_hp(hp-1)
                    end
                end
            end
        end
    end
end)
Spoiler
Github 5.2:https://github.com/ManElevation/oxygenerators5.2
Download:https://github.com/ManElevation/oxygene ... master.zip
Spoiler

Re: [Mod] Oxygenerator [oxygenerator]

Posted: Sun Jul 22, 2018 21:29
by ManElevation
Update!
now there is a Indrustial Oxygenerator (bigoxygenerator) witch has a radius of 26!

Coming soon!:
  • space! - space images
  • not been able to breath in space like in water (space starts at y:1100)

Re: [Mod] Oxygenerator [oxygenerator]

Posted: Sun Jul 22, 2018 21:32
by Natechip
ManElevation wrote:Update!
now there is a Indrustial Oxygenerator (bigoxygenerator) witch has a radius of 26!
Comming soon:
space!
not been able to breath in space like in water (y:1100)
space images
Awesome sauce!

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Sun Jul 22, 2018 23:18
by ManElevation
Added 3d oxygenerators:
oxygenerators and 3d oxygenerators are 2 different mods!
Image

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Wed Jul 25, 2018 20:41
by ManElevation
Update!
now you cant live in space without being in the oxygenerator radius!
Image
All thanks to GreenDiamond and AiTechEye

Coming soon!:
  • new textures for oxygenerators!
  • oxygenerator hud indicator!
  • Another oxygenerators that are locked so only the owner and the players on the list can get breath, this ones will be expensive, just like chest and protected chest!
Edit: particles also coming soon!

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Wed Jul 25, 2018 22:56
by Natechip
awesome man!

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Fri Aug 10, 2018 19:20
by ManElevation
Update 2.0!
Things done!:
  • New textures!
  • Added Particles!
  • Fixed all known bugs!
Image
Coming soon!:
  • oxygenerator hud indicator!
  • Protected Oxygenerator: right click to open formspec were u can add people so they get breath would work like protectors but isted of not letting people build it would not give players breath
Any ideas for future updates?

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Sat Aug 11, 2018 17:04
by Natechip
ManElevation wrote:Update 2.0!
Things done!:
  • New textures!
  • Added Particles!
  • Fixed all known bugs!
Image
Coming soon!:
  • oxygenerator hud indicator!
  • Protected Oxygenerator: right click to open formspec were u can add people so they get breath would work like protectors but isted of not letting people build it would not give players breath
Any ideas for future updates?
new textures are awesome buddy :D

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Sun Aug 12, 2018 09:23
by ManElevation
Natechip wrote:new textures are awesome buddy :D
haha thx, found a few textures with good licenses and re worked them alot

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Sun Aug 12, 2018 10:00
by ManElevation
Small update!
fixed a few bugs i found, havent found any more.
and i added again the oxygenerator priv as it was removed on 2.0 because of a few bugs, all fixed now.

The oxygenator priv allows the player to be able to breath in space without the need of an oxygenerator

Re: [Mod] Oxygenerator [oxygenerator]

Posted: Sun Aug 12, 2018 16:37
by MyJail
ManElevation wrote:Update!
now there is a Indrustial Oxygenerator (bigoxygenerator) witch has a radius of 26!

Coming soon!:
  • space! - space images
  • not been able to breath in space like in water (space starts at y:1100)
That's cool!i loved it

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Sun Aug 12, 2018 16:42
by MyJail
It is actually more than cool, the best oxygenator!!

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Sun Aug 12, 2018 16:58
by ManElevation
Image

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Sun Aug 12, 2018 17:31
by ManElevation
Update 3.0!
Things done!:
  • new crafts
  • added a air tank: works like an apple but insted of giving health it gives breath!
  • fixed the skybox problem!
Image
Image
Image
Coming soon!:
  • oxygenerator hud indicator!
  • Another oxygenerators that are locked so only the owner and the players on the list can get breath, this ones will be expensive, just like chest and protected chest!
Any ideas for other machines?
Edit: new feature for oxygenerators comming soon, they will need fuel to work

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Wed Aug 15, 2018 16:09
by _Zee_
+1
I like the addition of the tanks. Now space isn't just be a pretty place to go. Always appreciate challenges.

Edit: For an idea, space is a cold place to be. Maybe a temperature regulator?

Re: [Mod] Oxygenerators [oxygenerators]

Posted: Wed Aug 15, 2018 20:52
by ManElevation
_Zee_ wrote:+1
I like the addition of the tanks. Now space isn't just be a pretty place to go. Always appreciate challenges.

Edit: For an idea, space is a cold place to be. Maybe a temperature regulator?
thx for the suggestion but i dont really like the idea

Re: [Mod]Oxygenerators in Space! [3.0][oxygenerators]

Posted: Wed Sep 12, 2018 19:39
by ManElevation
Update 4.0!
Things done!:
  • New generator that generates fuel for the oxygenator! (requesting a generator texture)
  • Small oxygenerator now needs fuel to run (the big one doesn't).
  • Indrustial oxygenerator craft is now disabled.
  • Admin oxygenerator that doesn't need fuel
  • Air tanks don't give breath anymore when used on hand
Fuel that is generated by the generator:
Image
Oxygenerator now needs fuel to run
Image
Generator.... Please someone make me a better texture
Image
Coming soon!:
  • oxygenerator hud indicator!
  • Flygenerator: you could only fly in its radius
  • Healthgenerator: gives health in its radius (craft will be disabled as default)
  • pump: takes water out of places (this might be a different mod)
Any ideas for future updates?

Re: [Mod]Oxygenerators in Space! [4.0][oxygenerators]

Posted: Fri Sep 14, 2018 18:16
by bosapara
add this

Code: Select all

paramtype = "light",
to

Code: Select all

minetest.register_node("oxygenerator:oxygenerator_small_active",
or selecting will be with black color instead red

Re: [Mod]Oxygenerators in Space! [4.0][oxygenerators]

Posted: Fri Sep 14, 2018 18:29
by ManElevation
bosapara wrote:add this

Code: Select all

paramtype = "light",
to

Code: Select all

minetest.register_node("oxygenerator:oxygenerator_small_active",
or selecting will be with black color instead red
alright thank you.

Re: [Mod]Oxygenerators in Space! [4.0][oxygenerators]

Posted: Fri Sep 14, 2018 18:30
by ManElevation
Move exciting machines coming soon!
Image
hud in screenshot? viewtopic.php?f=9&t=20381

Re: [Mod]Oxygenerators and more!! [4.0][oxygenerators]

Posted: Sat Sep 15, 2018 19:26
by ManElevation
Update 4.2!
Things done!:
  • New generator texture by ManElevation
  • Indrustial oxygenerator is now removed you can still download it in 4.0 or earlier
Image
Coming soon!:
  • oxygenerator hud indicator! (this will be done after the fly and health generators)
  • Flygenerator: you could only fly in its radius (almost done!)
  • Healthgenerator: gives health in its radius (craft will be disabled as default) (probably coming out next update)
Any ideas for future updates?

Re: [Mod]Oxygenerators and more!! [4.2][oxygenerators]

Posted: Tue Oct 02, 2018 10:57
by ManElevation
Update 5.0!
Things done!:
  • New hp generator added: gives full health every diamond (diamonds are use as fuel)
need inv formspec ideas for the hp generator!
Image
Coming soon!:
  • oxygenerator hud indicator! (this will be done after the fly and health generators)
  • Flygenerator: you could only fly in its radius (almost done!)
Any ideas for future updates?

Re: [Mod]Oxygenerators and more!! [4.2][oxygenerators]

Posted: Tue Oct 02, 2018 11:55
by BuckarooBanzay
ManElevation wrote:Update 5.0!
Things done!:
  • New hp generator added: gives full health every diamond (diamonds are use as fuel)
need inv formspec ideas for the hp generator!
Image
Coming soon!:
  • oxygenerator hud indicator! (this will be done after the fly and health generators)
  • Flygenerator: you could only fly in its radius (almost done!)
Any ideas for future updates?
Nice textures :)
The HP-Generator looks like the swiss flag, is that intentional?

Re: [Mod]Oxygenerators and more!! [4.2][oxygenerators]

Posted: Tue Oct 02, 2018 19:09
by ManElevation
BuckarooBanzay wrote: Nice textures :)
The HP-Generator looks like the swiss flag, is that intentional?
no, it's not intentional dint realized that it looks like the Swiss flag, might tweak the texture a bit.

thanks for letting me know

Re: [Mod]Oxygenerators and more!! [5.0][oxygenerators]

Posted: Wed Oct 03, 2018 13:58
by ManElevation
News!
  • new mover coming today or tomorrow: the mover just works like pipes it moves items from one inv to the other, will be used to make a fully automatic oxygenerator, but it can be used for chests and other blocks too!
Image