Bell Trigger?

Post your problems and installation issues here!

Bell Trigger?

Unread postby tplowman91 » Tue Sep 29, 2015 4:36 pm

Where are all the trigger codes located to set something like "DoesHornTriggerBell" etc?

I can't seem to find it, I've looked in many different files.
Win 7 x64 - Intel i7-4790k 4.0GHz - 8GB DDR3 RAM - 1TB WDC HDD - nVidia GeForce GTX 960 GDDR4 2GB - PSu CX600 - ASRock Z97 Extreme 3 Motherboard - Corsair H55 CPU Water cooling
User avatar
tplowman91
 
Posts: 69
Joined: Tue Mar 10, 2015 8:47 pm

Re: Bell Trigger?

Unread postby Scott » Wed Sep 30, 2015 12:05 am

To make the horn trigger the bell it involves writing an engine script. I don't know much else about writing an engine script to help you more with that.
Scott
 
Posts: 30
Joined: Wed Oct 02, 2013 3:16 pm

Re: Bell Trigger?

Unread postby bnsfsubdivision » Wed Sep 30, 2015 6:57 am

Scott wrote:To make the horn trigger the bell it involves writing an engine script. I don't know much else about writing an engine script to help you more with that.

Nope. Just a change in the mapper.
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am

Re: Bell Trigger?

Unread postby tplowman91 » Wed Sep 30, 2015 4:17 pm

bnsfsubdivision wrote:
Scott wrote:To make the horn trigger the bell it involves writing an engine script. I don't know much else about writing an engine script to help you more with that.

Nope. Just a change in the mapper.



Can you make it trigger Horn and Bell? Because I looked at the Empire builder P42 mapper for example, and space bar only triggers Horn... not bell, but the bell still does trigger with the horn.
Win 7 x64 - Intel i7-4790k 4.0GHz - 8GB DDR3 RAM - 1TB WDC HDD - nVidia GeForce GTX 960 GDDR4 2GB - PSu CX600 - ASRock Z97 Extreme 3 Motherboard - Corsair H55 CPU Water cooling
User avatar
tplowman91
 
Posts: 69
Joined: Tue Mar 10, 2015 8:47 pm

Re: Bell Trigger?

Unread postby Scott » Wed Sep 30, 2015 4:35 pm

What do you mean by mapper?
Scott
 
Posts: 30
Joined: Wed Oct 02, 2013 3:16 pm

Re: Bell Trigger?

Unread postby jalsina » Wed Sep 30, 2015 7:27 pm

InputMapper folder located with the folders of the particular diesel (RailVehicles)
Intel i7-7900K (3.60 GHz) - ASUS Prime Z390A - 32 GB DDR4 RAM 2400 MHz
GPU EVGA GTX-1060 OC 6GB at 1920x1080, 144 Hz - Monitor ASUS VG-248QE
System Windows 11 Pro in WD SSD 500 GB. Games in Inland 1Tb M.2 NVMe PCIe
User avatar
jalsina
 
Posts: 2010
Joined: Sun Jul 05, 2015 8:32 pm

Re: Bell Trigger?

Unread postby bnsfsubdivision » Thu Oct 01, 2015 5:53 am

Scott wrote:What do you mean by mapper?

A mapper is used to tell the game what control to change virtually when you physically hit a certain button on your keyboard. For instance: If you press the "B" key, then it tells the game to play the Bell but it's possible to edit the mapper and assign any control to any key.
tplowman91 wrote:
bnsfsubdivision wrote:
Scott wrote:To make the horn trigger the bell it involves writing an engine script. I don't know much else about writing an engine script to help you more with that.

Nope. Just a change in the mapper.



Can you make it trigger Horn and Bell? Because I looked at the Empire builder P42 mapper for example, and space bar only triggers Horn... not bell, but the bell still does trigger with the horn.

If that's the case, then it's indeed scripted but you still can make it work for any other engine/dlc.
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am

Re: Bell Trigger?

Unread postby Acela2034 » Sun Jun 26, 2016 1:29 pm

I was just looking through the mapper file for the PennCoal ES44 (Norfolk Southern) and I saw the keyboard assignments for each key, but nothing about the bell activating when the horn is sounded (and I know that the PennCoal ES44 and Dash 9 bells are activated when the horn is sounded). Is there somewhere else to look for it? (I'm hoping to modify all of my locomotives that don't have auto bell activation in game but have it in real life. It seems a lot more difficult than I anticipated !*hp*! )
Acela2034
 

Re: Bell Trigger?

Unread postby bnsfsubdivision » Mon Jun 27, 2016 1:48 am

Acela2034 wrote:I was just looking through the mapper file for the PennCoal ES44 (Norfolk Southern) and I saw the keyboard assignments for each key, but nothing about the bell activating when the horn is sounded (and I know that the PennCoal ES44 and Dash 9 bells are activated when the horn is sounded). Is there somewhere else to look for it? (I'm hoping to modify all of my locomotives that don't have auto bell activation in game but have it in real life. It seems a lot more difficult than I anticipated !*hp*! )

The bell on both loco's is activated through a script, but again, if you like to add it to any other engine, simply create a new mapper file for it and reference it in the engine.bin file.
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am

Re: Bell Trigger?

Unread postby Acela2034 » Sun Jul 10, 2016 4:55 pm

Sorry if this sounds like a hair-pulling question, but to create a new mapper file, should I create a new .bin file and keep some of the lines of code such as what I pasted below?

<?xml version="1.0" encoding="utf-8"?>
<cBlueprintLoader xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0">
<Blueprint>
<cInputMapperBlueprint>
<RemapperName d:type="cDeltaString">ES44mapper</RemapperName>
<Map>
Acela2034
 

Re: Bell Trigger?

Unread postby bnsfsubdivision » Sun Jul 10, 2016 5:06 pm

Acela2034 wrote:Sorry if this sounds like a hair-pulling question, but to create a new mapper file, should I create a new .bin file and keep some of the lines of code such as what I pasted below?

<?xml version="1.0" encoding="utf-8"?>
<cBlueprintLoader xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0">
<Blueprint>
<cInputMapperBlueprint>
<RemapperName d:type="cDeltaString">ES44mapper</RemapperName>
<Map>

You can use any existing mapper file and simply add a new control or create your own new mapper file but in this case to activate the bell it's not necessary.
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am


Return to Problems and Peculiarities

Who is online

Users browsing this forum: No registered users and 1 guest

cron