Post your mod requests/ideas here

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: Post your mod requests/ideas here

by Chibi ghost » Post

I think at this stage I am just too stupid to code
and I think I was wasting everyones time in trying to help me

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

Re: Post your mod requests/ideas here

by texmex » Post

Chibi ghost wrote:I think at this stage I am just too stupid to code
and I think I was wasting everyones time in trying to help me
No, that's how you learn stuff! Continue in a new thread and help shall come to you.

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: Post your mod requests/ideas here

by Chibi ghost » Post

worked out how to use world edit with the node remover
but not before I accidentally turned my entire farming plus crops into default leaves lol
saplings for days so many saplings

u34

Re: Post your mod requests/ideas here

by u34 » Post

i want to convert worldedit_gui to sfinv_world_edit_innovations!!
is there a way to convert the commands into sfinv commands?
where can i find hints and code examples for this?

anybody can help me?
thanks for your help!!

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

Re: Post your mod requests/ideas here

by texmex » Post


User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: Post your mod requests/ideas here

by SAMIAMNOT » Post

How about PC gamepad control?
I test mines.

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

Re: Post your mod requests/ideas here

by Byakuren » Post

That's not doable with mods.
Every time a mod API is left undocumented, a koala dies.

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: Post your mod requests/ideas here

by SAMIAMNOT » Post

Oh.
I test mines.

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Time Sensitive Doors

by christoferlevich » Post

I can't imagine this would be too hard, but would it be possible to make doors time sensitive so that they are only open during certain hours? I would like to do this with certain shops on our server. Eventually, this would be great to add to mobs too - and ultimately, I expect I might find code that does this once I start looking. (Are there nocturnal creatures? My search begins. LOL) Still, its highly likely someone else has already created a mod that does this, and I never like re-creating the wheel.
everything can be a learning experience...

User avatar
mnh48
Member
Posts: 310
Joined: Wed Nov 16, 2016 22:55
GitHub: mnh48
IRC: MNH48
In-game: mnh48
Location: Kuala Lumpur, Malaysia
Contact:

Re: Time Sensitive Doors

by mnh48 » Post

christoferlevich wrote:would it be possible to make doors time sensitive so that they are only open during certain hours?
It is possible but it might be hard... but as you said, not too hard but still it's hard, especially if you really care about possibility of lags from such mod...

we know that the default bed is also depends on time, you can't sleep on daytime... but afaik the time check is done when player interact/use the bed...

to make the door actually time sensitive, it need to do time check even when player is not interacting with them, this is different from the bed...

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

Re: Post your mod requests/ideas here

by Byakuren » Post

You can use a node timer for the door check and it can be low frequency since the door will not be changing most of the time for typical settings. If you want to be fancy you could make the timer duration longer if the next change is far off.
Every time a mod API is left undocumented, a koala dies.

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Re: Post your mod requests/ideas here

by christoferlevich » Post

What if I made 'solar' doors that reacted to the sunlight? That could be an in-game solution, no? Mesecon maybe?
everything can be a learning experience...

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

Re: Post your mod requests/ideas here

by texmex » Post

christoferlevich wrote:What if I made 'solar' doors that reacted to the sunlight? That could be an in-game solution, no? Mesecon maybe?
Mesecons got you fully covered, I believe. In-game mechanics is much nicer imo. :)

JohnnyGage
New member
Posts: 5
Joined: Sat Jun 24, 2017 20:03
GitHub: JohnnyGage
IRC: JohnnyGag
In-game: JohnnyGage

Re: Post your mod requests/ideas here

by JohnnyGage » Post

Fountain Drink Dispenser Table's Booths Carpet's kitchen's

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

Re: Post your mod requests/ideas here

by Byakuren » Post

christoferlevich wrote:What if I made 'solar' doors that reacted to the sunlight? That could be an in-game solution, no? Mesecon maybe?
What if I want a store to be open at night, but not all night? Like an arcade or club or something?
Every time a mod API is left undocumented, a koala dies.

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Re: Post your mod requests/ideas here

