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

CoD4/WaW In-Game FX Utility

broken avatar :(
Created 10 years ago
by BraXi
0 Members and 1 Guest are viewing this topic.
8,914 views
broken avatar :(
×
broken avatar :(
Location: pl
Date Registered: 8 October 2014
Last active: 7 years ago
Posts
39
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
BraXi's Groups
BraXi's Contact & Social LinksthebraxiDeath Run forums
I'd like to be a bit helpful so i'm releasing my tool to manipulate/add/edit/rotate effects in-game.

https://www.dropbox.com/s/ifwte04ml26v4kp/efx_tool.rar?dl=0

Since i was the only user of this tool I didn't really write a good readme file to explain hwo to use it, so here's the plain .txt with some informations:

Quote
cmd: \cfx option:arg1:arg2:etc..

fx types: oneshotfx, loopfx, soundfx


options:

* cfx create:<fx type> - create "FX object" at players current origin

* cfx select:<id> - select fx object

* cfx trigger - toggle on or off an effect

* cfx set:fxid:<fxid> - bind effect to selected object

* cfx set:soundalias:<sound> - .....

* cfx set:repeatDelay:<time> - time after "oneshotfx" gets played again, and again....

* cfx toplayer - moves effect to player's current position

* cfx move:<axis>:<units> - move FX by <units> to given <axis> (axis are: X, Y, Z)

* cfx rotate:<axis>:<degrees> - rotate FX by <degrees> to given <axis> (axis are: X, Y, Z)

* cfx save - save all effects (.gsc code) to logfile



example:

cfx create:oneshotfx
cfx set:fxid:acid_pour
cfx rotate:x:270
cfx trigger


gsc:

Code Snippet
Plaintext
level._effect[ "acid_pour" ] = loadfx( ... );
braxi\_fxutil::init_effects();

KEEP IN MIND YOU NEED DEVELOPER AND DEVELOPER_SCRIPT ENABLED TO USE IT.

You can also use this function to toggle effect (enable/disable):
Code Snippet
Plaintext
braxi\_fxutil::TriggerEffect( <effect ent> );

Here's a short video of this tool in action: http://social.xfire.com/videos/61671b

I'll update this topic when I find some time.
Last Edit: October 08, 2014, 06:36:16 pm by BraXi
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
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.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
Looks pretty sweet, and should save some time!! I'll def give it a try! Thanks for sharing!
broken avatar :(
×
broken avatar :(
Location: usbuffalo
Date Registered: 16 August 2013
Last active: 11 months ago
Posts
927
Respect
Forum Rank
The Decider
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Giggity.
Signature
maps:
Undead Town
http://ugx-mods.com/forum/index.php?topic=2294.0 (Release)
Origins 1922
http://ugx-mods.com/forum/index.php?topic=2659.0
[WIP] mapping 39%, weapons 85%, scripts 65%
[/url]
×
RamboBadass's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
RamboBadass's Contact & Social LinksAsk merambobadassRamboDaGreat
Good job
broken avatar :(
×
broken avatar :(
Location: gbsomerset
Date Registered: 2 March 2014
Last active: 10 months ago
Posts
169
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Now you see me, Now you don`t
×
FATKIDSLOV3CAK3's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
FATKIDSLOV3CAK3's Contact & Social LinksHypercaineHypercaineZombies_dieFATKIDSLOV3CAK3
anyone know how to get this to work for World at War zombies?
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
anyone know how to get this to work for World at War zombies?
It's already in the game if you turn on developer_script 1 and call the script that's in raw/maps, don't remember the name off the top of my head.
broken avatar :(
×
broken avatar :(
Location: gbsomerset
Date Registered: 2 March 2014
Last active: 10 months ago
Posts
169
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Now you see me, Now you don`t
×
FATKIDSLOV3CAK3's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
FATKIDSLOV3CAK3's Contact & Social LinksHypercaineHypercaineZombies_dieFATKIDSLOV3CAK3
what is it i need to call it, i keep forgetting haha

Double Post Merge: October 09, 2014, 12:03:23 pm
so some reason its not working, it keeps give random errors
Last Edit: October 09, 2014, 12:03:23 pm by FATKIDSLOV3CAK3
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
so some reason its not working, it keeps give random errors
probably badly written custom scripts in yer map
broken avatar :(
×
broken avatar :(
Location: pl
Date Registered: 8 October 2014
Last active: 7 years ago
Posts
39
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
BraXi's Groups
BraXi's Contact & Social LinksthebraxiDeath Run forums
anyone know how to get this to work for World at War zombies?

In your zone source:
Code Snippet
Plaintext
rawfile,braxi/_fxutil.gsc
Add this line in your mapname.gsc::main() function _before_ any wait().
Code Snippet
Plaintext
braxi\_fxutil::init_effects();
enable logfile, turn on developer and developer_script... you might have hard time if there are errors in your map  :accepted:


It's already in the game if you turn on developer_script 1 and call the script that's in raw/maps, don't remember the name off the top of my head.
I didn't know that and I've coded this tool because built-in CoD4 code was broken
Last Edit: October 09, 2014, 03:06:05 pm by BraXi
broken avatar :(
×
broken avatar :(
Location: gbsomerset
Date Registered: 2 March 2014
Last active: 10 months ago
Posts
169
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Now you see me, Now you don`t
×
FATKIDSLOV3CAK3's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
FATKIDSLOV3CAK3's Contact & Social LinksHypercaineHypercaineZombies_dieFATKIDSLOV3CAK3
In your zone source:
Code Snippet
Plaintext
rawfile,braxi/_fxutil.gsc
Add this line in your mapname.gsc::main() function _before_ any wait().
Code Snippet
Plaintext
braxi\_fxutil::init_effects();
enable logfile, turn on developer and developer_script... you might have hard time if there are errors in your map  :accepted:

I didn't know that and I've coded this tool because built-in CoD4 code was broken

thanks will try it later


Double Post Merge: October 09, 2014, 05:03:36 pm
nope whatever i do it just comes up with this error

Last Edit: October 09, 2014, 05:03:36 pm by FATKIDSLOV3CAK3
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
thanks will try it later


Double Post Merge: October 09, 2014, 05:03:36 pm
nope whatever i do it just comes up with this error

(Image removed from quote.)
logprint doesn't exist in waw, replace it with printLn.

Or try the WaW one with
Code Snippet
Plaintext
maps\_createfx::createfx(); 
broken avatar :(
×
broken avatar :(
Location: gbsomerset
Date Registered: 2 March 2014
Last active: 10 months ago
Posts
169
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Now you see me, Now you don`t
×
FATKIDSLOV3CAK3's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
FATKIDSLOV3CAK3's Contact & Social LinksHypercaineHypercaineZombies_dieFATKIDSLOV3CAK3
logprint doesn't exist in waw, replace it with printLn.

Or try the WaW one with
Code Snippet
Plaintext
maps\_createfx::createfx(); 

how would i use it though trem?

 
Loading ...