View unanswered posts | View active topics It is currently Sat Dec 28, 2024 1:20 am



Reply to topic  [ 6 posts ] 
 CopyOf Command from mods 
Author Message

Joined: Sat Aug 20, 2011 10:50 am
Posts: 23
Reply with quote
Post 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)


Sun May 20, 2012 9:11 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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.


Sun May 20, 2012 9:14 am
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post 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".


Sun May 20, 2012 3:22 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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.


Sun May 20, 2012 7:25 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post 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. >_>


Sun May 20, 2012 10:43 pm
Profile

Joined: Sat Aug 20, 2011 10:50 am
Posts: 23
Reply with quote
Post 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.


Mon May 21, 2012 7:46 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.081s | 13 Queries | GZIP : Off ]