Uhm, yeah, as long as you have the shp file, which should be on the ra1 mixes? idk. Your question is so open that I can't give you many details, so here it goes. you migh want to get notepad++ for this.
Go to the ORA game folder -> mods -> ra -> rules -> infantry.yaml and clone the code of a rifleman and change it's header name to the shp you want to use. Assuming that the file is in the red alert mixes, you need only to change the unit header to the name of the shp file, in case it were a custom shp, place the file on the "bits" folder of the mod. You can use the asset browser (an ingame tool) to search for the name of the file. once you got it, write it in caps on the header. After that you need to make a sequence for it, that code is in: Openra game folder -> mods -> ra -> sequence -> infantry.yaml.
For the sequence, you might want to clone the riflemen's code aswell to have a template, rename the header again to match the code name on the rules yaml and then start editing the data of said sequence to match your unit. If you did all that correctly, the unit should work graphically ingame and you can tinker it's stats afterwards, good luck. I'll probably be able to answer any doubts if you have. _________________
Creator of Shattered Paradise .
ORA Discord https://discordapp.com/invite/tuhp9m6 , SP Discord https://discord.gg/hk428Wk QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri Feb 05, 2016 8:06 am Post subject:
The sequence is, but since it was unbuildable in the original game, it doesn't have a cameo and still requires custom rules. (There is a cameo floating on the interwebs based on A Path Beyond's though.)
So yeah, use the GNRL unit as a start. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri Feb 05, 2016 8:11 am Post subject:
Yeah, that's the problematic APB cameo. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Uhm, try using temperat.pal, the yamls tell me they use that palette for the chrome pal (and chrome is the ingame name for the cameo palette), if you're not sure about it, go to rules -> palette and search for chrome. _________________
Creator of Shattered Paradise .
ORA Discord https://discordapp.com/invite/tuhp9m6 , SP Discord https://discord.gg/hk428Wk QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Thu Feb 11, 2016 5:38 pm Post subject:
By default OpenRA uses the palette entry named "cameo" in palettes.yaml. You can override that via specifying Buildable: IconPalette on a per-actor basis (coded by yours truly due to his overreliance in Ares PCX cameos back in the day) _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
1) Check what palette the mod uses. Rules -> palette.yaml -> Chrome
2) Create a cameo with that palette.
3) Add that cameo into the bits folder and set the unit to use it in its sequence.
or
1) Create a cameo using a custom palette.
2) add the cameo file and palette into the bits folder.
3) set up the new palette in palette.yaml, that means to copy this code but use a different instance, like @volkov instead of @chrome
The icon for Volkov that I want shows correctly in the asset browser when I put the setting on Terrain but using the other settings it's all messed up and inverted.
I have the Volkov cameo I want and it's from DTA. Looking at your first option. Is there a way to turn the cameo into the Chrome palette, like conversion or something? QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sun Feb 14, 2016 8:45 am Post subject:
1) Go through DTA files and find cameo.pal.
2) Copy this cameo.pal into a new folder.
3) Rename it to say dtacameo.pal
4) Move this file to your mod's folder.
5) Open your mod's rules/palettes.yaml
6) Create the following entry:
7) Go to your Volkov unit and expand the existing Buildable trait with the below:
Code:
Buildable:
IconPalette: dtacameo
???
9) PROFIT!!!!
10) Get a brain.
On a second thought if it works with terrain, then you only need step 5 and 7 but place the terrain's palette name inplace of dtacameo - which you should look up during step 5.
Seriously what is hard to understand on a tag which is named IconPalette?! _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum