[Mod] Simplified Paintings [20120427] [sim_paint]

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

[Mod] Simplified Paintings [20120427] [sim_paint]

by faraway » Post

Adds a painting canvas which, when placed, will display a random image from a server-selected list. This (possibly) finalized version is NOT backwards-compatible with previous versions and the Paintings Mod by jordan4ibanez. If you would like a mod that updates those paintings, please tell me.

To make a painting, you can use the following recipe.
S = stick
P = paper
S S S
S P S
S S S

Code: The changes to jordan4ibanez's code are licensed under CC-0 or WTFPL.
Textures: CC-0, CC-BY, or WTFPL at your choice.

Latest version.There isn't any new functionality, just the way paintings are defined is hopefully less tedious. AMOUNT_OF_PAINTING_TYPES no longer needs to be changed to add paintings, and the painting filenames are taken from a table/array.

sim_paint.tar.gz alternate/updated, contains emotion edition
sim_paint.zip alternate/updated, contains emotion edition

Older versions.
"emotion edition". Includes 5 more paintings than "vanilla edition", all pony-related and 256x256. Enjoy, if you can.
sim_paint.tar.gz emotion edition
sim_paint.zip emotion edition

"vanilla edition". Contains... 4 paintings, I think?
sim_paint.tar.gz vanilla edition (plain)
sim_paint.zip vanilla edition (plain)

Mod dependencies: default

Image
Image
Image

Enjoy, if you can.
Last edited by faraway on Fri Apr 27, 2012 09:54, edited 1 time in total.

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

by sfan5 » Post

Nice!
Is it based on jordan4ibanez Mod?
Last edited by sfan5 on Fri Mar 16, 2012 18:30, edited 1 time in total.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Post

sfan5 wrote:Nice!
Is it based on jordan4ibanez Mod?
Yep! The license on that was not stated, as far as I know, so I should probably ask permission. My changes to that mod are under CC-0 or WTFPL, though. Thank you :)

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

by sfan5 » Post

Oh, ok!
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Post

Updated to include the strange "groups={...}" thing. Paintings have the same material groups as ladders.

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

by Death Dealer » Post

faraway wrote:Updated to include the strange "groups={...}" thing. Paintings have the same material groups as ladders.
is this for the new client?
Keep calm and code python^_^

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Post

Death Dealer wrote:
faraway wrote:Updated to include the strange "groups={...}" thing. Paintings have the same material groups as ladders.
is this for the new client?
Yas.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

You have full permissions to use my code! i need to copy your code back into my original paintings mod xD
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

by Death Dealer » Post

faraway wrote:
Death Dealer wrote:
faraway wrote:Updated to include the strange "groups={...}" thing. Paintings have the same material groups as ladders.
is this for the new client?
Yas.
saweet i will add it to my collection.
Keep calm and code python^_^

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Post

I have updated the mod with 5 new paintings :).

The new images are all licensed under CC-0, CC-BY, or WTFPL at your choice. You can pick whichever license.

sim_paint.tar.gz (emotion edition)
sim_paint.zip (emotion edition)

Replace the original with this if you want to install it.

Enjoy if you can.

Scott
Member
Posts: 100
Joined: Sun Nov 13, 2011 06:35

by Scott » Post

were do u get paper?
ubuntu would be #1, without unity

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Post

Scott wrote:were do u get paper?
You put three papyrus in a horizontal row:

P = papyrus

P P P

Papyrus is the green bamboo-looking plant.
Last edited by faraway on Wed Mar 28, 2012 23:05, edited 1 time in total.

marzin
Member
Posts: 34
Joined: Sun Jun 26, 2011 12:07

by marzin » Post

I suggest adding a portrait of player avatar ancestor;)

Image

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Post

marzin wrote:I suggest adding a portrait of player avatar ancestor
Ancestor?

User avatar
Ragnarok
Member
Posts: 217
Joined: Thu Mar 22, 2012 12:56
Location: Poland
Contact:

by Ragnarok » Post

After installing Hydrophonics mod (http://minetest.net/forum/viewtopic.php?id=1733) I have issue with textures which looks like this:

Image
By vibender at 2012-04-22

On several textures is a vertical rectangle. I tried find what is wrong in init.lua but without result. Please help.

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

I've edited pictures with my own to get Capitol and District seals from the hunger games but I ran out of pictures to edit is there a way to add more pictures?

User avatar
Ragnarok
Member
Posts: 217
Joined: Thu Mar 22, 2012 12:56
Location: Poland
Contact:

by Ragnarok » Post

You can easily increase amount of pictures (n) by changing:

AMOUNT_OF_PAINTING_TYPES = n

and editing code according this scheme:

Code: Select all

add_painting(1, "1st_image.png")
add_painting(2, "2nd_image.png")
add_painting(3, "3rd_image.png")
add_painting(4, "4th_image.png")
.
.
.
add_painting(n, "n_image.png")
Last edited by Ragnarok on Tue Apr 24, 2012 06:46, edited 1 time in total.

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Post

I updated the mod so adding paintings would be less tedious. Now the filenames are in an array/ table:

Code: Select all

-- Example:
local paintings = {
  "painting_fluttershy.png",
  "painting_pinkiepie.png"
}
To add a painting, you can just add a filename to the table. AMOUNT_OF_PAINTING_TYPES changes automatically.I hope someone likes this :).

Please notify me if there is a bug, or feel free to repair the code yourself if you find one ^_^.
Last edited by faraway on Fri Apr 27, 2012 10:00, edited 1 time in total.

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

by sfan5 » Post

Nice!
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

Lelix
Member
Posts: 94
Joined: Sat Apr 14, 2012 12:51

by Lelix » Post

under which one has in hand because I did not draw a basic framework? For example, two diagonal black and white background.

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

I do not know if you come on anymore, but could I add this to my modpack?

User avatar
faraway
Member
Posts: 36
Joined: Thu Dec 08, 2011 00:17

by faraway » Post

LolManKuba wrote:I do not know if you come on anymore, but could I add this to my modpack?
Yas, I have basically released it and the textures into the public domain. I don't mind at all.

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

Thank you.

User avatar
Stef
Member
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Post

Hi could it be possible to make paintings off: 2 on 2
1 on 2
2 on 1
Sorry for my crappy english, im dutch :D

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

pls fix ur ompldr-links
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests