So every next Playanimation command should “wait” for the previous one to finish, but I don’t know how. PlayAnimation(‘kyleyturnnwtoback’, false) // (turns facing north west to back) PlayAnimation(‘kyleyturnlefttonw’, false) // (turns facing left to north west) PlayAnimation(‘kyleyturnswtoleft’, false) // (turns facing south west to facing left) PlayAnimation(‘kyleyturnfronttosw’, false) // (turns facing front to facing south west) Or is there a way to set a Playanimation list? This works, but if I, for instance, want to turn in one animation sequence from facing front to back I would need 4 different lists that play after each other. PlayAnimation(‘kyleyturnfronttosw’, false) (turns facing front to facing south west) I have now renamed the first subtexture names to: It does not work (it only shows the first image)īut in this example I want to play just images 1-4. PlayAnimation(‘kyleyturn_01, kyleyturn_02, kyleyturn_03, kyleyturn_04’, false) If I try to play the first 4 images with: := ‘kyleyturn.starling-xml#fps:10,anim-naming:strict-underscore’ I also included the Iranian flag which already exists in Vanilla for comparison.I have this sprite image xml file and want to play a range of it: In conquest, also go to ConquerCountrySettings.json and copy-paste an existing line of code in whatever era you’re adding the country in, remembering to change the “CountryID” to a new value.Įnd result on the red hex (colours are added in-stage). If you're adding, then edit the "main" block as shown below, and add a country "block" at the end of all the country blocks so you can designate your country.Ī useful link here is the BTL guide so you'll know how to edit your country: /thread/9609/wc4-btl-guide If replacing an existing country, simply changing the “country” byte of the “country” block to the ID you added (in my case, 50). You'll have to scroll down a fair amount to find them.Īdding said country to your game: Compile all the files into your APK. Step 6: Go to stringtable_en.ini and add the name of your country under the country number you added. You might use US models, USSR models, etc. “Mod”: Whatever design units will have, which you can copy-paste from other countries. “Camp”: If you’re adding an axis, then 1. “Name”: Put the Chinese version of your country’s name. Note: Make sure to end your code without a comma, otherwise the game will crash. Go to CountrySettings.json and copy-paste any line of code, and make some edits. Because of the dimension ratio you can simply just scale the image down for the smaller image. Step 4: Now do the same thing in tactical maps but twice Once for flag_.png as a 52 x 54 image, and once for f_.png as a 37 x 38 image. Now find the coordinates of the UPPER LEFT CORNER (NOT CENTER) of your image and set that as the x and y values in your xml file. Step 3: Take your flag and slap it onto image_flags_hd.webp where it won’t overlap with anything else. If your picture looks grainy don't worry cause it's gonna get really shrunken down in-game Preferably you want your flag to also be a circle (cause it looks better). Just copy-paste the last line of code before the closing bracket, and change the image name to a number that hasn’t been used (You should have 48, but I have 49 cause I made another country earlier).įrom this we see that you want your flag image to be 52 x 54 in size. Step 2: Open image_flags_hd.xml and create a new country profile. I’m currently working on a Cold War mod so here I’m gonna be adding the Azerbaijan People’s Government, which existed from 1945 - 1946 during the Iran Crisis. An image editor (I use on a pc) a JSON editor (can probably do on phone) ) or a map editor (you can find two in CM’s playlist)Ħ. Stringtable_en.ini (under assets), (optionally you can include cn, ko, tw, etc.)ĥ. Image_flags_hd.webp & image_flags_hd.xml (under assets -> image)Ĥ. Countrysettings.json (under assets -> json)ģ. Tacticalmap.webp & tacticalmap.xml (under assets)Ģ. (edit: idk why link doesn't take you there so just copy-paste it)Ĭanadian Modder’s Guides: What You’ll need:ġ. I wanted to make a more visual guide by combining the existing EFC guide and Canadian Modder’s Youtube guide.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |