<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ワイパー | shinのmodについてなんかかく</title>
	<atom:link href="https://www.shinacmod.com/tag/%E3%83%AF%E3%82%A4%E3%83%91%E3%83%BC/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.shinacmod.com</link>
	<description>Assetto Corsa mod site</description>
	<lastBuildDate>Mon, 27 Sep 2021 08:37:42 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.shinacmod.com/wp-content/uploads/2020/07/icon3.png</url>
	<title>ワイパー | shinのmodについてなんかかく</title>
	<link>https://www.shinacmod.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>CSPの機能でワイパーを追加する方法【Assetto Corsa】</title>
		<link>https://www.shinacmod.com/csp-wiper-making/</link>
					<comments>https://www.shinacmod.com/csp-wiper-making/#comments</comments>
		
		<dc:creator><![CDATA[shin956]]></dc:creator>
		<pubDate>Mon, 27 Sep 2021 09:00:00 +0000</pubDate>
				<category><![CDATA[Mod作り]]></category>
		<category><![CDATA[CSP]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[ワイパー]]></category>
		<guid isPermaLink="false">https://www.shinacmod.com/?p=4289</guid>

					<description><![CDATA[こんにちは。今回はAssetto CorsaでCustomShadersPatch（CSP）の機能を使用してワイパーが動かない車種にワイパーアニメーションを付けるまでを書きます。理解すれば10分くらいでできるのでチャレン [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>こんにちは。今回はAssetto CorsaでCustomShadersPatch（CSP）の機能を使用してワイパーが動かない車種にワイパーアニメーションを付けるまでを書きます。理解すれば10分くらいでできるのでチャレンジしてみて下さい。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">Contents</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">事前準備</a></li><li><a href="#toc2" tabindex="0">ワイパーを作動させる</a></li><li><a href="#toc3" tabindex="0">注意点</a></li><li><a href="#toc4" tabindex="0">参考ツイート動画</a></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">事前準備</span></h2>



<p>１．ワイパーを付けたい車種のフォルダ内にextensionフォルダとその中にext_config.iniがあることを確認する。（なかったら作成してください）（assettocorsa\extension\config\cars内のcarname.iniでも可）</p>



<p>２．コースインしてObject Inspectorを起動して、右上のToolボタンからAnimated wipersをクリック。</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="580" height="490" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-211558.jpg" alt="" class="wp-image-4290" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-211558.jpg 580w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-211558-300x253.jpg 300w" sizes="(max-width: 580px) 100vw, 580px" /></figure>



<p>３．すると以下のような画面が出てくるのでクリックしコピーして、ext_configにペースト。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="578" height="334" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-211623.jpg" alt="" class="wp-image-4291" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-211623.jpg 578w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-211623-300x173.jpg 300w" sizes="(max-width: 578px) 100vw, 578px" /></figure>



<p>４．2か所のMESHES＝の後にワイパーのオブジェクト名を、UNDERLYING SURFACE=の後にフロントガラスのオブジェクト名をコピー＆ペースト。（Object Inspectorを起動した状態でAlt＋クリックでクリックした場所のオブジェクトの情報が分かります。）</p>



<p>５．一度ゲームを終了。また、ext_configを保存。</p>



<h2 class="wp-block-heading"><span id="toc2">ワイパーを作動させる</span></h2>



<p>１．コースに入ると、Object Inspectorを起動したままだと以下のようなウインドウが表示されていると思います。ワイパーの部品が緑にハイライトされていたらokです。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="579" height="439" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-212813.jpg" alt="" class="wp-image-4292" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-212813.jpg 579w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-212813-300x227.jpg 300w" sizes="(max-width: 579px) 100vw, 579px" /></figure>



<p>２．ワイパーのみを選択します。Ctrlを押しながら範囲選択が便利です。Altを押しながらだと選択解除ができます。ワイパーは一本ずつ選択してください。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="728" height="458" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-212856.jpg" alt="" class="wp-image-4293" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-212856.jpg 728w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-212856-300x189.jpg 300w" sizes="(max-width: 728px) 100vw, 728px" /></figure>



<p>３．一本選択出来たごとにAdd new groupをクリックしてグループ化してください。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="575" height="435" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-213633.jpg" alt="" class="wp-image-4294" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-213633.jpg 575w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-213633-300x227.jpg 300w" sizes="(max-width: 575px) 100vw, 575px" /></figure>



<p>４．Main Partタブに移動して、上のDisable curvature followingをクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="900" height="653" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-213939.jpg" alt="" class="wp-image-4295" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-213939.jpg 900w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-213939-300x218.jpg 300w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-213939-768x557.jpg 768w" sizes="(max-width: 900px) 100vw, 900px" /></figure>



<p>５．Custom positionを動かしてみて選択し忘れたパーツがないか確認します。</p>



<p>６．XYZ軸がワイパーの上に表示されているので、ワイパーをフロントガラスに近づけるためにCtrlを押しながら軸を移動させます。（大まかでいいです）</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="825" height="556" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-214318.jpg" alt="" class="wp-image-4296" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-214318.jpg 825w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-214318-300x202.jpg 300w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-214318-768x518.jpg 768w" sizes="(max-width: 825px) 100vw, 825px" /></figure>



<p>７．ワイパーの終わる位置を決めるためAngle（end）を調整します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="900" height="712" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-214623.jpg" alt="" class="wp-image-4297" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-214623.jpg 900w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-214623-300x237.jpg 300w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-214623-768x608.jpg 768w" sizes="(max-width: 900px) 100vw, 900px" /></figure>



<p>８．上のEnable everythingをクリックしてフロントガラスにワイパーが添うか確認。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="573" height="440" src="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-215028.jpg" alt="" class="wp-image-4298" srcset="https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-215028.jpg 573w, https://www.shinacmod.com/wp-content/uploads/2021/09/2021-09-24-215028-300x230.jpg 300w" sizes="(max-width: 573px) 100vw, 573px" /></figure>



<p>１０．Wipers speedを動かして確認。</p>



<p>１１．Copy all settingsをクリックしてコピーし、ext_configにペースト、保存。</p>



<p>１２．雨を降らせてみて、雨粒をふき取るか内側と外側から確認。</p>



<p>１３．完了したら、以下のようにDEBUG＝０にしてください。</p>



<p>[ANIMATED_WIPER_0]<br>DEBUG = 0</p>



<h2 class="wp-block-heading"><span id="toc3">注意点</span></h2>



<p>※1 内側フロントガラスがない場合、内側から雨粒をふき取る描写はされません。</p>



<p>※2 LODがある車の場合、Custom LODを動かして、同じ作業を繰り返してください。クルマが遠くに描画されているときにワイパーが動かなくなってしまいます。作業していないLODはDEBUG = 0にすることを忘れずに</p>



<p>※3 Base part他のタブについてはそのタブに書いてある解説文を翻訳してみて下さい。特殊なワイパーの動きの時に使うようです。</p>



<p>※4 フロントガラスと直接接触するラバーの部分のオブジェクト（マテリアル）が分かれている場合、設定してもfailed to automatically detect rubber parameterとエラーが出てロードできませんでした。対処法が分かれば追記します。</p>



<h2 class="wp-block-heading"><span id="toc4">参考ツイート動画</span></h2>



<figure class="wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter"><div class="wp-block-embed__wrapper">
<blockquote class="twitter-tweet" data-width="550" data-dnt="true"><p lang="ja" dir="ltr">CSPによるワイパーの作動までを動画にしてみました。4倍速くらいです。<a rel="noopener" target="_blank" href="https://twitter.com/hashtag/AssettoCorsa?src=hash&amp;ref_src=twsrc%5Etfw">#AssettoCorsa</a> <a rel="noopener" target="_blank" href="https://twitter.com/hashtag/%E3%82%A2%E3%82%BB%E3%83%83%E3%83%88%E3%82%B3%E3%83%AB%E3%82%B5?src=hash&amp;ref_src=twsrc%5Etfw">#アセットコルサ</a> <a rel="noopener" target="_blank" href="https://t.co/yHPQY6Rxdf">pic.twitter.com/yHPQY6Rxdf</a></p>&mdash; shin956 (@shin9561) <a rel="noopener" target="_blank" href="https://twitter.com/shin9561/status/1441327586647310336?ref_src=twsrc%5Etfw">September 24, 2021</a></blockquote><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div></figure>



<p>以上です。基本的なやり方を書きました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shinacmod.com/csp-wiper-making/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
