Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Adding Characters in Mission
Adding Characters in Mission [message #440804] Sun, 05 December 2010 06:14 Go to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
Hello, I've been working on a map for a while. In this map there is a crashed UFO and NOD is getting technology out of the UFO. They are experimenting with it on their soldiers. I've downloaded some W3D skins from this site (The Convonent characters):
http://www.renegadeforums.com/index.php?t=msg&goto=248490&rid=0

I want to have whole new Characters. But when I place these W3D files in the Renegade Data Folder, some of the original units like the NOD Flamethrower will be replaced.
This is because the name of these W3D files are the same as the name of the original characters. When changing these names, the game won't be able to load them. Even when I place these W3D files in the data folder it won't work.

How can I add these as new characters to level editor and after that play the map itself with these characters without crashing the game?

Kind regards,
Sauron

[Updated on: Sun, 05 December 2010 07:45]

Report message to a moderator

Re: Adding Characters in Mission [message #440862 is a reply to message #440804] Sun, 05 December 2010 17:47 Go to previous messageGo to next message
Altzan is currently offline  Altzan
Messages: 1586
Registered: September 2008
Location: Tennessee
Karma: 0
General (1 Star)
I'm no good with characters...

It's either the bones/meshes need renaming or just the W3D needs renaming. I honestly don't have any other ideas Huh


I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
Re: Adding Characters in Mission [message #440873 is a reply to message #440862] Mon, 06 December 2010 00:26 Go to previous messageGo to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
I've renamed everything.. I've made a scriptzone which causes you to change into that character. Normally it just works fine, but now the game just crashes...
Re: Adding Characters in Mission [message #440938 is a reply to message #440873] Mon, 06 December 2010 12:20 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
sauron--the--king wrote on Mon, 06 December 2010 00:26

I've renamed everything.. I've made a scriptzone which causes you to change into that character. Normally it just works fine, but now the game just crashes...

What do you mean by you renamed "everything" did you rename any 3D models?


Re: Adding Characters in Mission [message #440951 is a reply to message #440938] Mon, 06 December 2010 13:16 Go to previous messageGo to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
I've renamed the W3D models and renamed the skins of the new characters I added (4 in total).
If I don't rename the W3D models, they will have the samen names as existing models. For example:
I've renamed "c_ag_nod_stlth" to "c_ag_nod_Alien_Heavy_Trooper". If I don't change this name and place this file in the renegade data folder, all of the Stealth Black hands will change into this character. Because the Stealth black hand is normally like this.

[Updated on: Mon, 06 December 2010 13:17]

Report message to a moderator

Re: Adding Characters in Mission [message #441039 is a reply to message #440951] Tue, 07 December 2010 12:32 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
sauron--the--king wrote on Mon, 06 December 2010 13:16

I've renamed the W3D models and renamed the skins of the new characters I added (4 in total).
If I don't rename the W3D models, they will have the samen names as existing models. For example:
I've renamed "c_ag_nod_stlth" to "c_ag_nod_Alien_Heavy_Trooper". If I don't change this name and place this file in the renegade data folder, all of the Stealth Black hands will change into this character. Because the Stealth black hand is normally like this.

Two issues there:
1. When you rename a w3d file it doesn't rename the contents of the file to match, thus when level editor goes to load it it can't find it.
2. The name of w3d files can't exceed 16 chars (might be 15, I'd have to check and can't right now). When you export a w3d model the name inside the file is truncated at this limit. This causes the names not to match and then you have the same issue as 1 (IE, le crashes because it can't load the model).


Re: Adding Characters in Mission [message #441238 is a reply to message #440804] Thu, 09 December 2010 16:10 Go to previous messageGo to next message
sauron--the--king is currently offline  sauron--the--king
Messages: 64
Registered: November 2008
Location: Holland
Karma: 0
Recruit
Really nice help Jerad2142  [img=images/smiley_icons/bigups.gif]Big Ups[/img]
When I renamed the file, the contect of the W3D file wasn't the same as the name, which caused it not to load the right one. I've used XVI32 to replace ALL the "c_ag_nod_stlth" to "c_ag_nod_AHT" (alien heavy trooper). After replacing every little "stlth" in the file, I placed it into the renegade folder and the level edit folder. I gave the unit an ingame new name, so now it is a whole new unit for inside the game. Thanks again!

[Updated on: Sat, 20 January 2024 13:57] by Moderator

Report message to a moderator

Re: Adding Characters in Mission [message #441240 is a reply to message #441238] Thu, 09 December 2010 17:01 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
sauron--the--king wrote on Thu, 09 December 2010 16:10
Really nice help Jerad2142  [img=images/smiley_icons/bigups.gif]Big Ups[/img]
When I renamed the file, the contect of the W3D file wasn't the same as the name, which caused it not to load the right one. I've used XVI32 to replace ALL the "c_ag_nod_stlth" to "c_ag_nod_AHT" (alien heavy trooper). After replacing every little "stlth" in the file, I placed it into the renegade folder and the level edit folder. I gave the unit an ingame new name, so now it is a whole new unit for inside the game. Thanks again!
Just for future reference, (if you didn't already guess) you have to make sure that the name is the same length as the original name when you rename it with XVI32 (or any hex editor for that matter) or else it'll break the file.

But your welcome  [img=images/smiley_icons/thumbup.gif]Thumbs Up[/img]


[Updated on: Sat, 20 January 2024 13:57]

Report message to a moderator

Previous Topic: Making own MOD
Next Topic: W3D Building Files???
Goto Forum:
  


Current Time: Mon Dec 02 20:57:59 MST 2024

Total time taken to generate the page: 0.00782 seconds