ContainerBridgeCrane: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
===config.txt=== | ===config.txt=== | ||
<CODE> | <CODE> | ||
</CODE> | kuid <kuid2:215489:110041:1> | ||
username "aCTS CONTCRANE Animated Bridge Crane Scenery Utility V0.1" | |||
kind "Scenery" | |||
category-class "BU" | |||
description "aCTS CONTCRANE Animated Bridge Crane Scenery Utility V0.1" | |||
trainz-build 4.6 | |||
script "acts_bridgecrane.gs" | |||
class "acts_bridgecrane" | |||
surveyor-only 0 | |||
mesh-table-lod-transition-distances 1000 | |||
mesh-detail-level-count 1 | |||
kuid-table { | |||
scriptinclude <kuid2:215489:110000:1> | |||
skinskuid <kuid2:215489:1100200:1> | |||
cont10ftsc <kuid2:215489:1100211:1> | |||
cont10fthc <kuid2:215489:1100212:1> | |||
cont20ftsc <kuid2:215489:1100221:1> | |||
cont20fthc <kuid2:215489:1100222:1> | |||
cont40ftsc <kuid2:215489:1100231:1> | |||
cont40fthc <kuid2:215489:1100232:1> | |||
cont45ftsc <kuid2:215489:1100241:1> | |||
cont45fthc <kuid2:215489:1100242:1> | |||
cont53ftsc <kuid2:215489:1100251:1> | |||
cont53fthc <kuid2:215489:1100252:1> | |||
} | |||
script-include-table { | |||
scriptinclude <kuid2:215489:110000:1> | |||
skincolor <kuid2:215489:1100200:1> | |||
} | |||
extensions | |||
{ | |||
reacharea-215489 | |||
{ | |||
cranebase_dimension_x 30000 | |||
cranebase_dimension_y 100000 | |||
cranebase_dimension_z 26000 | |||
cranebase_origin_inset_x 15000 | |||
cranebase_origin_inset_y 50000 | |||
cranebase_origin_inset_z 5000 | |||
max_container_count 7 | |||
} | |||
} | |||
mesh-table | |||
{ | |||
cranebase-lod0 | |||
{ | |||
mesh "acts_cranebase.trainzmesh" | |||
auto-create 1 | |||
lod-level 0 | |||
} | |||
bridge-lod0 | |||
{ | |||
mesh "acts_bridge.trainzmesh" | |||
auto-create 1 | |||
lod-level 0 | |||
att-parent "cranebase-lod0" | |||
anim "acts_bridge_scene.kin" | |||
animation-loop-speed 0.0 | |||
critical-animation 0 | |||
} | |||
trolley-lod0 | |||
{ | |||
mesh "acts_trolley.trainzmesh" | |||
auto-create 1 | |||
lod-level 0 | |||
att "a.bridge" | |||
att-parent "bridge-lod0" | |||
anim "acts_trolley_scene.kin" | |||
animation-loop-speed 0.0 | |||
critical-animation 0 | |||
} | |||
lift-lod0 | |||
{ | |||
mesh "acts_lift.trainzmesh" | |||
auto-create 1 | |||
lod-level 0 | |||
att "a.trolley" | |||
att-parent "trolley-lod0" | |||
anim "acts_lift_scene.kin" | |||
animation-loop-speed 0.0 | |||
critical-animation 0 | |||
} | |||
rotor-lod0 | |||
{ | |||
mesh "acts_rotor.trainzmesh" | |||
auto-create 1 | |||
lod-level 0 | |||
att "a.lift" | |||
att-parent "lift-lod0" | |||
anim "acts_rotor_scene.kin" | |||
animation-loop-speed 0.0 | |||
critical-animation 0 | |||
} | |||
gear-lod0 | |||
{ | |||
mesh "acts_gear.trainzmesh" | |||
auto-create 1 | |||
lod-level 0 | |||
att "a.rotor" | |||
att-parent "rotor-lod0" | |||
anim "acts_gear_scene.kin" | |||
animation-loop-speed 1.0 | |||
critical-animation 0 | |||
} | |||
cont10ftsc-lod0 | |||
{ | |||
mesh "acts_cont_10ftsc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100211:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.sccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor10ftsc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont10fthc-lod0 | |||
{ | |||
mesh "acts_cont_10fthc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100212:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.hccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor10fthc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont20ftsc-lod0 | |||
{ | |||
mesh "acts_cont_20ftsc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100221:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.sccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor20ftsc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont20fthc-lod0 | |||
{ | |||
mesh "acts_cont_20fthc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100222:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.hccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor20fthc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont40ftsc-lod0 | |||
{ | |||
mesh "acts_cont_40ftsc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100231:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.sccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor40ftsc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont40fthc-lod0 | |||
{ | |||
mesh "acts_cont_40fthc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100232:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.hccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor40fthc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont45ftsc-lod0 | |||
{ | |||
mesh "acts_cont_45ftsc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100241:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.sccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor45ftsc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont45fthc-lod0 | |||
{ | |||
mesh "acts_cont_45fthc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100242:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.hccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor45fthc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont53ftsc-lod0 | |||
{ | |||
mesh "acts_cont_53ftsc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100251:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.sccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor53ftsc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
cont53fthc-lod0 | |||
{ | |||
mesh "acts_cont_53fthc.trainzmesh" | |||
mesh-asset <kuid2:215489:1100252:1> | |||
auto-create 0 | |||
lod-level 0 | |||
att "a.queue.hccontainer" | |||
att-parent "gear-lod0" | |||
effects | |||
{ | |||
skincolor53fthc | |||
{ | |||
kind "texture-replacement" | |||
texture "acts_container_allinone.texture" | |||
} | |||
} | |||
} | |||
} | |||
thumbnails | |||
{ | |||
0 | |||
{ | |||
image "acts_bridgecrane_thumb.jpg" | |||
width 240 | |||
height 180 | |||
} | |||
} | |||
</CODE> | |||
===acts_bridgecrane.gs=== | ===acts_bridgecrane.gs=== | ||
Revision as of 13:43, 24 April 2024
Container Bridge Crane
A bridge crane consists of several running parts. This parts are some kind of parented. The hirarchy of this parts look like this:
TBD: Insert hirarchy ... from script comments
Reachable area
The special reacharea parameters for the bridge crane prototype looking like follows:
acts.reacharea-251489 {
reacharea.dimension.x 30000
reacharea.dimension.y 100000
reacharea.dimension.z 26000
reacharea.origin_inset.x 15000
reacharea.origin_inset.y 50000
reacharea.origin_inset.z 5000
max_container_count 7
}
Asset files pre version 0.1
The files compile errorless and the messaging runs well. No more functionality implemented and tested in this pre version.
config.txt
kuid <kuid2:215489:110041:1>
username "aCTS CONTCRANE Animated Bridge Crane Scenery Utility V0.1"
kind "Scenery"
category-class "BU"
description "aCTS CONTCRANE Animated Bridge Crane Scenery Utility V0.1"
trainz-build 4.6
script "acts_bridgecrane.gs"
class "acts_bridgecrane"
surveyor-only 0
mesh-table-lod-transition-distances 1000
mesh-detail-level-count 1
kuid-table {
scriptinclude <kuid2:215489:110000:1>
skinskuid <kuid2:215489:1100200:1>
cont10ftsc <kuid2:215489:1100211:1>
cont10fthc <kuid2:215489:1100212:1>
cont20ftsc <kuid2:215489:1100221:1>
cont20fthc <kuid2:215489:1100222:1>
cont40ftsc <kuid2:215489:1100231:1>
cont40fthc <kuid2:215489:1100232:1>
cont45ftsc <kuid2:215489:1100241:1>
cont45fthc <kuid2:215489:1100242:1>
cont53ftsc <kuid2:215489:1100251:1>
cont53fthc <kuid2:215489:1100252:1>
}
script-include-table {
scriptinclude <kuid2:215489:110000:1>
skincolor <kuid2:215489:1100200:1>
}
extensions
{
reacharea-215489
{
cranebase_dimension_x 30000
cranebase_dimension_y 100000
cranebase_dimension_z 26000
cranebase_origin_inset_x 15000
cranebase_origin_inset_y 50000
cranebase_origin_inset_z 5000
max_container_count 7
}
}
mesh-table
{
cranebase-lod0
{
mesh "acts_cranebase.trainzmesh"
auto-create 1
lod-level 0
}
bridge-lod0
{
mesh "acts_bridge.trainzmesh"
auto-create 1
lod-level 0
att-parent "cranebase-lod0"
anim "acts_bridge_scene.kin"
animation-loop-speed 0.0
critical-animation 0
}
trolley-lod0
{
mesh "acts_trolley.trainzmesh"
auto-create 1
lod-level 0
att "a.bridge"
att-parent "bridge-lod0"
anim "acts_trolley_scene.kin"
animation-loop-speed 0.0
critical-animation 0
}
lift-lod0
{
mesh "acts_lift.trainzmesh"
auto-create 1
lod-level 0
att "a.trolley"
att-parent "trolley-lod0"
anim "acts_lift_scene.kin"
animation-loop-speed 0.0
critical-animation 0
}
rotor-lod0
{
mesh "acts_rotor.trainzmesh"
auto-create 1
lod-level 0
att "a.lift"
att-parent "lift-lod0"
anim "acts_rotor_scene.kin"
animation-loop-speed 0.0
critical-animation 0
}
gear-lod0
{
mesh "acts_gear.trainzmesh"
auto-create 1
lod-level 0
att "a.rotor"
att-parent "rotor-lod0"
anim "acts_gear_scene.kin"
animation-loop-speed 1.0
critical-animation 0
}
cont10ftsc-lod0
{
mesh "acts_cont_10ftsc.trainzmesh"
mesh-asset <kuid2:215489:1100211:1>
auto-create 0
lod-level 0
att "a.queue.sccontainer"
att-parent "gear-lod0"
effects
{
skincolor10ftsc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont10fthc-lod0
{
mesh "acts_cont_10fthc.trainzmesh"
mesh-asset <kuid2:215489:1100212:1>
auto-create 0
lod-level 0
att "a.queue.hccontainer"
att-parent "gear-lod0"
effects
{
skincolor10fthc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont20ftsc-lod0
{
mesh "acts_cont_20ftsc.trainzmesh"
mesh-asset <kuid2:215489:1100221:1>
auto-create 0
lod-level 0
att "a.queue.sccontainer"
att-parent "gear-lod0"
effects
{
skincolor20ftsc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont20fthc-lod0
{
mesh "acts_cont_20fthc.trainzmesh"
mesh-asset <kuid2:215489:1100222:1>
auto-create 0
lod-level 0
att "a.queue.hccontainer"
att-parent "gear-lod0"
effects
{
skincolor20fthc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont40ftsc-lod0
{
mesh "acts_cont_40ftsc.trainzmesh"
mesh-asset <kuid2:215489:1100231:1>
auto-create 0
lod-level 0
att "a.queue.sccontainer"
att-parent "gear-lod0"
effects
{
skincolor40ftsc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont40fthc-lod0
{
mesh "acts_cont_40fthc.trainzmesh"
mesh-asset <kuid2:215489:1100232:1>
auto-create 0
lod-level 0
att "a.queue.hccontainer"
att-parent "gear-lod0"
effects
{
skincolor40fthc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont45ftsc-lod0
{
mesh "acts_cont_45ftsc.trainzmesh"
mesh-asset <kuid2:215489:1100241:1>
auto-create 0
lod-level 0
att "a.queue.sccontainer"
att-parent "gear-lod0"
effects
{
skincolor45ftsc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont45fthc-lod0
{
mesh "acts_cont_45fthc.trainzmesh"
mesh-asset <kuid2:215489:1100242:1>
auto-create 0
lod-level 0
att "a.queue.hccontainer"
att-parent "gear-lod0"
effects
{
skincolor45fthc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont53ftsc-lod0
{
mesh "acts_cont_53ftsc.trainzmesh"
mesh-asset <kuid2:215489:1100251:1>
auto-create 0
lod-level 0
att "a.queue.sccontainer"
att-parent "gear-lod0"
effects
{
skincolor53ftsc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
cont53fthc-lod0
{
mesh "acts_cont_53fthc.trainzmesh"
mesh-asset <kuid2:215489:1100252:1>
auto-create 0
lod-level 0
att "a.queue.hccontainer"
att-parent "gear-lod0"
effects
{
skincolor53fthc
{
kind "texture-replacement"
texture "acts_container_allinone.texture"
}
}
}
}
thumbnails
{
0
{
image "acts_bridgecrane_thumb.jpg"
width 240
height 180
}
}
acts_bridgecrane.gs
XXX
YYY
ZZZ
acts_bridgecrane_script.gs
XXX
YYY
ZZZ
File is located in dispatcher library.
acts_bridgecrane_reachable.gs
XXX
YYY
ZZZ
File is located in dispatcher library.
acts_bridgecrain_globals.gs
XXX
YYY
ZZZ
File is located in dispatcher library.