N00b modding help

I’m trying to learn how to create mods and am starting with badges.

I’ve asked in other threads and had no help so thought I’d ask in a new one.

Can anyone do a how-to for creating a simple mod which includes creating the lua file?

I have limited time for “play” so don’t have the time to learn how to do it myself from scratch, otherwise I would.

Check the modding vids in the official YouTube channel

Some tutorials covering the basics in 3D design using 3D max Great tutorials covering the basics

OK, first of all thanks for the reply.

Now, I’ve watched the vids…and sort of have a badge done. But, at this point, have absolutely NO idea what to do with it now.

Secondly I asked for help as a newbie (with little time for play) …and you sent me to a site for creating cars…a bit like expecting a 3 month old to run like an Olympic 100m sprinter…

So if there is anyone out there who’d like to help an old fart with the next step then please feel free.

I’ve included my 3ds file just in case anyone wants to be helpful.

Rebel.zip (26.6 KB)

Well the links were for you to get a feel on modeling on 3DS, not specifically a whole car :grin:
For exporting and all of that, from Steam you can download a set of tools, its called Automation SDK, and it includes some example files and the exporter you need to transfer the 3DS file to the format automation uses.

As far as I know, and if someone knows, feel free to correct me, a badge will need basically the same data as grille, so, after you finish modeling your badge, you need to do the UV mesh. Check the video tutorials on making grilles, that should point you out how to do the UV mesh and how to export it in game.

Assuming you’re using the steam version, you’ll need to set a folder in C:\Program Files (x86)\Steam\steamapps\common\Automation\GameData\ with any name to identify your mod, something like TR8R_badge01 or something like that, then inside that folder \carparts\Badges and another folder with the name of your badge (just check …Automation\GameData\Camso to check the structure) and copy a lua file from any badge and past it in the folder, then you edit the lua file with the info of your badge. It sounds complicate, but it’s not that difficult, only hard to explain in text.

OK…final modding questions…maybe…

Here is what’s happening with my badge when I move it onto the bonnet.

It looks fine on the front…apart from the colouring (which is q2)

I have tried grouping it with the emblem in 3DS but it makes no difference.

So what am I doing wrong?

Secondly, I can’t get my head around the materials in the lua file, which is why I have the pink thing…how do I get that to be black or CF?

Here is my lua materials line…

Materials = { [0] = ECS_STANDARDMAT, [1] = ECS_CHROME, [2] = ECS_CARBONFIBRE},

Thanks in anticipation of you not telling me to piss off! :laughing:

Can anyone offer any advice? I’ve tried working through the issue myself and have ended up with the mask being pink and only available at 90 degrees (complete opposite of the above post). I’ve tried adding more materials to the lua file and still getting a shitty pink box.

The badge is basically a cylinder with an extruded image…so why should 1 piece behave differently to another when they are on in the same place???

Could you send me the 3DS and the folder files to me in a PM? I’ll take a look at it :slight_smile:

Can anyone tell me if you can only have 1 “object” in 3DS exported for badges?

Sillyworld gratiously had a look at my original project and couldn’t see what was wrong.

I made another badge, simple concave with 2 materials and it looked right (except for a line down the middle (answers on a postcard :laughing:)). I then added a star, exported it and ingame the concave bit (and surround) was pink whilst the star was the material I intended. Tried grouped objects and ungrouped. In fact it does exactly the same as my earlier post of the stormtrooper head!!!

This led me to the rationale fot the above question. So if I am limited to 1 object then I need to get creative with lines.

You can have multiple elements within the same object.

That is so insightful.

When I tried to work in your badge, when I assigned the material to the stormtrooper head (as a material ID) the game crashed when I tried to export it. So maybe there is something tricky with the material assignment.
Also, I saw a picture of a car with your badge working, how did you do that?

I started with a hexagon and then linked lots of lines to make the helmet. I was quite pleased with it, even thought it looked dog rough. :laughing: Biggest problem is that, because of complexity (i.e. lots of lines) the game slows down a lot when I move the badge after placement.

I tried changing the lua settings for the materials but it just stays as chrome and paintwork…and 3DS crashed before I could save it so will have to restart from scratch. But I have more idea now about what I’m supposed to do…kinda!

The multiple objects is bugging me… 1 object fine and more than one creates pink blobs.

What Trackpaduser has pointed out is key… you have to attach those elements to the main one (getting a unique object…,you also could make compund objects through the Create menu (compound>connect), but it could be a mess).
Do a quick search on google :slight_smile:

HUGE thanks for this info…It worked! :slight_smile:

1 Like