Page 1 of 5
[MOD 1.1] Oxygen
Posted: Sat Apr 04, 2015 11:50 am
by Natha
Re: [0.11.X] Oxygen
Posted: Sat Apr 04, 2015 1:21 pm
by darkshadow1809
I would love to add this mod to my hardcore pack if i may. However before i do i have a suggestion. Its just another pile of tasks to keep up with in the hardcore pack. Could you have a machine which automaticly sprays oxygen around your base? like a robo station does with the range

but then for the oxygen! If thats made i will definetly add this mod to my hardcore pack if i may

It looks promising!
Goodluck!
Re: [0.11.X] Oxygen
Posted: Sat Apr 04, 2015 1:25 pm
by Natha
darkshadow1809 wrote:I would love to add this mod to my hardcore pack if i may. However before i do i have a suggestion. Its just another pile of tasks to keep up with in the hardcore pack. Could you have a machine which automaticly sprays oxygen around your base? like a robo station does with the range

but then for the oxygen! If thats made i will definetly add this mod to my hardcore pack if i may

It looks promising!
Goodluck!
Thanks for your suggestion!
i added your suggestion to the ToDo list.
And yes, you can add the mod to your pack, I like to see it in a hardcore pack

Re: [0.11.X] Oxygen
Posted: Sat Apr 04, 2015 6:03 pm
by Natha
A new version is out! I have thought for hours how to implement the machine that sprays the oxygen into the atmosphere. First i had an assembling machine and a recipe, but now it works with a storage tank. And i hope the game wil be now multiplayer ready!
Re: [0.11.X] Oxygen
Posted: Sat Apr 04, 2015 8:54 pm
by darkshadow1809
Natha wrote:A new version is out! I have thought for hours how to implement the machine that sprays the oxygen into the atmosphere. First i had an assembling machine and a recipe, but now it works with a storage tank. And i hope the game wil be now multiplayer ready!
Awesome! Count this mod as ADDED in the hardcore modpack

! Thanks for the fast work keep it up! This mod could grow WAY better...!
I have some more suggestions:
How about making the aliens get damage from the oxygen you dispense? Since they have a whole other way of consuming another sort of oxygen. If they stay in the oxygen area to long they die

And if a nests gets consumed in oxygen it will die of slowly. Dmg per tick? Could be really nice to just have your main base rid of those bugs! Overtime that is! Not to be too overpowered but since alot of people use Dytech or some other form that makes monsters ALOT harder this would definetly help!
Re: [0.11.X] Oxygen
Posted: Sat Apr 04, 2015 10:47 pm
by darkshadow1809
alsoooo.. its a rar archive:p so it needs to be unzipped. Could you make it a zip archive?

Just for convenience sakes!
Re: [0.11.X] Oxygen
Posted: Sun Apr 05, 2015 5:00 am
by Natha
Thanks for further suggestions. I've added them into the ToDo list
I'm sorry for an uncomfortable archive type, i've changed it into a zip file
Edit: New version out!
Re: [0.11.X] Oxygen
Posted: Sun Apr 05, 2015 4:05 pm
by darkshadow1809
Awesome to see the changes man:) You seem to be really fast at making the mod progress

Love to see what else you can do with it
Good luck progressing

!
Re: [0.11.X] Oxygen
Posted: Sun Apr 05, 2015 4:23 pm
by Natha
darkshadow1809 wrote:Awesome to see the changes man:) You seem to be really fast at making the mod progress

Love to see what else you can do with it
Good luck progressing

!
Thanks a lot ;D
That's the result of many vacations, and your suggestions were not tooooo difficult to implement

Re: [0.11.X] Oxygen
Posted: Mon Apr 06, 2015 10:33 pm
by darkshadow1809
Hi there

I made a small change to your info file. Just to let you know since some modders do not like this. Reason i did this is because i needed a dependency since it didnt gave me oxygen tanks on startup:) Which basicly let me die within 5 - 10 minutes within the game

This is for the hardcore pack. Don't mind changing it yourself

! its just something with the pack. Just wanted to let you know if you are okay with the small change i made! If not ill revert it. and try another way
Re: [0.11.X] Oxygen
Posted: Tue Apr 07, 2015 12:45 pm
by Natha
darkshadow1809 wrote:Hi there

I made a small change to your info file. Just to let you know since some modders do not like this. Reason i did this is because i needed a dependency since it didnt gave me oxygen tanks on startup:) Which basicly let me die within 5 - 10 minutes within the game

This is for the hardcore pack. Don't mind changing it yourself