by christoferlevich » Post

texmex wrote:
christoferlevich wrote:What if I made 'solar' doors that reacted to the sunlight? That could be an in-game solution, no? Mesecon maybe?
Mesecons got you fully covered, I believe. In-game mechanics is much nicer imo. :)
True! I am running an educational school server, so in-game solutions are best I guess. Then the students can create things based off of things they find in the 'world'.

LOL - Is there a good mesecon tutorial site? I've done some simple things with mesecon but I am clueless on how to make it open a door.
everything can be a learning experience...

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Re: Post your mod requests/ideas here

by christoferlevich » Post

Byakuren wrote:
christoferlevich wrote:What if I made 'solar' doors that reacted to the sunlight? That could be an in-game solution, no? Mesecon maybe?
What if I want a store to be open at night, but not all night? Like an arcade or club or something?
I am sure it could be flipped - that would be a great idea too...
everything can be a learning experience...

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

Re: Post your mod requests/ideas here

by Byakuren » Post

christoferlevich wrote:
Byakuren wrote:
christoferlevich wrote:What if I made 'solar' doors that reacted to the sunlight? That could be an in-game solution, no? Mesecon maybe?
What if I want a store to be open at night, but not all night? Like an arcade or club or something?
I am sure it could be flipped - that would be a great idea too...
What do you mean by flipped? I want it open during the day and during only part of the night (in this example).
Every time a mod API is left undocumented, a koala dies.

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: Post your mod requests/ideas here

by Sokomine » Post

The window shutters from my cottages mod automaticly close at night and open at day. They still use an old-style abm for that and don't all open at the same time. And of course they can be opened/closed manually.
A list of my mods can be found here.

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Re: Post your mod requests/ideas here

by christoferlevich » Post

What do you mean by flipped? I want it open during the day and during only part of the night (in this example).
Ultimately, thats what I would like too - but the 'solar' idea is a compromise of a sort I think.
everything can be a learning experience...

User avatar
christoferlevich
Member
Posts: 325
Joined: Thu Dec 01, 2016 23:44
GitHub: ChristoferL
Location: Athol, Massachusetts

Re: Post your mod requests/ideas here

by christoferlevich » Post

Sokomine wrote:The window shutters from my cottages mod automaticly close at night and open at day. They still use an old-style abm for that and don't all open at the same time. And of course they can be opened/closed manually.
I know what I am downloading next! What is an ABM?
everything can be a learning experience...

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

Re: Post your mod requests/ideas here

by texmex » Post

christoferlevich wrote:I know what I am downloading next! What is an ABM?
"The Active Block Modifier consists of a function that is executed at a specific interval for single nodes."

User avatar
Wuzzy
Member
Posts: 4803
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: Post your mod requests/ideas here

by Wuzzy » Post

Byakuren wrote:
christoferlevich wrote:What if I made 'solar' doors that reacted to the sunlight? That could be an in-game solution, no? Mesecon maybe?
What if I want a store to be open at night, but not all night? Like an arcade or club or something?
That's really simple: Just place a NOT gate between the solar panel and the door. The NOT gate turns an “on” signal to an “off” signal, and vice-versa.

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

Re: Post your mod requests/ideas here

by Byakuren » Post

Wuzzy wrote:
Byakuren wrote:
christoferlevich wrote:What if I made 'solar' doors that reacted to the sunlight? That could be an in-game solution, no? Mesecon maybe?
What if I want a store to be open at night, but not all night? Like an arcade or club or something?
That's really simple: Just place a NOT gate between the solar panel and the door. The NOT gate turns an “on” signal to an “off” signal, and vice-versa.
Then it would be open all night, which I don't want.
Every time a mod API is left undocumented, a koala dies.

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: Post your mod requests/ideas here

by Chibi ghost » Post

I think it's implied that you’d switch the opening and closing hours in the code

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests