CoD4/WaW In-Game FX Utility

broken avatar :(
Created 1894 days ago
by BraXi
0 Members and 1 Guest are viewing this topic.
5,360 views
broken avatar :(
×
broken avatar :(
Location: pl
Date Registered: 8 October 2014
Last active: 1019 days 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.

[You are not allowed to view external links. Register or Login to see them]

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:

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):
braxi\_fxutil::TriggerEffect( <effect ent> );

Here's a short video of this tool in action: [You are not allowed to view external links. Register or Login to see them]

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: 10 hours ago
Posts
1,180
Respect
1,372Add +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
[RELEASED] Greenhouse Realism 3.0: [You are not allowed to view external links. Register or Login to see them]

NUK370WN Realism 3.0: [You are not allowed to view external links. Register or Login to see them]
Industrial Estate Realism 3.0: [You are not allowed to view external links. Register or Login to see them]

Support my work here:  [You are not allowed to view external links. Register or Login to see them]
×
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: 98 days ago
Posts
928
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: 1083 days 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
Signature

[You are not allowed to view external links. Register or Login to see them]
×
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: 2 days ago
Posts
5,545
Respect
6,507Add +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: 1083 days 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 :(
×
broken avatar :(
The OG Polish Modder
Location: pl
Date Registered: 19 June 2013
Last active: 336 days ago
Posts
1,666
Respect
Forum Rank
Zombie Destroyer
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
#RyukoRocks
Signature
[FS] Social Networking, Lead Animator and Scripter
[You are not allowed to view external links. Register or Login to see them]
[You are not allowed to view external links. Register or Login to see them]
×
Ray1235's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
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: 1019 days 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:
rawfile,braxi/_fxutil.gsc
Add this line in your mapname.gsc::main() function _before_ any wait().
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: 1083 days 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:
rawfile,braxi/_fxutil.gsc
Add this line in your mapname.gsc::main() function _before_ any wait().
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: 2 days ago
Posts
5,545
Respect
6,507Add +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

( [You are not allowed to view external links. Register or Login to see them] .)
logprint doesn't exist in waw, replace it with printLn.

Or try the WaW one with
maps\_createfx::createfx(); 
broken avatar :(
×
broken avatar :(
Location: gbsomerset
Date Registered: 2 March 2014
Last active: 1083 days 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
maps\_createfx::createfx(); 

how would i use it though trem?

 

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