<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Cutin</title><link>https://sourceforge.net/p/hercules/wiki/Cutin/</link><description>Recent changes to Cutin</description><atom:link href="https://sourceforge.net/p/hercules/wiki/Cutin/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 20 Feb 2023 05:01:06 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/hercules/wiki/Cutin/feed" rel="self" type="application/rss+xml"/><item><title>Cutin modified by Brynner</title><link>https://sourceforge.net/p/hercules/wiki/Cutin/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;{{OtherUse|a script command for displaying NPC illustrations|the obsoleted&lt;br/&gt;
command, used for displaying card illustrations|cutincard}}&lt;/p&gt;
&lt;h2 id="syntax"&gt;Syntax&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;cutin&lt;/strong&gt; &amp;lt;position&amp;gt;; &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="description"&gt;Description&lt;/h2&gt;
&lt;p&gt;This command will display a picture, usually an &lt;span&gt;[NPC]&lt;/span&gt; illustration, also&lt;br/&gt;
called cutin, for the &lt;a class="" href="../currently%20attached"&gt;RID#Usage&lt;/a&gt; client. The &lt;em&gt;position&lt;/em&gt;&lt;br/&gt;
parameter determines the placement of the illustration and takes following&lt;br/&gt;
values:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;Bottom-Left Corner&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Bottom-Middle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Bottom-Right Corner&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Middle of screen in a movable window with an empty title bar.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Middle of screen without the window header, but still movable.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The picture is read from &lt;strong&gt;data\texture\유저인터페이스\illust&lt;/strong&gt; , from both the&lt;br/&gt;
&lt;span&gt;[GRF]&lt;/span&gt; archive and data folder, and is required to be a bitmap. The file&lt;br/&gt;
extension &lt;strong&gt;.bmp&lt;/strong&gt; can be omitted. Magenta color ({{color|ff00ff}}) is&lt;br/&gt;
considered transparent. There is no limit placed on the size of the&lt;br/&gt;
illustrations by the client, although loading of large pictures (about 700x700&lt;br/&gt;
and larger) causes the client to freeze shortly (lag). Typically the size is&lt;br/&gt;
about 320x480. New illustrations can be added by just putting the new file&lt;br/&gt;
into the location above.&lt;/p&gt;
&lt;p&gt;The client is able to display only one &lt;strong&gt;cutin&lt;/strong&gt; at the same time and each new&lt;br/&gt;
one will cause the old one to disappear. To delete the currently displayed&lt;br/&gt;
illustration without displaying a new one, an empty file name and position 255&lt;br/&gt;
must be used.&lt;/p&gt;
&lt;h2 id="examples"&gt;Examples&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;cutin "kafra_7",2;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Displays the Comodo Kafra illustration in lower right corner.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Mes&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ss"&gt;"See you."&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Close2&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;cutin&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ss"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;End&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Typical way to end a script, which displayed an illustration during a dialog&lt;br/&gt;
with a player.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[Category:Script Command]&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brynner</dc:creator><pubDate>Mon, 20 Feb 2023 05:01:06 -0000</pubDate><guid>https://sourceforge.net502c1afef0aab7d2465edef754f37018fa9291c4</guid></item></channel></rss>