The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Rexilia on May 28, 2010, 02:10:01 AM

Title: [RESOLVED] ~ Icon as Event Graphic ~
Post by: Rexilia on May 28, 2010, 02:10:01 AM
Hello I was wondering if it is possible to set an event graphic to an icon from the iconlist.  :o
I would really apreciate it if someone takes my request, and will give BIG credit.


Rexilia.
Title: Re: [Request] ~ Icon as Event Graphic ~
Post by: Grafikal on May 28, 2010, 02:14:56 AM
Yeah, just cut out the icons you want and turn them into character sheets. Done.

No, there's no way to do it without doing it that way. Maybe a script, but none that I know of since it's completely USELESS to do that when you can simply cut and create like I just said.
Title: Re: [Request] ~ Icon as Event Graphic ~
Post by: Rexilia on May 28, 2010, 08:34:07 PM
Oh well... thanks anyway
Title: Re: [Request] ~ Icon as Event Graphic ~
Post by: Grafikal on May 28, 2010, 10:41:56 PM
You could cut them onto your TileE as well, but that just takes up the limited space there. So always use character sheets where you can.
Title: Re: [Request] ~ Icon as Event Graphic ~
Post by: Rexilia on May 29, 2010, 03:55:15 AM
Already working on that. I got a 25000+ icons...
Might upload them all in character sheets.
Title: Re: [Request] ~ Icon as Event Graphic ~
Post by: modern algebra on May 29, 2010, 03:57:22 AM
Well, upload them as you need them. I can't see you using 25000 events all game, let alone use icon graphcs for each of them.
Title: Re: [Request] ~ Icon as Event Graphic ~
Post by: Deity on May 30, 2010, 04:51:15 PM
Hay Rexilia,
long time ago I've written such a script for a member of our forum.
I hope it's the newest version cause it was the newest I could find on my PC. ^^
The eventgraphics will not be replaced with the icon. The icon just become drawn above the eventgraphic.
An Icon will also take the priority of the Event so if you set the eventspririty belowcharacter the Player can walk above the icon.
Never thought it could be helfull for someone. :P


Check it out.
http://paste.org/pastebin/view/19162

Deity
Title: Re: [Request] ~ Icon as Event Graphic ~
Post by: Rexilia on June 01, 2010, 03:30:29 AM
WOW!! Its totally awesome Deity. Thank you very much.
You saved the day. =)


 :zwink: :zwink: :zwink: :zwink:

EDIT: Hey Deity, can I post your script in other forums? I will credit you.
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: Deity on June 01, 2010, 02:59:40 PM
No problem. :)

I'm not sure if it's so usefull but just use it as you wish. ^^
If you post it somewhere else just don't forget to note my name as author, everything else it's up to you.
And if it is ok maybe you can give me a link to the forum or the name of the forum. So I can see if there are any problems and if the people like it. :D

Deity
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: Deity on June 02, 2010, 12:17:33 PM
Oh good luck. I'm glad to be able to help you. :)

Deity
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: Deity on June 02, 2010, 07:03:33 PM
Thank you for publishing my Script. I hope its not to much offtopic here.
If there any issues let me know.

Deity
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: Jexxy on August 09, 2015, 03:53:04 AM
Hey, I know this hasn't been posted on in years, but I'm pretty new to RPG Maker, and have been using VX Ace. I read somewhere that Deity's script works in VX Ace, but I know close to nothing about coding/scripting and I kinda need help with it. If anyone could explain to me what I should put where or how it works, I'd appreciate it a lot. Thanks!
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: &&&&&&&&&&&&& on August 09, 2015, 04:25:29 AM
Is there anything specific you need help with?
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: Jexxy on August 09, 2015, 07:28:57 AM
Just, where to put the lines of script and how to make it work, I guess.
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: &&&&&&&&&&&&& on August 09, 2015, 08:13:25 AM
http://blog.rpgmakerweb.com/tutorials/insert-scripts/

Code: [Select]
To show an icon on a event just take CtI = Iconid
 as the name of the event.
 Example: CtI = 1
 If you want to set the icon visible just use this in a
 Call Script...
 icon_visibility(id,status)
 id = eventid
 status = true/false
 this command works only for an event on the visited map.
 To change the visibility of all icons on the visited map use:
 all_icon_visibility(status)
 status = true/false
 To change the visibility of all icons on all visited maps use:
 global_icon_visibility(status)
 status = true/false
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: Jexxy on August 10, 2015, 04:28:58 AM
I'm still unsure of what I'm doing wrong. I basically copied and pasted the script into this area:

http://imgur.com/gallery/tTGIBtl/new

Maybe I'm just an idiot, I have no idea. Any other advice..?
Title: Re: [RESOLVED] ~ Icon as Event Graphic ~
Post by: Deity on August 10, 2015, 08:51:04 AM
Hello Jexxy,

noone will call you an idiot for asking a question. :P

Seems like you paste it in the right place. If you start a test game are there any errors or warnings?
Since I did not test it on Ace I can't say if it will workt but if there no error messages you have good chances if not I will write a new script. ^^

To show an Icon above an Event you have to rename the Event, the name has to contain "CtI = ID" while ID should be replaced with the ID of the Icon in the Iconset. :)