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

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

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

by ManElevation » Thu Jul 12, 2018 00:12

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!)

Oxygenerators:
Image
3d Oxygenerators (2 different mods)
Image
Oxygenerators in space!
Image
+ More screenshots


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)


Github 4.0:https://github.com/ManElevation/oxygenerators4.2
Download:https://github.com/ManElevation/oxygenerators4.2/archive/master.zip
+ 3d model version
Last edited by ManElevation on Sat Sep 15, 2018 19:27, edited 32 times in total.
My Public Mods! Discord: Rottweiler Games#3368
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Oxygenerator [oxygenerator]

by ManElevation » Sun Jul 22, 2018 21:29

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)
Last edited by ManElevation on Sun Jul 22, 2018 21:34, edited 2 times in total.
My Public Mods! Discord: Rottweiler Games#3368
 

Natechip
Member
 
Posts: 19
Joined: Sat Jun 10, 2017 19:33
GitHub: NatechipMT
IRC: Natechip Natechip_ Natechip__
In-game: Natechip 2totwo Chippy

Re: [Mod] Oxygenerator [oxygenerator]

by Natechip » Sun Jul 22, 2018 21:32

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!
Discord: Nathan11#1777 (DM me there) GitHub: https://github.com/NatechipMT
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Sun Jul 22, 2018 23:18

Added 3d oxygenerators:
oxygenerators and 3d oxygenerators are 2 different mods!
Image
My Public Mods! Discord: Rottweiler Games#3368
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Wed Jul 25, 2018 20:41

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!
Last edited by ManElevation on Thu Jul 26, 2018 13:52, edited 1 time in total.
My Public Mods! Discord: Rottweiler Games#3368
 

Natechip
Member
 
Posts: 19
Joined: Sat Jun 10, 2017 19:33
GitHub: NatechipMT
IRC: Natechip Natechip_ Natechip__
In-game: Natechip 2totwo Chippy
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Fri Aug 10, 2018 19:20

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?
My Public Mods! Discord: Rottweiler Games#3368
 

Natechip
Member
 
Posts: 19
Joined: Sat Jun 10, 2017 19:33
GitHub: NatechipMT
IRC: Natechip Natechip_ Natechip__
In-game: Natechip 2totwo Chippy

Re: [Mod] Oxygenerators [oxygenerators]

by Natechip » Sat Aug 11, 2018 17:04

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
Discord: Nathan11#1777 (DM me there) GitHub: https://github.com/NatechipMT
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Sun Aug 12, 2018 09:23

Natechip wrote:new textures are awesome buddy :D

haha thx, found a few textures with good licenses and re worked them alot
My Public Mods! Discord: Rottweiler Games#3368
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Sun Aug 12, 2018 10:00

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
My Public Mods! Discord: Rottweiler Games#3368
 

MyJail
New member
 
Posts: 2
Joined: Sun Aug 12, 2018 16:33
IRC: zking
In-game: zking

Re: [Mod] Oxygenerator [oxygenerator]

by MyJail » Sun Aug 12, 2018 16:37

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
 

MyJail
New member
 
Posts: 2
Joined: Sun Aug 12, 2018 16:33
IRC: zking
In-game: zking

Re: [Mod] Oxygenerators [oxygenerators]

by MyJail » Sun Aug 12, 2018 16:42

It is actually more than cool, the best oxygenator!!
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Sun Aug 12, 2018 17:31

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
My Public Mods! Discord: Rottweiler Games#3368
 

User avatar
_Zee_
New member
 
Posts: 4
Joined: Thu Aug 10, 2017 20:52
Location: USA
IRC: Zee
In-game: Zee

Re: [Mod] Oxygenerators [oxygenerators]

by _Zee_ » Wed Aug 15, 2018 16:09

+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?
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Wed Aug 15, 2018 20:52

_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
My Public Mods! Discord: Rottweiler Games#3368
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

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

by ManElevation » Wed Sep 12, 2018 19:39

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?
Last edited by ManElevation on Sun Sep 16, 2018 16:05, edited 1 time in total.
My Public Mods! Discord: Rottweiler Games#3368
 

User avatar
bosapara
Member
 
Posts: 326
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara
In-game: Jozet

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

by bosapara » Fri Sep 14, 2018 18:16

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
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

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

by ManElevation » Fri Sep 14, 2018 18:29

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.
My Public Mods! Discord: Rottweiler Games#3368
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
 

User avatar
ManElevation
Member
 
Posts: 887
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

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

by ManElevation » Sat Sep 15, 2018 19:26

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?
My Public Mods! Discord: Rottweiler Games#3368
 


Return to Mod Releases



Who is online

Users browsing this forum: Bing [Bot] and 1 guest