Game Modding | Call of Duty: Black Ops 3 | Scripting
prtyboy76:
So I have tried many things in the past to play an fx on the zombies heads but it never worked I know it must be pretty simple but any help would be appreciated
Spiki:
permanantly or at a specific time?
prtyboy76:
permanantly or at a specific time?
permanantly
Spiki:
All is done in mapname.CSC
slap this on top:
This in function main:
And this at the bottom:
!!!Add fx to zone
*didnt test*
prtyboy76:
All is done in mapname.CSC
slap this on top:
This in function main:
And this at the bottom:
!!!Add fx to zone
*didnt test*
Oh cool thank you and for the precache do i change anything with it and how do i add the fx in the zone
FrostIceforge:
Oh cool thank you and for the precache do i change anything with it and how do i add the fx in the zone
idk if you're using a custom FX or a Treyarch FX, but the built in 30x30 one might work.
To try it, make your precache line this:
When using a built in Treyarch FX, you shouldn't need to add it to zone.
If you're using your OWN FX, then in the zone do something like this:
Where your path is the series of folder names after BO3ROOT/share/raw/fx that leads to your efx file, and your_fire_fx.efx is of course the file name. Then precache like this:
And note how you don't use the .efx suffix.
prtyboy76:
idk if you're using a custom FX or a Treyarch FX, but the built in 30x30 one might work.
To try it, make your precache line this:
When using a built in Treyarch FX, you shouldn't need to add it to zone.
If you're using your OWN FX, then in the zone do something like this:
Where your path is the series of folder names after BO3ROOT/share/raw/fx that leads to your efx file, and your_fire_fx.efx is of course the file name. Then precache like this:
And note how you don't use the .efx suffix.
does the precache need to be at the top of csc and I also keep getting errors
FrostIceforge:
does the precache need to be at the top of csc and I also keep getting errors
It needs to be after your #using stuff at the top but before anything else. What kind of errors? Dump them here. We can't do anything if we don't know which errors they are.
prtyboy76:
It needs to be after your #using stuff at the top but before anything else. What kind of errors? Dump them here. We can't do anything if we don't know which errors they are.
It needs to be after your #using stuff at the top but before anything else. What kind of errors? Dump them here. We can't do anything if we don't know which errors they are.