Nous sommes le 20 Avr 2024, 02:42


Online     TeamSpeak UT99     UnrealTournament-V3     Download     Utfiles medor     Vote Weborama     Vote Unrealtop200     Vote xtremetop100     free TeamSpeak     Unreal Soundtracks     Google    Mini-Chat Mini-Chat

Poster un nouveau sujet Répondre au sujet  [ 1 message ] 
 Nouveau UEditor_Developing pskhack-src 
Auteur Message
Administrateur
Avatar de l’utilisateur

Inscription: 01 Oct 2008, 01:14
Messages: 5598
Nouveau message Nouveau UEditor_Developing pskhack-src
Ce tutoriel explique comment configurer polygon flags pour skeletal models.

Citation:
Hello everybody

Before nowadays, i didnt heard about any stuff that will able modellers to edit poly flags for skeletal meshes, as for example, UnrealFX allowed to do with LOD meshes. Sure, there are few ways available, yes, - for example by giving specifical names to materials before export to .psk. But, as i heard, that worked fine mostly for 3DS users (famous ActorX exporter, supported by Epic).

I making models with Blender, so this way is not my way - Blender doesnt supports such stuff much (as was found during experiments). And really, i did not checked this way for Blender deeper - because plugin that allows export to psk from blender is a real nightmare to set it correctly imo.
I digged deeper into this problem and finally found result that WORKS. Tested it recently.

Zip file with stuff attached.

This tutorial describes how to set polygon flags for skeletal models

INSTRUCTIONS

* Decide which flags apply to which materials. The flags must apply to a whole material, at the moment (so you could have Skin00 translucent, Skin01 two-sided, Skin02 masked and Skin03 normal, if you wanted).

* Obtain a C compiler. It used to work with MinGW; try http://mingw.sourceforge.net/download.shtml (I think MSYS-1.0.9.exe is the right one).

* Put the exported PSK and the pskhack files somewhere on the same drive you installed MinGW on (MinGW is a Windows port of Unix tools which assume you only have one filesystem root, but Windows has one filesystem root per drive).

* Obtain a usable text-editor. If all else fails, you have Notepad.

* Edit pskhack.c (look for the big comment that says "HACK ME", my editor says it's line 233) to do whatever particular bit of tweaking you're after. For instance, the version in the zipfile sets Skin02 to be masked and Skin01 to be two-sided. The POLY_whatever constants are listed at the top of pskhack.h, and if you're lucky, they might even be correct.

* Open a command prompt (or a DOS prompt, if still using Win9x like me) and cd to the directory with pskhack and the PSK in.

* Compile the executable with: gcc pskhack.c -o pskhack.exe (you may need to add the MinGW "bin" directory to your PATH, or invoke gcc as \mingw\bin\gcc instead of just gcc, or something like that).

* Run the executable: pskhack.exe myfile.psk

* If all goes well, your modified PSK file is in hacked_myfile.psk. Compile into UT and test as usual.

Only two cons for this method - it needs minimum knowledge of programming (but it is really more easy than sounds), and second one that polygon flags can be changed only per material, assigned to some group of vertices (UnrealFX allows that to separate polygons, not depending on materials). But those cons are really nothing in cause of new possibilities :mrgreen:

Will be good i think, if someone expirenced in native C++ programming will take a look at source codes and somehow improve stuff if it is possible - add GUI for example, model/material viewers and so, to make usage of things more easy for those who are not such expirenced in programming.




Téléchargement

http://unrealtournament.99.free.fr/utfi ... ck-src.zip

_________________
UT99 files
Image
Image
Image
Image
Image
Image
Image


19 Mar 2014, 15:52
Profil Envoyer un e-mail
Afficher les messages postés depuis:  Trier par  
Poster un nouveau sujet Répondre au sujet  [ 1 message ] 


Qui est en ligne

Utilisateurs enregistrés : Aucun utilisateur enregistré


Vous ne pouvez pas poster de nouveaux sujets
Vous ne pouvez pas répondre aux sujets
Vous ne pouvez pas éditer vos messages
Vous ne pouvez pas supprimer vos messages
Vous ne pouvez pas joindre des fichiers

Rechercher:
Aller à:  
cron
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.
Traduction par: phpBB-fr.com