I'm trying to create my first mod. This is a mod on the railroad tracks, I want to create a new type of rail: switches.
It is already possible to do in the game but there is a space between the rails is 4 spaces. I wish to do without space.
What we have in game :

What i want to create :

I encounter an error when launching the game with the mod, I have the error:
"Error while loading prototype "switch-leftrail": "switch" isinvalid rail bendind type"
I found nothing on the "bending type" on the forum and on the net, I know that the error is there, but I confess I do not know what to do.
What do you need to help me?