[Mod] Arrow signs [arrow_signs][4.3] [13.09.2016]

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

[Mod] Arrow signs [arrow_signs][4.3] [13.09.2016]

by addi » Post

Hi this is my first Mod: arrow signs

this mod simply adds arrow signs to the game

up
down
left
right
Image

suggestions, criticisms and your opinion are welcome!

Features:
  • create a linebreak with "/" or "|" (without "")
  • shared locked signs optional aviable (if you want it install sokomines locks mod)
  • signs are recycleable
Spoiler
Image
Image
Crafting:
Image
Image


Download:
Version 4.3 (.zip)
older versions

Source code:
https://bitbucket.org/adrido/arrow_signs/

Dependence:
default
locks(optional)

Todo:
all done :-)
for sugestions: leave a reply^^

License
Image
This work is licensed under a Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) License.
Last edited by addi on Tue Sep 27, 2016 09:10, edited 14 times in total.

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

3d signs and standalone yard signs have been done already: http://minetest.net/forum/viewtopic.php?id=3289 (which is a fork of http://minetest.net/forum/viewtopic.php?id=2736 )

That aside, I would suggest recipes be made by placing signs back into the craft grid in different orientations:

Code: Select all

- - -
- S S
- - -
Made from two regular signs, would yield two signs pointing to the right

- - -
S S -
- - -
Yields two pointing left

- - -
- S -
- S -
Yields two pointing down

- S -
- S -
- - -
Yields two pointing up
Also make it recipes such that any sign placed back into the grid gives a regular non-directional sign.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

Hi

that's a good idea.
I had thought of a different recipe
but I think your idea is much better


must i change something in the recipe?
the following produces only wall_left.

Code: Select all

minetest.register_craft({
    output = 'more_signs:wall_right 2',
    recipe = {
        {'', '', ''},
        {'', 'default:sign_wall', 'default:sign_wall'},
        {'', '', ''},
    }
})
minetest.register_craft({
    output = 'more_signs:wall_left 2',
    recipe = {
        {'', '', ''},
        {'default:sign_wall', 'default:sign_wall', ''},
        {'', '', ''},
    }
})

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

addi wrote: must i change something in the recipe?
the following produces only wall_left.
You mean both left and right crafting recipes produce a left sign?
Maybe it helps to flip the .png?

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

Topywo wrote:
addi wrote: must i change something in the recipe?
the following produces only wall_left.
You mean both left and right crafting recipes produce a left sign?
Maybe it helps to flip the .png?
no i think the crafing engine of minntest is stupid.
I added a other sort of crafting recieps

you just need a sign and a stick
Image
and backwards craft a arrow sign and you'll get a normal sign.
Last edited by addi on Thu Oct 11, 2012 14:04, edited 1 time in total.

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

Oh right, it never occurred to me that Minetest would interpret left = right in those recipes. Two items side by side is the same wherever they appear in the grid. Still, your recipes are better, since a pointed sign is physically slightly larger than a regular one anyway.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

i changed the version to 1.0 because 3d- and standalone signs alredy exists

i have changed only one point:

NEW IN VERSION 1.0:

Its now posible to create a linebreak with typing / or | in the inputfield

Example Input:
Spawn /harbour /City

will display:
"Spawn"
"harbour"
"City"

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

The images don't load
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

thanks :)
fixed the problem

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Still doesn't work, download also doesn't work
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

now version 3.0 is aviable!

fixed bug that players without interact priv can edit the signs
optional shared locked signs! (you must install sokomines locks mod to get that)

User avatar
webdesigner97
Member
Posts: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

by webdesigner97 » Post

Why have I never noticed this mod? It's great!

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

webdesigner97 wrote:Why have I never noticed this mod? It's great!
hmm maybe, because in 3 months its over 1 year old ;-)

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

where did you get the palm tree? moretrees?

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Will the arrow signs have 3D text on them sometime?

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

philipbenr wrote:where did you get the palm tree? moretrees?
they was from a old mod caled 4seasons viewtopic.php?id=2314
it was realy nice but on multiplayer it was very laggy.
Inocudom wrote:Will the arrow signs have 3D text on them sometime?
3D text????
uhm how schuld i do that?
Dose Irrlicht support 3d?
and dose Minetest support it?

or do i understand you wrong?
can you describe more precisely what do you mean please?

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

