Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Help with proxies
Help with proxies [message #280145] Mon, 20 August 2007 10:36 Go to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
My map has 2 AGTs and 2 Obelisks. But due to some complications, I needed to redo them many times.

Now it is at a point where I needed to replace all the original prefix names.

The buildings work fine, I got them to work in game. They show up, they can be targeted when I aim at them, but the problem is when I walk inside, the interiors aren't targetable.

They aren't apart of the structure. For example, I can aim at the wall on the outside of the AGT, and it would say "Advanced Guard Tower" But when I walk inside the structure, the only thing I can target are the PTs. The interior walls and the MCT aren't appart of the structure, so when I point my gun at them, nothings comes up. It is like I am aiming at nothing.

I figure it is because since I changed the prefixes of the exterior parts of the building, and for the building controllers, the proxies weren't changed, and are still using the original prefix (mgagd).

My question is, how do I change it so that the proxies use the correct prefixes so I can get them working in game?
Re: Help with proxies [message #280200 is a reply to message #280145] Mon, 20 August 2007 16:25 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
You will need to re-export the whole building in order to get it operational again. Changing the prefixes on buildings in not good thing to do if you don't know what they're for.

You need the source to the buildings in question, and will require the re-exportation of the building process. This includes making a new building controller since it looks for the prefix in question.

If you changed the exterior prefixes and changed the building controller prefix accordingly this is why you can't select the interior of your building. Either change them back to the originals or re-export the whole thing.

PS: This is nothing to do with the proxies, aslong as everything for the building is displayed. This is due to the fact that you changed the node name prefixes of the building.

[Updated on: Mon, 20 August 2007 16:27]

Report message to a moderator

Re: Help with proxies [message #280203 is a reply to message #280200] Mon, 20 August 2007 16:45 Go to previous messageGo to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
I can't do that. If I change them back to the way they where, then it would screw up the map again.

There are duel base defenses. If I just kept them both with the same prefixes, then everything will start acting retarded again, and I just fixed that from the last time I did that.

What if I just didn't use interior proxies? And got a model that had the interior already set up?

[Updated on: Mon, 20 August 2007 16:57]

Report message to a moderator

Re: Help with proxies [message #280206 is a reply to message #280145] Mon, 20 August 2007 17:03 Go to previous messageGo to next message
Cpo64 is currently offline  Cpo64
Messages: 1246
Registered: February 2003
Location: Powell River, B.C. Canada
Karma: 0
General (1 Star)
The prefix exists to let the game know what building control the mesh belongs too. The reason the interior is not selectable is because it still has the original mesh prefix.

The easiest way would be to replace the the mct in the secondary defence with one that has the proper prefix. This of course leave the rest of the building untargetable, however it will give the players something to mine/repair.

Or, you could go into the buildings supplied by WS and export your own interior, this wouldn't have the fancy lighting effects tho.


-->
Re: Help with proxies [message #280208 is a reply to message #280145] Mon, 20 August 2007 17:12 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
just export the.gmax for the interior and Temp the old one wth a new prefix for all meshes

example mg_ag2.w3d and all meshes have ag2 instead of agd

then set up the temp for the proxy to hit ag2

this is only needed if you have them close together, other problems you run into doing it the old way is that the lightmaps are cloned too...i just re-did this for my latest map, only takes a few mins

or do a hex edit of the interior file and find and replace all mg_agd with mg_ag2


"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

[Updated on: Mon, 20 August 2007 17:13]

Report message to a moderator

Re: Help with proxies [message #280215 is a reply to message #280208] Mon, 20 August 2007 17:45 Go to previous messageGo to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
Yes, thanks guys, I already know how the prefixes work.. or else I wouldn't of gotten as far as I did already.

But yes, thanks Titan, I will do that. Thumbs Up
Re: Help with proxies [message #280395 is a reply to message #280215] Tue, 21 August 2007 18:49 Go to previous messageGo to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
Wait a second, I just got time to do what you said to do, but thinking about it confused me.

Are you saying to export the building with the new prefixes, then temp the presets in level edit to have the new prefixes?

If that is what you mean, than I already did that. Because look at it this way, if I DIDN'T already do it, I wouldn't even be seeing the insides of the building. This is why I am so confused. I already gave the presets the new prefix names, but they still aren't targetable in game.

[Updated on: Tue, 21 August 2007 18:52]

Report message to a moderator

Re: Help with proxies [message #280436 is a reply to message #280145] Wed, 22 August 2007 05:33 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
If the prefixes are screwing with your map (i don't see how) you need to re-export the whole building again.

That is the whole building, not just the exterior. The interior, PCT's and MCT will need exporting as well and you will need to fix the proxies for the exterior mesh.

[Updated on: Wed, 22 August 2007 05:34]

Report message to a moderator

Re: Help with proxies [message #280449 is a reply to message #280436] Wed, 22 August 2007 08:22 Go to previous messageGo to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
I Thought it was the proxies, but it wasn't because I examined it and what I thought was wrong was really correct.

And I have tried re-exporting the entire building over and over again. I am really stumped with this one.
Re: Help with proxies [message #280458 is a reply to message #280449] Wed, 22 August 2007 10:15 Go to previous message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
Here, just in case I am not being clear enough with my problem, here are some visuals!
Buildings in gmax:
http://i27.photobucket.com/albums/c175/r315razor/maping%20updates/Epocilation/Pref1.jpg
Notice he new prefixes.
EDIT: Damn, it is too small to see <_<
Well anyway, it shows the prefixes as "mgagw" and "mgagr"

Level Edit presets 1:
http://i27.photobucket.com/albums/c175/r315razor/maping%20updates/Epocilation/Pref2.jpg
Presets 2:
http://i27.photobucket.com/albums/c175/r315razor/maping%20updates/Epocilation/Pref3.jpg

See how they match up with the prefixes that I made in gmax.

Video of what happens in Renegade. (Sorry the video desycned, the video sped up, but the audio remained the same.. don't know why)
http://i27.photobucket.com/albums/c175/r315razor/maping%20updates/Epocilation/th_game22007-08-2212-55-28-45.jpg

Notice how I can target the outside of the AGTs but not the insides, or the MCT. (Also, I just realized there wasn't a PT in that spot.. lol)

[Updated on: Wed, 22 August 2007 10:16]

Report message to a moderator

Previous Topic: M00_Tutorial.lvl problems
Next Topic: Long time, no see...
Goto Forum:
  


Current Time: Wed Nov 06 10:23:55 MST 2024

Total time taken to generate the page: 0.01241 seconds