Call to Arms

Call to Arms

Call to Arms - Workshop
The place to find custom maps, missions and mods for Call to Arms! Do you want to contribute? Check out the installation folder of your game and browse the mods subfolder for tools and documentations.
Delta6NKVD 4 Oct, 2020 @ 1:00am
My Mod - Will not work
I can't figure out why my mod will not work. I have come up with a few possibilities and was wondering if one of you guys could help me out.

1. Is the folder in my mod folder supposed to be called "resources" with an 's' or "resource" without an 's'. The tutorial here specifies it needs and 's'. See here:

"Unzip the PAK files into a folder called "resources". (More details on folder structure here)
IMPORTANT: Do NOT create your own subfolder names under "resources" (e.g. "gamelogic"). The PAK files should be unzipped as they are without creating any extra top-level folders. If files are not in correct folders, the game tends to ignore them."

https://calltoarms.fandom.com/wiki/Modding/Basics

The tutorial uses the 's' repeatedly but the folder in the call to arms folder where you get the default information from is called "resource".

2. Should I have an 'entity' folder inside another 'entity' folder?

What is the easiest change I can made to confirm my mod is working as soon as I start a game? I know so little about modding that the few changes I have made are changing that require me to play for quite some time before I can confirm the mod is working (or not)
< >
Showing 1-7 of 7 comments
hikip922 6 4 Oct, 2020 @ 1:24am 
1. No don't put an s after resource not sure why it says that.
2. The .pak files don't need a folder in their name. For example if you want to add the m1a2 to your mod it should be layed out like this: "resource/entity/-vehicle/usa/m1a2_abrams".
I'd recommend looking at some existing mods to see how the folders are layed out.
Delta6NKVD 4 Oct, 2020 @ 1:51am 
Okay, any idea why when I remove the 's' from resource that I get an error every time I try to load a new game - something along the lines of:

Program will be terminated.
APP_ERROR: File not found -
resource/entity/entity/construction/military/sandbags_big/sandbags_big.mdl (elORepository.cpp:374)

and then it just goes on and on with a bunch of random stuff.

Also, despite the fact that I have mods, I can only find my own mod... so I cannot look at their file lay out.

I assumed when you said "don't need a folder in their name" that you meant it was fine if I chose to leave the file under 'entity'.

EDIT 1: Could the problem be that I have to copy all files over to my mod file? At the moment I have just copied files that I want to edit. There is no "contruction" folder in my mod because I did not want to edit anything in that file...

I am so used to modding other games. Like Generals Zero Hour where you just had to put the files you were editing in the mod folder and that was enough.
Last edited by Delta6NKVD; 4 Oct, 2020 @ 1:57am
hikip922 6 4 Oct, 2020 @ 2:53am 
The error is being caused because you have entity written twice which isn't needed. Subscribed mods are in this folder "Steam install location/steamapps/workshop/content/302670"
You only have to add the files you want to edit so any folders or files you don't want to edit anything in don't need to be in the mod.
Hopefully this helps.
Delta6NKVD 4 Oct, 2020 @ 3:06am 
It helps! My mod is working! Thanks, really appreciate your help.
hikip922 6 4 Oct, 2020 @ 3:18am 
No problem :)!
Originally posted by Delta6NKVD:
It helps! My mod is working! Thanks, really appreciate your help.

Fun fact about the crashes. If you read them carefully, you will see a little << pointing off to one portion of the line it gives. THAT is around where your error is. Read those crashes, they do hold the answer. Of course, there are the times where it flatly crashes without any error and then you better remember the last thing you did and where you probably fked up.

Some other things about those Crashes. If you get "End of SDL file expected" that means it wants a { } or () somewhere in the file, it will, again, kinda point towards where the potential error is. Sometime it doesnt want a { } or a ( ) and you put one where it doesnt want it.

And you absolutely can create your own sub folders, so long as they coincide with the file structure that the game uses. Its how I made my mod. I made the resource folder and every subfolder after it. I dont tend to use extract to, it leads to errors, I prefer to put my stuff in manually, then I can better keep track of what is going on.
Delta6NKVD 7 Oct, 2020 @ 12:42am 
Thanks. All of this is helpful.
< >
Showing 1-7 of 7 comments
Per page: 1530 50