[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 » Fri Mar 16, 2012 18:27

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.
 

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

by sfan5 » Fri Mar 16, 2012 18:30

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 » Fri Mar 16, 2012 18:32

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

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

by sfan5 » Fri Mar 16, 2012 19:08

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 » Mon Mar 19, 2012 15:43

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

by Death Dealer » Mon Mar 19, 2012 15:50

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 » Mon Mar 19, 2012 16:16

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: 1895
Joined: Tue Sep 27, 2011 18:44
Location: Rhode Island, USA
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Wed Mar 28, 2012 13:36

You have full permissions to use my code! i need to copy your code back into my original paintings mod xD
I've been gone for a long time
 

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

by Death Dealer » Wed Mar 28, 2012 13:38

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 » Wed Mar 28, 2012 20:30

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 » Wed Mar 28, 2012 23:00

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 » Wed Mar 28, 2012 23:04

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 » Sun Apr 01, 2012 19:20

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 » Wed Apr 04, 2012 01:30

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

Ancestor?
 

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

by Ragnarok » Sun Apr 22, 2012 20:15

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 » Mon Apr 23, 2012 22:16

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: 215
Joined: Thu Mar 22, 2012 12:56
Location: Poland

by Ragnarok » Tue Apr 24, 2012 06:46

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 » Fri Apr 27, 2012 10:00

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.
 

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

by sfan5 » Fri Apr 27, 2012 12:38

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 » Fri Apr 27, 2012 14:24

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

by LolManKuba » Tue May 29, 2012 21:35

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 » Wed May 30, 2012 18:53

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
 

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

by Stef » Fri Jun 29, 2012 09:01

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 » Wed Oct 02, 2013 17:06

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
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 3 guests