Data Realms Fan Forums http://45.55.195.193/ |
|
CopyOf Command from mods http://45.55.195.193/viewtopic.php?f=1&t=31012 |
Page 1 of 1 |
Author: | Megaloptus [ Sun May 20, 2012 9:11 am ] |
Post subject: | CopyOf Command from mods |
Hello, I have run into a problem when trying to make a mod that adds pre-equipped soldiers to the game. I have done this successfully for coalition units and weapons but that was all that worked. I've tried to make an MDC General Purpose Trooper already equipped with an MDC Assault Rifle, and the error I get is this: I loaded my .rte file last by adding a bunch of Z's to the name, so I am puzzled on why it says that that item hasn't been defined when the MDC.rte folder clearly loads before mine is loaded. Another question is when using the CopyOf command, does one must use the name in the "PresetName" line in order for it to work? Or am I just missing something here? Thank you for any help given! (Btw, this is a personal mod which I will not redistribute. Just to be safe in case I get in trouble for using someone's content in my own) |
Author: | Asklar [ Sun May 20, 2012 9:14 am ] |
Post subject: | Re: CopyOf Command from mods |
You've got to use the exact PresetName of the thing you want to copy. Just copy and paste it. |
Author: | Gotcha! [ Sun May 20, 2012 3:22 pm ] |
Post subject: | Re: CopyOf Command from mods |
You'll need to include the mod name as well as the presetname in your copyof. Like "Thatmod.rte/Big Boomstick", not just "Big Boomstick". |
Author: | Asklar [ Sun May 20, 2012 7:25 pm ] |
Post subject: | Re: CopyOf Command from mods |
I'm not sure if that is strictly necessary. Most mods use CopyOfs of things of base.rte without including that. I think that specifying the module is for when multiple things have the same name in different .rtes. But I could be wrong. |
Author: | Gotcha! [ Sun May 20, 2012 10:43 pm ] |
Post subject: | Re: CopyOf Command from mods |
It is indeed not needed for any vanilla content. Vanilla references are being preloaded in the exe or something. Someone else might be able to explain this better. >_> |
Author: | Megaloptus [ Mon May 21, 2012 7:46 am ] |
Post subject: | Re: CopyOf Command from mods |
Asklar wrote: You've got to use the exact PresetName of the thing you want to copy. Just copy and paste it. I obviously know that bit, it wasn't recognizing the exact name even though the .rte it's from loads before it. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |