andersgrim 0 Posted January 8, 2005 I have compiled my RFSys, a quite easy combination of config, scripts and model, which can be implented into your addons so you can use custom faces (for instance camouflaged faces) with your addon. Please note this is not a complete addon. An example , 'myFace.pbo', is included in the package to show off the possibilities of the scripts. In addition to the included script where only custom faces are applied, you may, for instance, use this to apply corresponding face/arm textures for rolled-up sleeves and so on... If you want to edit the system and implent it into your addon, you will have to unPbo 'myFace.pbo' or download the unpacked version. The scripts are using the "animate" and "animationPhase" commands, and will not work with OFP < v1.75. To explain the process, I'll quote a part of the readme.txt Quote[/b] ]####    Description The progress of the system can be described as follows: 1. A unit executes a script at missionstart, using the "Init" eventhandler. This is defined in the config.cpp. 2. The script generates a random number (between 0 and 10 in this example). 3. The script applies a face to the "face" selection on the model, the specific face depending on the random number generated above. 4. The script then rotates a small axis ("faceaxis") in the model, with a rotationvalue depenging on the random number. When the unit is killed in the game: 6. The unit executes another script using the "Killed" eventhandler. 7. Depending on the rotationvalue of the model, the script applies the correct wound texture. ####    Usage In order for your to integrate this system to your addon, you will have to modify: 1.The model.  a) You have to make sure all the faces belong to the "face" selection.  b) A point must be included in all the LODs where the texture is going to be randomly applied. This point must belong to the "faceaxis" selection.  c) The selection of textures you want the model to randomly pick from must ALL be applied to the model. One face per texture should be enough. This to prevent blurred faces.  d) I would recommend you to change the modelname to one of your own choice. NOTE:When you change this name, you have to update the CfgModels part of the config. 2.The rfsys_dead.sqs and rfsys_face.sqs scripts  a) Change all the texture entries with your choice of textures. If you want to, you may use the textures that comes with this example file, located in the 'F' folder.  b) Add or remove texture entries to fit with your desired amount. I am not aware of the maximumlimit, but I would stop at 0.99.  c) Increase/decrease the random values to fit with your amount of entries. 3.The config  a) Change all names to whatever you desire  b) Remember to update the paths so they point to your addon folder. If your addon is called addon1.pbo, the path will be \addon1\ More is explained in the readme.txt - make sure you read through it. Documentation - readme.txt - My Website Download - RFSys.zip - 1.14 MB - RFSys.rar - 1.10 MB - RFSys_unpacked.zip - 1.04 MB - RFSys_unpacked.rar - 1.00 MB My server can't handle too much traffic. A mirror would be greatly accepted  Share this post Link to post Share on other sites
MiG 0 Posted January 8, 2005 This seems real cool , downloading Share this post Link to post Share on other sites
MiG 0 Posted January 8, 2005 yeah, that's real cool! I've used similar system in my vampire addon and in unsung vietcong faces, but yours is more complete and simple to use Keep the good work andersgrim Temporay Mirror: blackdog~hosting Share this post Link to post Share on other sites
Sgt_Eversmann 1 Posted January 8, 2005 cool, too bad that I'm too stupid to work with o2 greets to you anders Share this post Link to post Share on other sites
Tomislav 0 Posted January 8, 2005 it sounds really nice, but as i can't handle o2 quite well, some parts of your readme could be written in chinese for me, and i'd still understand the same. Share this post Link to post Share on other sites
Silent N Deadly 0 Posted January 8, 2005 OFP.info mirror: Mirror 1 Mirror 2 Share this post Link to post Share on other sites
andersgrim 0 Posted January 8, 2005 It does not really require a lot of Oxygen modelling, though the small O2 part is probably the most important point of the whole thing. Maybe I should make the O2 part a bit clearer, but I thought most of the addonmakers taking advantage of this script know enough to figure out that part themselves Dont hesitate asking if you've got any problems! And thanks a lot for the mirrors Share this post Link to post Share on other sites
andersgrim 0 Posted January 9, 2005 I have got several questions on what this really is, and to put it the simple way - it is an addon with camouflaged faces which people are free to edit and use for their own addons. Hope atleast that made sense Share this post Link to post Share on other sites