! its just something with the pack. Just wanted to let you know if you are okay with the small change i made! If not ill revert it. and try another way
Little changes are ok. And I allow changes in the mod, if a modpack necessearily needs the changes

Re: [0.11.X] Oxygen
Posted: Tue Apr 07, 2015 3:48 pm
by SvenDee
we got a bug / error message in Multiplayer when a player died by any reason __Oxygen__/control.lua:64: ghost-controller doesnt have an inventory with index(2)
host spawning works, respawn clients end into a a crash to windows.
Re: [0.11.X] Oxygen
Posted: Tue Apr 07, 2015 4:22 pm
by Natha
SvenDee wrote:we got a bug / error message in Multiplayer when a player died by any reason __Oxygen__/control.lua:64: ghost-controller doesnt have an inventory with index(2)
host spawning works, respawn clients end into a a crash to windows.
Fix'd
Re: [0.11.X] Oxygen
Posted: Fri Apr 10, 2015 12:09 pm
by SvenDee
guess there is a new one. oxygen stays on 100% during the whole game
just to let you know. Our next testing session is on sunday.
Re: [0.11.X] Oxygen
Posted: Fri Apr 10, 2015 1:35 pm
by Natha
SvenDee wrote:guess there is a new one. oxygen stays on 100% during the whole game
just to let you know. Our next testing session is on sunday.
Sorry for the troubles, why I have commented out the code that handles the players oxygen content?
New version is out

Re: [0.11.X] Oxygen
Posted: Sat Apr 11, 2015 9:05 pm
by Natha
New Version is out!
Whats new:
- Gas mask as armor equipment, but it doesn't work yet because i'm still looking for a possibility to get armor equipment content
- Recipe to get oxygen from water and atmosphere (only the last one is new

)
- Oxygen dispensers show a cloud animation if they dispense oxygen
Have fun with this version, please let me know about bugs or more suggestions

Re: [0.11.X] Oxygen
Posted: Sun Apr 12, 2015 12:36 am
by darkshadow1809
Lol you sure developing this mod quickly.. jeez xD must ... reupload... 190mb.. of modpack... every... dayyyy!!! xD
But thanks for the updates ;D loving to see this mod grow!
Re: [0.11.X] Oxygen
Posted: Sat Apr 18, 2015 11:35 am
by Natha
New Version (1.3.3)!
- Added functionality to gas masks, they reduce oxygen decreasing rate by 50% (since Version 1.3.1).
- Oxygen bottles are now filled up if the player keeps near an oxygen dispenser.
- New graphics for oxygen dispenser
- The changelog is now better formatted and structured, it has the style like the Factorio's changelog

Re: [0.11.X] Oxygen
Posted: Sat Apr 18, 2015 11:17 pm
by darkshadow1809
Workin on a new modpack and erhh
Seems Dystopia + Cursed Don't like your mod
http://prntscr.com/6vfoxh
Seems the item grid is missing an equipment grid

hope it helps

This seems to happen when cursed tries implementing its own armor then dystopia tries and forces an armor slot into it. And gets the upper hand. Then your mod returns this error. Mod works without either of these mods

Might be wrong tho! dont judge :# i suck at lua lol

I am only good at throwing stuff at it and make it work on some magical reason
Code: Select all
function hasgasmask(player)
if player.getinventory(defines.inventory.playerarmor)[1] == nil then return false end
local grid = player.getinventory(defines.inventory.playerarmor)[1].grid
if grid == nil then return false end
for _,equip in pairs(grid.equipment) do
if equip.name == "gas-mask" then return true end
end
return false
end
Re: [0.11.X] Oxygen
Posted: Sun Apr 19, 2015 4:55 am
by Natha
darkshadow1809 wrote:Workin on a new modpack and erhh
Seems Dystopia + Cursed Don't like your mod
http://prntscr.com/6vfoxh
Seems the item grid is missing an equipment grid

hope it helps

This seems to happen when cursed tries implementing its own armor then dystopia tries and forces an armor slot into it. And gets the upper hand. Then your mod returns this error. Mod works without either of these mods

Might be wrong tho! dont judge :# i suck at lua lol

I am only good at throwing stuff at it and make it work on some magical reason
Code: Select all
function hasgasmask(player)
if player.getinventory(defines.inventory.playerarmor)[1] == nil then return false end
local grid = player.getinventory(defines.inventory.playerarmor)[1].grid
if grid == nil then return false end
for _,equip in pairs(grid.equipment) do
if equip.name == "gas-mask" then return true end
end
return false
end
I've added a check with the ItemStack.hasgrid() method, it should work now
