Use a fx from a trigger_use

broken avatar :(
Created 431 days ago
by Cherchuzo
0 Members and 1 Guest are viewing this topic.
469 views
broken avatar :(
×
broken avatar :(
Location: itPiemonte
Date Registered: 4 January 2017
Last active: 63 days ago
Posts
26
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Signature
The reward for a well done thing is to have done it
×
Cherchuzo's Groups
Cherchuzo's Contact & Social LinksCherchuzo02cherchuzo
Today I'm here to ask you how I can use a fx starting from a trigger_use, like when one activates the power lever and exits the fx of the sparks.
Does anyone know how to do that?
Marked as best answer by Cherchuzo on Today at 11:27:55 am
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
User
Date Registered: N/A
Last active: N/A
Posts
N/A
Respect
Primary Group
Deleted Member
×
DeletedUser's Groups
DeletedUser's Contact & Social Links
If you are using the easy FX with UGX-script-placer 2.0 you will need to do the following.

Create a script_struct with these kvp's

targetname / fx

script_noteworthy / fx_name (name of the fx you want)

script_string / use

create a trigger use and give it this kvp

script_string / hint

Then deselect everything and select the struct you want then select the trigger and press "W" to link them.
Notice: you CAN select multiple fx structs then the trigger and link multiple to one trigger!

Hope this helps you out!
broken avatar :(
×
broken avatar :(
Location: itPiemonte
Date Registered: 4 January 2017
Last active: 63 days ago
Posts
26
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
Cherchuzo's Groups
Cherchuzo's Contact & Social LinksCherchuzo02cherchuzo
Thank you very much, but I noticed that when you enter the map you can hear the music in the background of the main menu ....
And a problem? How to solve it?
Also I noticed that it does not work if in the targetname of the trigger you put something else, because in the targetname I put start_rounds (to start the round with a trigger) and when in game I pressed the trigger this only started the round without starting the fx
Last Edit: August 12, 2018, 01:52:31 pm by Cherchuzo
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
User
Date Registered: N/A
Last active: N/A
Posts
N/A
Respect
Primary Group
Deleted Member
×
DeletedUser's Groups
DeletedUser's Contact & Social Links
Thank you very much, but I noticed that when you enter the map you can hear the music in the background of the main menu ....
And a problem? How to solve it?
Also I noticed that it does not work if in the targetname of the trigger you put something else, because in the targetname I put start_rounds (to start the round with a trigger) and when in game I pressed the trigger this only started the round without starting the fx

Go to C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\mods\MAPNAME\maps\ugx_easy_fx.gsc That will tell you how to do stuff it's easy to follow. It will also show you the targetnames you can use.
broken avatar :(
×
broken avatar :(
Location: itPiemonte
Date Registered: 4 January 2017
Last active: 63 days ago
Posts
26
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
Cherchuzo's Groups
Cherchuzo's Contact & Social LinksCherchuzo02cherchuzo
Thanks for the answer, I was wrong to put the script_string, now everything works

 

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 Twitch
Loading ...