Is there away i can send this theme to someone on here and you take a peek. Been working on this for like 3 days and cant get it to work.. i have the numbers but it keeps just showing like i typed them out instead of the plaques and thing for club it just keeps showing Az
Need a little help with Clubs and Numbers
If you can make a mostly empty theme with just the problematic widget I can take a quick look. Just try to replicate the issue in an example theme.
How do you do with Australia/NZ club for showing flag in picture.
/ is not allow in name of file !
Perhaps you can combine it with a simple script converter that removes any "/" characters (or anything else not allowed in a path). I believe the script converter runs first and the final dynamic path is made with the converted value.
Ok, I think I'm not alone to have this problem, why iRacing put that !
Other things, I see pilots from Japan are indicated in iRacing but return club = -none- !!
Emmanuel S. wrote:
Ok, I think I'm not alone to have this problem, why iRacing put that !Other things, I see pilots from Japan are indicated in iRacing but return club = -none- !!
Are you sure iRacing has clubs for Japanese drivers? If that's not the case, ATVO does not register clubs for those drivers.
Yes I'm sure that the contry Japan is indicate in iRacing and if you watch in data explorer it is indicate - none - so I replace it by internationnal flag ... But it is iRacing wich send this information, ATVO I think just read this variable.
Other way, I decide to do a small script for Australia:
using System;
using ATVO.ThemesSDK;
using ATVO.ThemeEditor.ThemeModels;
using ATVO.ThemeEditor.Scripting.DotNET;
namespace Scripts
{
public class SC_Country : IScript
{
public object Execute(ThemeContentItem item, object value, string parameter, ISimulation sim)
{
if (value == null)
{
return null;
}
// binding ..... club
var pays = value.ToString();
if (pays == "Australia/NZ")
return "AustraliaNZ";
else
return pays;
}
}
}
New replies have moved to Discord.