UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Play Loop FX

broken avatar :(
Created 9 years ago
by Linoxet
0 Members and 1 Guest are viewing this topic.
3,125 views
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 10 December 2013
Last active: 3 years ago
Posts
159
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Linoxet's Groups
Linoxet's Contact & Social LinksTutizillalinoxetbanguela
How can I play a loop fx in a position?

For example , play a looping fire fx in a script_struct (a torch, lol), I don't know much about fx :D
Thanks in advance
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 2 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Code Snippet
Plaintext
     	ent = maps\_utility::createOneshotEffect( "mp_fire_window_smk_lf" );
      ent.v[ "origin" ] = ( -2184.66, -291.623, 365.76 );
      ent.v[ "angles" ] = ( 3.17533, 358.141, -0.90649 );
      ent.v[ "fxid" ] = "mp_fire_window_smk_lf";
      ent.v[ "delay" ] = 2.1;

In maps/createfx/yourmapname_fx.gsc
Make sure to precache the fx by doing loadFX in maps/yourmapname_fx.gsc,
Code Snippet
Plaintext
	level._effect["mp_fire_window_smk_lf"]						= loadfx("maps/mp_maps/fx_mp_fire_window_smk_lf");
and to include the fx in your csv.
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 10 December 2013
Last active: 3 years ago
Posts
159
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Linoxet's Groups
Linoxet's Contact & Social LinksTutizillalinoxetbanguela
Didn't worked :v

I added to mod.csv and I added a precache line

Double Post Merge: March 21, 2016, 12:14:01 am
I used a fx already "included" in the game and it worked, I don't know why the fire fx don't work :v
I've added to mod.csv and everything
Last Edit: March 21, 2016, 12:14:13 am by Linoxet
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 4 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
did you include the precache call in yourmapname_fx.gsc like he said to? also make sure that your spelling the location of the fx correctly in your csv
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 10 December 2013
Last active: 3 years ago
Posts
159
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Linoxet's Groups
Linoxet's Contact & Social LinksTutizillalinoxetbanguela
did you include the precache call in yourmapname_fx.gsc like he said to? also make sure that your spelling the location of the fx correctly in your csv

Yeah, I did it
broken avatar :(
×
broken avatar :(
Location: kh
Date Registered: 9 August 2013
Last active: 6 years ago
Posts
503
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
×
codmoddd1234's Groups
codmoddd1234's Contact & Social Links
Whats the name of the fx?
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 10 December 2013
Last active: 3 years ago
Posts
159
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Linoxet's Groups
Linoxet's Contact & Social LinksTutizillalinoxetbanguela
Whats the name of the fx?

Code Snippet
Plaintext
level._effect["mp_fire_window_smk_lf"] = loadfx("maps/mp_maps/fx_mp_fire_window_smk_lf");

Same fx

Last Edit: March 21, 2016, 01:25:12 am by Linoxet
broken avatar :(
×
broken avatar :(
Location: kh
Date Registered: 9 August 2013
Last active: 6 years ago
Posts
503
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
×
codmoddd1234's Groups
codmoddd1234's Contact & Social Links
Double check the path and spelling because I couldn't find it in my fx folder and I couldn't find it in the modtools 1.0 - 1.4.
//
If it's an fx send me it through pm. Some mp fx won't work in sp.

 
Loading ...