PFX files in /ANIMS/_COMPILED folder not *playing* 6603 11

O temacie

Autor Vic7im

Zaczęty 30.01.2015 roku

Wyświetleń 6603

Odpowiedzi 11

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
Hey there everyone

I've modified some animations lately and stumbled upon some interesting things. Sometimes, pfx's are called by the game during animations.

The fact is, everytime I try to add something else (new pfx's for example) they don't work. I've also noticed that Vanilla G2 used to have LOTS of particle effects associated with animations, which simply don't work anymore (remember back in G2 classic when you killed a demon it spurted out blue/red flames from his body? Well, I can't make that work in NOTR, even though the pfx IS called in the animation file)

Here's an example:

https://www.youtube.com/watch?v=oxS_-saH8jY
#t=6m50s

Gothic 1, once you kill the zombie that blue stuff comes out of him.

Gothic 2, zombie.mds:
// ---------------------------------------------------------------------------------------------------------------
// DIE
ani ("t_Dead" 1 "s_Dead" 0.1 0.0 M. "Zom_Dead_A01.asc" F 1 109 FPS:15)
{
*eventSFX (1 "ZOM_DIE" EMPTY_SLOT )
    *eventPFX (1 1 "MFX_DESTROYUNDEAD_SOUL_BACK" "BIP01 SPINE2" ATTACH )
    *eventPFX (10 2 "MFX_DESTROYUNDEAD_SOUL_CLOUD" "BIP01 L Hand" ATTACH )
*eventPFX (15 3 "MFX_DESTROYUNDEAD_SOUL_CLOUD" "BIP01 R Hand" ATTACH )
*eventPFX (20 4 "MFX_DESTROYUNDEAD_SOUL_CLOUD" "BIP01 L Foot" ATTACH )
*eventPFX (25 5 "MFX_DESTROYUNDEAD_SOUL_CLOUD" "BIP01 R Foot" ATTACH )
*eventPFX (30 6 "MFX_DESTROYUNDEAD_SOUL_CLOUD" "BIP01 Head" ATTACH )
*eventPFX (35 7 "MFX_DESTROYUNDEAD_SOUL_CLOUD" "BIP01 L UpperArm" ATTACH )
*eventSFX (33 "M_FALL_SMALL" EMPTY_SLOT )
*eventPFX (40 8 "MFX_DESTROYUNDEAD_SOUL_CLOUD" "BIP01 R UpperArm" ATTACH )
*eventPFX (45 9 "MFX_DESTROYUNDEAD_SOUL_CLOUD" "BIP01" ATTACH )
}


ani ("s_Dead" 1 "s_Dead" 0.0 0.0 M. "Zom_Dead_A01.asc" F 110 110)

*same for DeadB

NOTHING HAPPENS.

Am I missing something here? Is that an engine thing or a bug I'm having? I'd love to add different pfx's to make the game well, visually better-looking, but everytime I try to change values or insert pfx's they simply won't work.

I've also noticed that the "compiled" version of the .mds is the .msb file in _compiled. Is that possible that the game looks for the compiled version FIRST then, if not found, looks for the .msb?

And if that's  the case, will the engine look for the .msb in MY modification file OR in the vanilla folders?

Thank you in advance and goodnight

Vic7im \o
 


chicken

chicken

RaveN Studio
posty1230
Propsy559
ProfesjaNierób
  • RaveN Studio

chicken
RaveN Studio

PFX files in /ANIMS/_COMPILED folder not *playing*
#2 2015-01-31, 10:21(Ostatnia zmiana: 2015-01-31, 10:49)
You have to delete compiled files of the .mds after every changes.

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
I'm pretty sure that it was working for me. Animation pfx'es are not working only in your animations, or even in original ones?

I've reinstalled the game and they do play now, at least without any mods installed. I'll try what chicken said

Oh and, quick question. Is there any way to speed up animations? I've tried with SPD: but it causes a crash every time it plays said animation.
 

Sawik

Sawik

Moderator działu
Rebel
posty4772
Propsy3197
ProfesjaNierób
  • Moderator działu
  • Rebel
If everything else fails, just do it manually, import them to 3D program (personal recommendation - Blender 3D) and just "scale" frames. 
 
Życzę wam seksu analnego po stronie biernej.
Dropbox +500 mb na start
LowPoly
Wykonanie modelu niskopoligonowego to sztuka kompromisu. Nie jest to jedynie uproszczenie modelu wysokopoligonowego, ale głęboka modyfikacja oraz podejmowanie decyzji często zmieniających wygląd pierwotny obiektu, tak by przy najmniejszej ilości trójkątów uzyskać jak najwierniej odwzorowany kształt oryginału. Nie można też zapomnieć o tym iż musi nadal wyglądać przekonywająco i tak balansować by uzyskać efekt optymalny.

Podstawowym założeniem jest, że model nie powinien mieć zbędnych, niewidocznych dla gracza detali włączonych w geometrie. Większość obiektów jakie znajdują się w grze powinna prezentować się najlepiej z odległości około 3-5 metrów. Wszelkie detale, które zanikają, wydają się płaskie lub zlewają się z bryłą modelu należy uznać za zbędne i pozostawić je na normal mapie.

Fakt, iż gracz będzie w stanie podejść bliżej do obiektu i zobaczyć go z mniejszej niż 3m odległości nie powinno stanowić większego problemu, gdyż większą rolę odgrywają wtedy tekstury oraz dodatkowy detal zależny od materiału obiektu. To właśnie kompromis między wydajnością, a szczegółowością otoczenia.

Detal, którego nie widać z 3-5 metrów nie powinnien istnieć w geometrii modelu.
Krawędzie znajdujące się blisko siebie, które zlewają się z większej odległości należy uprościć do wspólnej płaszczyzny

chicken

chicken

RaveN Studio
posty1230
Propsy559
ProfesjaNierób
  • RaveN Studio
FPS: 
no SPD :P

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy

Post połączony: 2015-02-01, 10:36
Ok, it's far more complicated than I expected. Forget about what I wrote earlier

I've made another reinstall of G2, isntalled the mdk to decompile all the vdfs. Ran the game, pfx happened.

I put my mod in the folder, just some things change, others don't (world textures do, but armors don't change accordingly to my scripts) and particle effects work just fine.

So I've decided to take my mod files and include them in the _work folder, everything works, except that Ikarus scripts aren't called. Then I started the game via starter and asked him to compile the scripts, and magically pfx don't work, but Ikarus scripts now do.

Basically, I'm back to square one. Any thoughts on what could cause this? I deleted my modded pfx and vfx so they *should* be the vanilla ones, but for some reasons pfx won't work :\

Post połączony: 2015-02-01, 10:49
Edited previous post
 

chicken

chicken

RaveN Studio
posty1230
Propsy559
ProfesjaNierób
  • RaveN Studio
Cytuj
except that Ikarus scripts aren't called
Which scripts?
Cytuj
Then I started the game via starter and asked him to compile the scripts, and magically pfx don't work, but Ikarus scripts now do.
Also check the box "vdfs compile first" or something like that.

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
Cytuj
except that Ikarus scripts aren't called
Which scripts?
Cytuj
Then I started the game via starter and asked him to compile the scripts, and magically pfx don't work, but Ikarus scripts now do.
Also check the box "vdfs compile first" or something like that.

The whole package, that and LeGo scripts. I've tried checking "VDFS: HD FIRST" (???) in the gothicstarter_mod exe (the last option at the bottom) but it still doesn't work.
 

inż. Avallach

inż. Avallach

Administrator
posty7661
Propsy5239
NagrodyV
ProfesjaProgramista
  • Administrator
It's normal that replacing original scripts with yours hadn't any effect - as I understand, you just replaced the *sources*, not the compiled packages which are used by game engine. Only when you compiled the scripts, original ones were really replaced by yours and that was most probably the cause of problem.

First of all, try to replace all the scripts in package "system" with original ones, recompile, and check the pfx'es. If that doesn't help, replace all the scripts with original ones and try again. I guess that it will help. Then you will need to manually re-add your scripts in some groups and check when pfx'es stop to work. My guess is that you messed up with Ikarus, so at first try to add everything except scripts using it.

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
It's normal that replacing original scripts with yours hadn't any effect - as I understand, you just replaced the *sources*, not the compiled packages which are used by game engine. Only when you compiled the scripts, original ones were really replaced by yours and that was most probably the cause of problem.

First of all, try to replace all the scripts in package "system" with original ones, recompile, and check the pfx'es. If that doesn't help, replace all the scripts with original ones and try again. I guess that it will help. Then you will need to manually re-add your scripts in some groups and check when pfx'es stop to work. My guess is that you messed up with Ikarus, so at first try to add everything except scripts using it.

Yes, that's exactly what I had in mind. I'll let you know, thanks!
 

Vic7im

Vic7im

Użytkownicy
posty84
Propsy92
Profesjabrak
  • Użytkownicy
Okay, more randomness happened.

I've loaded the game via gothicstarter_mod.exe with the vanilla files, and the pfx aren't playing. 
I start the game with the normal exe (GothicII.exe) and they work.

LOL. I think I've figured it out. It's the *drumroll* WINDOWED MODE.
If the game runs without the windowed mode the pfx work, if it doesn't they won't. Just tried with the normal game. X°D

What the fuck is wrong with this game??? =_=
 


0 użytkowników i 1 Gość przegląda ten wątek.
0 użytkowników
Do góry