Notices

Go Back   FileFront Forums > The Games! > Star Wars: Jedi Knight Series > Jedi Knight III: Jedi Academy > SW:JK3 Modding, Mapping and Editing

Remember Me?

SW:JK3 Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old July 5th, 2009   #1
The Internet ends at GF
 
Join Date: February 12th, 2009
Status: Available
106 posts, 0 likes.
Rep Power: 0
edeholland is nobody special
Default Push/Pull effect

When you use push or pull a circle appears that deforms the environment as if you were looking at it through a glass of water. Now is there a way you can use that effect in a shader, for example for glass?
edeholland is offline   Reply With Quote
Old July 5th, 2009   #2
WTF ?! BOOOOOOOM !
 
AshuraDX's Avatar
 
Join Date: May 10th, 2009
Status: Available
1,425 posts, 27 likes.
Rep Power: 16
AshuraDX will become famous one dayAshuraDX will become famous one dayAshuraDX will become famous one dayAshuraDX will become famous one day
Default Re: Push/Pull effect

Quote:
Originally Posted by edeholland View Post
When you use push or pull a circle appears that deforms the environment as if you were looking at it through a glass of water. Now is there a way you can use that effect in a shader, for example for glass?
search through the shader files of the game you might find the shader and then you can copy the coding from the shader and paste it in your new shader (of course you have to edit it)


Last edited by AshuraDX; July 5th, 2009 at 02:05 AM.
AshuraDX is offline   Reply With Quote
Old July 5th, 2009   #3
Worse than most terrible
 
Raz0r's Avatar
 
Join Date: September 26th, 2006
3,121 posts, 536 likes.
Rep Power: 24
Raz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as Revenge
Default Re: Push/Pull effect

I'm pretty sure that's done with coding. I do recall seeing a bunch of code about the push/pull refraction effect.
Raz0r is offline   Reply With Quote
Old July 5th, 2009   #4
Click >HERE< to find an idiot.
Self Trained Knight
 
Jonny2199's Avatar
 
Join Date: September 18th, 2005
Status: Available
977 posts, 17 likes.
Rep Power: 22
Jonny2199 has disabled reputation
Default Re: Push/Pull effect

The force push effect is controlled by a picture (assets1.pk3/gfx/effects/forcepush) and a .efx file which controls the size etc (assets1.pk3/effects/force/pushblur).

The only way I can think of making a distorting piece of glass is a custom-made shader. Maybe try taking the forcepush picture from assets1.pk3 and 'applying' it to a glass texture already made, using a similar technique to making a glow shader. I'm no shader expert, but find a skin on jk3files.com with glow and see how the author did it on that to get the basic idea if you're stuck.
Jonny2199 is offline   Reply With Quote
Old July 5th, 2009   #5
I got bored of being Binks.
 
Join Date: December 15th, 2007
Status: Making a mod
320 posts, 0 likes.
Rep Power: 17
heavymetalgungan should make some friends
Default Re: Push/Pull effect

Actually, through experimenting with the efx and gfx files I've found that assets1.pk3/gfx/effects/forcepush.tga is actually the blur around characters when they get pushed. Also assets1.pk3/effects/force/pushblur.efx is completely pointless as far as I know, it is not either the pushing effect or the being pushed effect. Sorry mate, as far as I know, there is no easy way to create the zoom effect created in-game.

JKG Rocks!
heavymetalgungan is offline   Reply With Quote
Old July 5th, 2009   #6
WTF ?! BOOOOOOOM !
 
AshuraDX's Avatar
 
Join Date: May 10th, 2009
Status: Available
1,425 posts, 27 likes.
Rep Power: 16
AshuraDX will become famous one dayAshuraDX will become famous one dayAshuraDX will become famous one dayAshuraDX will become famous one day
Default Re: Push/Pull effect

In the KOTF launcher you can disable the force push/pull effect and the grip effect
I wonder how that works ?

AshuraDX is offline   Reply With Quote
Old July 5th, 2009   #7
The Internet ends at GF
 
Join Date: February 12th, 2009
Status: Available
106 posts, 0 likes.
Rep Power: 0
edeholland is nobody special
Default Re: Push/Pull effect

Well, grip is simply an image in gfx/effects (black out to make invisible), but it seems the push distortion is more complex to disable.
edeholland is offline   Reply With Quote
Old July 5th, 2009   #8
N-7
... and a nice big Cip-Quad
 
N-7's Avatar
 
Join Date: September 20th, 2007
Status: N/A
541 posts, 0 likes.
Rep Power: 18
N-7 should make some friends
Default Re: Push/Pull effect

Quote:
Originally Posted by -=*Ráz0r*=- View Post
I'm pretty sure that's done with coding. I do recall seeing a bunch of code about the push/pull refraction effect.
Yup, part of it is coding (cg_players.c / CG_ForcePushBlur), part of it is the refraction shader to be found in effects.shader.

And the effect can be disabled by setting cg_renderToTextureFx to 0.
N-7 is offline   Reply With Quote
Old July 5th, 2009   #9
the dude
 
loda's Avatar
 
Join Date: March 17th, 2005
Location: Toledo, Ohio, USA
Status: Available
280 posts, 0 likes.
Rep Power: 0
loda has disabled reputation
Default Re: Push/Pull effect

Quote:
Originally Posted by edeholland View Post
Well, grip is simply an image in gfx/effects (black out to make invisible), but it seems the push distortion is more complex to disable.
the red grip effect is done with coding also, not an image.
loda is offline   Reply With Quote
Old July 6th, 2009   #10
I got bored of being Binks.
 
Join Date: December 15th, 2007
Status: Making a mod
320 posts, 0 likes.
Rep Power: 17
heavymetalgungan should make some friends
Default Re: Push/Pull effect

Actually its a mix of coding and an image, the assets1.pk3/gfx/effects/forcepush.tga file is used, then coding dyes it red.

JKG Rocks!
heavymetalgungan is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TRUE in Push\Pull Sgt. D. Pilla Tech Discussion 17 October 5th, 2009 08:31 PM
push and pull effects reelo2228 SW:JK3 Modding, Mapping and Editing 7 December 26th, 2008 03:51 AM
Force Push/Pull Circle D4RkThUnDeR SW:JK3 Modding, Mapping and Editing 10 April 26th, 2007 08:11 AM
Hiccuping when i use pull or push.! Sith Hunta SW:JK3 Modding, Mapping and Editing 1 November 21st, 2003 12:02 PM
Force Push and Pull FF|Pro-Filer Jedi Knight II: Jedi Outcast General Yib-Yab (Off Topic) 1 June 20th, 2002 11:36 AM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind