「P19~PIディレクトリを作ってみよう③」の編集履歴(バックアップ)一覧はこちら
追加された行は緑色になります。
削除された行は赤色になります。
<div>
<div>
<p><strong><font size="3">音はこのようになっています。</font></strong></p>
<p><font color="#000000">PluginHeader{<br />
RailSimVersion = 2.00;<br />
PluginType = Struct;<br />
PluginName = "公民館2";<br />
PluginAuthor = "幸一番";<br />
IconTexture = "..\..\Struct\ekaki1\S81-2.png";<br />
Description =
"昭和初期の公民館式の建物を再現しました。市役所や警察署もこんな感じだったと思います。発光も搭載しましたが昼の間は窓が変です。";<br />
}</font></p>
<p><font color="#000000">StructInfo{<br />
}</font></p>
<p><br /><font color="#000000">PrimaryAssembly{<br />
Object3D "Main"{<br />
ModelFileName = "Model.x";<br />
ModelScale = 1.5;<br />
NoCastShadow = 0;<br />
ChangeAlpha = 3, NightAlpha;<br />
ChangeAlpha = 9, DayAlpha;<br />
AlphaZeroTest = 0;<br />
<br />
Joint3D "_LOCAL"{<br />
AttachCoord = (0.0, 0.0, 0.0);<br />
AttachDir = (0.0, 0.0, -1.0);<br />
}<br />
}<br />
SoundEffect{<br />
WaveFileName = "ファイル名.wav";←wavのみ対応<br />
AttachObject = "Main";←音をつける場所<br />
SourceCoord = (0.0, 0.0, 2.0);←座標<br />
Volume = 1100;←音量<br />
Loop = yes;←多分、近づくと音量があがる?<br />
} </font></p>
<p><font color="#286EA0"><font color="#000000"> }</font> </font></p>
<p><font color="#000000"><strong><font size="3">回転はこのようになっています。</font></strong><br /></font></p>
<p> </p>
<p> PluginHeader{<br />
RailSimVersion = 2.00;<br />
PluginType = Struct;<br />
PluginName = "水車";<br />
PluginAuthor = "幸一番";<br />
IconTexture = "..\..\Struct\ekaki1\s488-1.png";<br />
Description = "今では少なくなりました。";<br />
}</p>
<p>StructInfo{<br />
}</p>
<p><br />
PrimaryAssembly{<br />
Object3D "dodai"{<br />
ModelFileName = "Model2.x";<br />
ModelScale = 1.1;<br />
Joint3D "_LOCAL"{<br />
AttachCoord = (0.0, 0.0, 0.0);<br />
}<br />
}<br />
Object3D "mawaru"{<br />
ModelFileName = "Model1.x";<br />
ModelScale = 1.0;<br />
DynamicRotation{<br />
RotationAxis = (0.0001,0.0,0.0);←回る座標<br />
RotationSpeed = 0.5;←速さ<br />
}<br />
Joint3D "dodai"{<br />
AttachCoord = (0.0,0.9, -0.01);<br />
}<br />
}</p>
<p><br />
}</p>
<p><strong><font size="3" color="#000000">動きについてはこの様になっています。</font></strong></p>
<p> </p>
<p> luginHeader{<br />
RailSimVersion = 2.00;<br />
PluginType = Struct;<br />
PluginName = "大砲";<br />
PluginAuthor = "幸一番";<br />
IconTexture = "D:\鉄道\RailSim2(2.03c)\Struct\ビル1号";<br />
Description = "昔の大砲です。敵方向に回転できます。高さは90度時のみ設定できます。";<br />
}</p>
<p>StructInfo{<br />
}<br />
DefineSwitch "回転"{<br />
Entry = "0";<br />
Entry = "20";<br />
Entry = "40";<br />
Entry = "60";<br />
Entry = "80";<br />
Entry = "90";<br />
}<br />
DefineSwitch "高さ"{<br />
Entry = "0";<br />
Entry = "5";<br />
Entry = "10";<br />
}</p>
<p><br />
PrimaryAssembly{<br />
Object3D "Main"{<br />
ModelFileName = "Model1.x";<br />
ModelScale = 3.5;</p>
<p> Joint3D "_LOCAL"{<br />
AttachCoord = (0.0, 0.0, 0.0);<br />
AttachDir = (0.0, 0.0, -1.0);<br />
}<br />
}</p>
<p> Object3D "1"{<br />
ModelFileName = "Model2.x";//回転させる物<br />
ModelScale = 3.5;//大きさ<br />
ApplySwitch "回転"{<br />
Case 1:<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);//←座標<br />
RotationAngle = 20.0;//←角度<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;//←時間<br />
PostAnimationDelay = 0.0;//←指令してから動くまでの時間<br />
}<br />
Case 2://←以下同様<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);<br />
RotationAngle = 40.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 0.0;<br />
}<br />
Case 3:<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);<br />
RotationAngle = 60.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 0.0;<br />
}<br />
Case 4:<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);<br />
RotationAngle = 80.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 0.0;<br />
}<br />
Case 5:<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);<br />
RotationAngle = 90.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 0.0;<br />
}<br />
ApplySwitch "高さ"{</p>
<p> Case 1:<br />
StaticRotation{<br />
RotationAxis = (0.0, 0.0, -1.0);<br />
RotationAngle = 5.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 1.0;<br />
}<br />
Case 2:<br />
StaticRotation{<br />
RotationAxis = (0.0, 0.0, -1.0);<br />
RotationAngle = 10.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 1.0;<br />
}<br />
}<br />
} <br />
Joint3D "_LOCAL"{<br />
AttachCoord = (-1.0, 0.0, 0.0);<br />
AttachDir = (-1.0, 0.0, 0.0);<br />
}<br />
}</p>
<p>}</p>
<p> </p>
<p><a href="http://www8.atwiki.jp/rs2lock/pages/116.html">次のページへ</a><br /><a href="http://www8.atwiki.jp/rs2lock/?page=P17%EF%BD%9EPI%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E3%82%92%E4%BD%9C%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%88%E3%81%86%E2%91%A1">
前のページへ</a></p>
</div>
<br /><div><a href="http://www8.atwiki.jp/rs2lock/pages/52.html">総合図書館に戻る</a></div>
</div>
<div>
<div>
<p><strong><font size="3">音はこのようになっています。</font></strong></p>
<p><font color="#000000">PluginHeader{<br />
RailSimVersion = 2.00;<br />
PluginType = Struct;<br />
PluginName = "公民館2";<br />
PluginAuthor = "幸一番";<br />
IconTexture = "..\..\Struct\ekaki1\S81-2.png";<br />
Description =
"昭和初期の公民館式の建物を再現しました。市役所や警察署もこんな感じだったと思います。発光も搭載しましたが昼の間は窓が変です。";<br />
}</font></p>
<p><font color="#000000">StructInfo{<br />
}</font></p>
<p><br /><font color="#000000">PrimaryAssembly{<br />
Object3D "Main"{<br />
ModelFileName = "Model.x";<br />
ModelScale = 1.5;<br />
NoCastShadow = 0;<br />
ChangeAlpha = 3, NightAlpha;<br />
ChangeAlpha = 9, DayAlpha;<br />
AlphaZeroTest = 0;<br />
<br />
Joint3D "_LOCAL"{<br />
AttachCoord = (0.0, 0.0, 0.0);<br />
AttachDir = (0.0, 0.0, -1.0);<br />
}<br />
}<br />
SoundEffect{<br />
WaveFileName = "ファイル名.wav";←wavのみ対応<br />
AttachObject = "Main";←音をつける場所<br />
SourceCoord = (0.0, 0.0, 2.0);←座標<br />
Volume = 1100;←音量<br />
Loop = yes;←多分、近づくと音量があがる?<br />
} </font></p>
<p><font color="#286EA0"><font color="#000000"> }</font> </font></p>
<p><font color="#000000"><strong><font size="3">回転はこのようになっています。</font></strong><br /></font></p>
<p> </p>
<p> PluginHeader{<br />
RailSimVersion = 2.00;<br />
PluginType = Struct;<br />
PluginName = "水車";<br />
PluginAuthor = "幸一番";<br />
IconTexture = "..\..\Struct\ekaki1\s488-1.png";<br />
Description = "今では少なくなりました。";<br />
}</p>
<p>StructInfo{<br />
}</p>
<p><br />
PrimaryAssembly{<br />
Object3D "dodai"{<br />
ModelFileName = "Model2.x";<br />
ModelScale = 1.1;<br />
Joint3D "_LOCAL"{<br />
AttachCoord = (0.0, 0.0, 0.0);<br />
}<br />
}<br />
Object3D "mawaru"{<br />
ModelFileName = "Model1.x";<br />
ModelScale = 1.0;<br />
DynamicRotation{<br />
RotationAxis = (0.0001,0.0,0.0);←回る座標<br />
RotationSpeed = 0.5;←速さ<br />
}<br />
Joint3D "dodai"{<br />
AttachCoord = (0.0,0.9, -0.01);<br />
}<br />
}</p>
<p><br />
}</p>
<p><strong><font size="3" color="#000000">動きについてはこの様になっています。</font></strong></p>
<p> </p>
<p> luginHeader{<br />
RailSimVersion = 2.00;<br />
PluginType = Struct;<br />
PluginName = "大砲";<br />
PluginAuthor = "幸一番";<br />
IconTexture = "D:\鉄道\RailSim2(2.03c)\Struct\ビル1号";<br />
Description = "昔の大砲です。敵方向に回転できます。高さは90度時のみ設定できます。";<br />
}</p>
<p>StructInfo{<br />
}<br />
DefineSwitch "回転"{<br />
Entry = "0";<br />
Entry = "20";<br />
Entry = "40";<br />
Entry = "60";<br />
Entry = "80";<br />
Entry = "90";<br />
}<br />
DefineSwitch "高さ"{<br />
Entry = "0";<br />
Entry = "5";<br />
Entry = "10";<br />
}</p>
<p><br />
PrimaryAssembly{<br />
Object3D "Main"{<br />
ModelFileName = "Model1.x";<br />
ModelScale = 3.5;</p>
<p> Joint3D "_LOCAL"{<br />
AttachCoord = (0.0, 0.0, 0.0);<br />
AttachDir = (0.0, 0.0, -1.0);<br />
}<br />
}</p>
<p> Object3D "1"{<br />
ModelFileName = "Model2.x";//回転させる物<br />
ModelScale = 3.5;//大きさ<br />
ApplySwitch "回転"{<br />
Case 1:<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);//←座標<br />
RotationAngle = 20.0;//←角度<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;//←時間<br />
PostAnimationDelay = 0.0;//←指令してから動くまでの時間<br />
}<br />
Case 2://←以下同様<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);<br />
RotationAngle = 40.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 0.0;<br />
}<br />
Case 3:<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);<br />
RotationAngle = 60.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 0.0;<br />
}<br />
Case 4:<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);<br />
RotationAngle = 80.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 0.0;<br />
}<br />
Case 5:<br />
StaticRotation{<br />
RotationAxis = (0.0, 1.0, 0.0);<br />
RotationAngle = 90.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 0.0;<br />
}<br />
ApplySwitch "高さ"{</p>
<p> Case 1:<br />
StaticRotation{<br />
RotationAxis = (0.0, 0.0, -1.0);<br />
RotationAngle = 5.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 1.0;<br />
}<br />
Case 2:<br />
StaticRotation{<br />
RotationAxis = (0.0, 0.0, -1.0);<br />
RotationAngle = 10.0;<br />
PreAnimationDelay = 0.0;<br />
AnimationTime = 1.0;<br />
PostAnimationDelay = 1.0;<br />
}<br />
}<br />
} <br />
Joint3D "_LOCAL"{<br />
AttachCoord = (-1.0, 0.0, 0.0);<br />
AttachDir = (-1.0, 0.0, 0.0);<br />
}<br />
}</p>
<p>}</p>
<p> </p>
<p><a href="http://www8.atwiki.jp/rs2lock/pages/116.html">次のページへ</a><br /><a href="http://www8.atwiki.jp/rs2lock/?page=P17%EF%BD%9EPI%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E3%82%92%E4%BD%9C%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%88%E3%81%86%E2%91%A1">
前のページへ</a></p>
</div>
<br /><div><a href="http://www8.atwiki.jp/rs2lock/pages/52.html">総合図書館に戻る</a></div>
</div>