-
Spray (flat model)
Hello Developers,
I'm interested about "spray idea" for my new server. I think, I just need flat model and image for it, then just spawn model by script.
1.Is It possible?
2.Is there anyother way?
3.Have anyone flat model, or can someone do it for me(i think it dont take much time - I am not modeler btw).
Thanks, RobsoN.
-
Such a xmodel wouldn't "bend" over edges, so i would prefer you use fx-effect (like blood).
-
But for FX i need xmodel? Or only texture image?
Thanks for reply kung foo man .
-
You need one .efx-file for every logo and then execute it with playfx(). I've never did it myself, just can tell you how it should work technically.
(There is a thanks-button below each post ;D)
-
The problem is - how build fx. Im not good at that.
-
You need to install CoD2 Mod Tools, then you find CoD2_EffectsEd.exe in /bin/-folder of your CoD2-Installation.
How you can start:
- load blood.efx from some gore-mod into CoD2_EffectsEd.exe
- change some settings till its fitting (e.g. decrease shaders to only 1 - your later logo)
- swap the shader to your logo
- call the generated .efx with playfx() where you need it
PHP Code:
playfx( <effect id >, <position of effect>, <forward vector>, <up vector> )
You might not be good at that, but you grow with your problems. Just keep trying, learning by doing.
-
I don't know why but the effect is rotating of player's eye.http://www.youtube.com/watch?v=geXxw...ature=youtu.be
-
For me it looks like a HUD, can you upload your test.iwd, so ppl can test?
-
1 Attachment(s)
Ofc,
fx spawn code:
PHP Code:
self playFx(level.robsonTestEffect, self.origin);
fx precache:
PHP Code:
level.robsonTestEffect = loadfx("fx/robson.efx");
-
i told you on xf about the 2 vectors and to read the docs on the playfx function.
Please do so.
Please also note the 2 vectors i talked about. They might be a tiny bit important when i notice them (twice)!