- 295
- Posts
- 7
- Years
- Seen Aug 15, 2022
This is a feature from an official pokemon game?
Can we take photos from our adventure in game? Like some kind of screenshot?
I don't know much about this kind of features in pokemon games.
I already tested this script and it works fine.
If you want i can post here the codes for those who want to make this an item. At least for the album first.
I don't really understand how does this works, I have the scripts in my game and I know how to call both of them, however when I choose photo I see the image of the wood with the sky and the clouds moving but there's anything in the photo, any pokémon can be seen. How does that work? I also don't know what are the params in
[MAP ID, "NAME GRAPHIC", NUMBER]
I guess Map ID is the map in which the pokémon is shown when calling the function, but I don't know how does name graphic works andwhat does number means. Thanks in advice.
SNIP
Will this get a refreshing v18 update, maybe with some more options, like bg based on the terrain.
I remember this script will be compatible v18 but I will update this script for clearly understand, soon.
Yeah, it perfectly run on v18. I meant with a refreshing look, like more background images. And more UI like flowers, etc. Also, I noticed a problem, the photo clicks only the medium-sized screen(512X384). If we run the game with double screen size, only half of the screen from the upper left gets clicked.
I'm sure I'm just dumb, but how exactly are the files supposed to be named? I'm on V18. Using the script "pbTakePhoto(0)". And every time I try to take a picture it gives me an error message that says:
Exception: Errno::ENOENT
Message: File Photo:179:in `initialize'Graphics/Pictures/Photo/ScenePhoto/83 not found.
So I'm assuming I'm not naming the files right. I have the example graphics downloaded as well and same error happens.
<SNIP>
Ok, the error has still not been solved. When in Large Screen we take a photo, only the 512*384 dimension from top left gets clicked, while the other 3/4 part of the screen remains unclicked.
This is optional- Can you make it such that if a variable is on a default scene will be used in all maps.
@scene = (CONDITION[set_i_img][1].size > 1)? scene : 0
if #something is right
@scene = "Name of default"
else
@scene = (CONDITION[set_i_img][1].size > 1)? scene : 0
end
Yeah, the problem was not with Photo clicking, but in showing in Album itself. Album only shows 512*384 dimension from top left. I just zoomed out the image when its more than 512 pixels. And its now working fine.I tested in mode Large screen, it works perfectly.
You can find this linethis is the name of scene -> You can do like thisCode:@scene = (CONDITION[set_i_img][1].size > 1)? scene : 0
But I write it with method: you can get reward when you take a right photo. So, you can check it if you have error ( 'def define_reward' and 'def define_special' )Code:if #something is right @scene = "Name of default" else @scene = (CONDITION[set_i_img][1].size > 1)? scene : 0 end