View Full Version : pickup scripts understanding
05-29-2005, 09:28 PM
I have been looking through the scripts for unreal and I have noticed there are 2 folders for pickups classes. XPickups and XPickups_rc. I noticed that in the rc classes, it linked to the pickup classes in the other folder but it called up the model and texture(s) for the pickup.
I want to make some kind of steroid pickup that gives you tons of adrenaline but lowers your health. I can create the mesh and texture in Maya. However when I do the coding, do I create an rc script to call up the content, and the actual pickup class script that lists the attributes of the pickup?
05-29-2005, 11:29 PM
the _RC files are basiclaly .u's that have the meshes and textures compiled into them (instead of compiling them into the normal .u, or having them as seperate .utx/usx files). This is probably to reduce file size on files more likely to be updated via patches
Feel perfectly safe ignoreing these files, and having your meshes/texture in seperate packages, or compiled into your .u
05-31-2005, 04:47 AM
Those are DE packages (I believe, most packages with "x" in them are DE work), and they are much "different" than epic. the _rc is a C++ thing, and probably comes from the programmers habbits in other languages. Dont adopt them. ;)
How does one compile textures and/or meshes into a .u?
05-31-2005, 03:29 PM
Using the #EXEC OBJ IMPORT commandlet, heh.
Does that save the mesh inside the .u so it does not have to be placed in the Animations/StaticMeshes folder, or does it just load the mesh when the package is loaded?
06-01-2005, 03:20 AM
When you IMPORT it saves it inside of the .u file (you can verify this by opening the .u file in the static mesh browser).
Thanks! Gotta experiment with that sometime. So much to learn, so little time...
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.