Ash.Hope 0 Posted June 13, 2017 Hi All, I'm having a really minor issue however now i've noticed it I feel like i need to resolve it. I'm creating my first asset (a custom tank using PhysX), and it seems to be prefixing my display names with 'X'. I've noted that changing the simulation from 'simulation = "tankx"' to 'tank' removes the X, so i'm certain that's the issue. Is it possible to remove the prefixed X on each of my vehicle names? Share this post Link to post Share on other sites
UK_Apollo 476 Posted June 13, 2017 Are you setting the display name? displayName = "Ash Tank"; Share this post Link to post Share on other sites
Ash.Hope 0 Posted June 13, 2017 Yeah so my current config.cpp looks like.... class CfgVehicleClasses { class TestTank { displayname = "FirstTank"; }; }; However it displays as 'X FirstTank' Share this post Link to post Share on other sites
UK_Apollo 476 Posted June 13, 2017 Presumably that isn't your entire config.cpp. Perhaps upload all of it to hastebin.com so we can take a look. Share this post Link to post Share on other sites
Neddles 229 Posted June 14, 2017 I think your display name parameter should be in cfgVehicles, not cfgVehicleClasses. Share this post Link to post Share on other sites
Ash.Hope 0 Posted June 14, 2017 Okay so my above snippet is the wrong area, cfgVehicleClasses is for the category the vehicle will be held in, as i'm going to be making a few variants of the same tank but want to group them together. https://hastebin.com/poxovikese.cs -- that's my current config, most of it is from tutorials i could find online. Line 56 - This is the name i want to display. Line 54 - I think this is what is causing the X to display in front of the name. Share this post Link to post Share on other sites
Neddles 229 Posted June 14, 2017 Try adding this above cfgVehicles: class CfgEditorSubcategories { class GB_Army_Tracked { displayName = "Test tanks"; }; }; Then inside cfgVehicles put: editorSubcategory = GB_Army_Tracked; Share this post Link to post Share on other sites
Ash.Hope 0 Posted June 14, 2017 The subclasses work, I have a drop down selection with Test Tanks and can see First Tank below it. However it's still showing as 'X First Tank' Share this post Link to post Share on other sites
Neddles 229 Posted June 14, 2017 Yes, I think that's coming from your vehicleclasses entry. Just try those additions and see what happens. Share this post Link to post Share on other sites
Ash.Hope 0 Posted June 14, 2017 Get the error 'No entry 'bin\config.cpp\CfgVehicleClasses\GB_Army_Tracked'' when i remove my vehicle classes class, and when i leave it in with that code it has no effect. Share this post Link to post Share on other sites
Neddles 229 Posted June 14, 2017 When you removed cfgVehicles classes did you also delete or comment out line 95 ? Class = Share this post Link to post Share on other sites
Ash.Hope 0 Posted June 14, 2017 Yeah, replaced that line to add yours in, just having a look through the other assets and it seems to be common that they are prefixed with X, i presume Bohemia use this to note all the PhysX assets at a glace? Share this post Link to post Share on other sites
Neddles 229 Posted June 14, 2017 You mean in Eden? Mines not like that. My atv that I'm making uses physx and it doesn't have any x prefix. Weird. Share this post Link to post Share on other sites
Neddles 229 Posted June 14, 2017 Something inherited from vbs mod ? Share this post Link to post Share on other sites
Ash.Hope 0 Posted June 14, 2017 Could well be, there's about 100 vehicles on my asset list which seem to have it. Ahh well, thank you for your help, guess I'll have to live with the X. Share this post Link to post Share on other sites