addi wrote:
philipbenr wrote:where did you get the palm tree? moretrees?
they was from a old mod caled 4seasons viewtopic.php?id=2314
it was realy nice but on multiplayer it was very laggy.
Inocudom wrote:Will the arrow signs have 3D text on them sometime?
3D text????
uhm how schuld i do that?
Dose Irrlicht support 3d?
and dose Minetest support it?

or do i understand you wrong?
can you describe more precisely what do you mean please?
Will text be displayed on the directional signs like it is with the signs of the homedecor mod?
Last edited by Inocudom on Thu Aug 22, 2013 05:06, edited 1 time in total.

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

small update:
merged the changes made by Jat15:
fbf8066 - Solution for satisfy all mods for sign_wall
d9da4eb - Generate bug with homedecor sign
@Incudom this may belongs in a seperate mod, but it will be a huge work,because the nodeboxes etc. must be generated
maybe ill do it later...

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Mod] Arrow signs [arrow_signs][4.0] [14.08.2014]

by addi » Post

Big Update

mostly done by Jat15. thanks :-)

Features:
  • signs now in 3d!
  • one sign for each direction (see Howto)
  • compatible with minetest 0.4.10
  • saved 3 textures!
  • easier to use
  • more space in inventory
  • old signs converted and rotated automatical into the new one

HOW TO place signs


its just easy.
  1. craft the sign using a stick and a normal sign.
  2. place it on a node. it will mounted at the node you are pointing on, and will show into the direction in that you are looking :-)
  3. thats all :-)

DOWNLOAD:

https://bitbucket.org/adrido/arrow_signs/downloads/
Git repo:
https://bitbucket.org/adrido/arrow_signs/overview

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Mod] Arrow signs [arrow_signs][4.1] [13.03.2015]

by addi » Post

Update
version 4.1
Fix craft (group) with modpack homedecor (thanks to Jat15)
tidy up code a bit
fixed shared locked signs were able to edit by everybody
fixed uninitialized global variable...

Download:
version 4.1 [13.03.2015]

Source Code:
https://bitbucket.org/adrido/arrow_signs/src

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

Re: [Mod] Arrow signs [arrow_signs][4.1] [13.03.2015]

by 12Me21 » Post

Are the signs able to be edited by anyone in claimed areas?
this would actually be a good thing, since if someone built something new, they can write it on the sign, and not have to ask the owner.
this should either be kept/added, or maybe make another type of sign that can be edited by anyone with interact.

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Mod] Arrow signs [arrow_signs][4.1] [13.03.2015]

by addi » Post

12Me21 wrote:Are the signs able to be edited by anyone in claimed areas?
this would actually be a good thing, since if someone built something new, they can write it on the sign, and not have to ask the owner.
this should either be kept/added, or maybe make another type of sign that can be edited by anyone with interact.
the normal arrow sign can be edited by everyone with the interact priv.

if you install Sokomines locks mod a new type of signs is added, wich is locked, but the owner can share it with other people.
in the sign, just write /add playername and then the player "playername" can also access it.

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Mod] Arrow signs [arrow_signs][4.1] [13.03.2015]

by Krock » Post

addi wrote:the normal arrow sign can be edited by everyone with the interact priv.

if you install Sokomines locks mod a new type of signs is added, wich is locked, but the owner can share it with other people.
in the sign, just write /add playername and then the player "playername" can also access it.
I would like to see a code like

Code: Select all

if minetest.is_protected(pos, player_name) then
	return
end
because right now, those signs are just like a paper with a pen next to it. "Hey, write on me please."
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Mod] Arrow signs [arrow_signs][4.1] [13.03.2015]

by addi » Post

Krock wrote:
addi wrote:the normal arrow sign can be edited by everyone with the interact priv.

if you install Sokomines locks mod a new type of signs is added, wich is locked, but the owner can share it with other people.
in the sign, just write /add playername and then the player "playername" can also access it.
I would like to see a code like

Code: Select all

if minetest.is_protected(pos, player_name) then
	return
end
because right now, those signs are just like a paper with a pen next to it. "Hey, write on me please."
I updated the mod. It checks now for protection.

also the linebreak is optimized and does no longer show white spaces before the newline.
download version 4.2

User avatar
ParaklataChotou
Member
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Arrow signs [arrow_signs][4.2] [26.04.2015]

by ParaklataChotou » Post

Thank you so much. I needed signs for my server and you've solved my problem. Thank you.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests