afxFPS: an FPS mod for the ArcaneFX Demo
by Gibby · 04/29/2009 (2:55 am) · 8 comments
Greetings and Felicitations...
After merging the ArcaneFX technology into a couple of my game prototypes, I've figured out how to easily use it in an FPS style context. I've seen quite a number of folks on the Arcane FX forum asking how to implement this so here it is, a simple step-by-step resource in converting the ArcaneFX Demo into an FPS style game with no source code changes. Includes all scripts so you can drag-and-drop them into an clean copy of the ArcaneFX Demo and be shooting orcs instantly! For TGEA 1.8.1 + AFX 1.1.3
Here's the file: afxFPS
Many Thanks go to Jeff Faust, Michael Perry, phdana and ZOD, whose MultiGame Starter Kit is the most under-rated collection of useful TorqueScript in existence...
After merging the ArcaneFX technology into a couple of my game prototypes, I've figured out how to easily use it in an FPS style context. I've seen quite a number of folks on the Arcane FX forum asking how to implement this so here it is, a simple step-by-step resource in converting the ArcaneFX Demo into an FPS style game with no source code changes. Includes all scripts so you can drag-and-drop them into an clean copy of the ArcaneFX Demo and be shooting orcs instantly! For TGEA 1.8.1 + AFX 1.1.3
Here's the file: afxFPS
Many Thanks go to Jeff Faust, Michael Perry, phdana and ZOD, whose MultiGame Starter Kit is the most under-rated collection of useful TorqueScript in existence...
#2
04/29/2009 (8:11 am)
Thanks deepscratch, let me know how it works out...
#4
04/30/2009 (5:37 am)
I honestly don't consider this just an FPS tranistion mod. I consider it more of a 1st person to 3rd person and character change mod. I really think its more then that. But hey your the Scripter/Imagineer I'm just here to thank you for your work! Thanks!
#5
I do have a question tho.
When the game first loads it starts in 3rd person view rather then 1st person. Any way to set it to 1st person?
Thanks
04/30/2009 (11:24 am)
I have been in need of something like this. Thank you very much.I do have a question tho.
When the game first loads it starts in 3rd person view rather then 1st person. Any way to set it to 1st person?
Thanks
#6
Think of afxCamera as always being in 3rd person, and any y value greater than -1 will force it into 1st person.
Open game.cs and find 'function GameConnection::createPlayer'
at around line 433, change:
%this.camera.setThirdPersonOffset("0 -3 3");
to:
%this.camera.setThirdPersonOffset("0 -.5 3");
05/01/2009 (2:30 am)
@Wayne:Think of afxCamera as always being in 3rd person, and any y value greater than -1 will force it into 1st person.
Open game.cs and find 'function GameConnection::createPlayer'
at around line 433, change:
%this.camera.setThirdPersonOffset("0 -3 3");
to:
%this.camera.setThirdPersonOffset("0 -.5 3");
#8
The Simple Melee resource is sort of complex because it has been ported so many times from TGE 1.5.2 to TGEA 1.7, then to TGEA with AFX. I'm using the AFX version of the resource, which is intended to fix a conflict between the melee system designed to work with StarterFPS and the stock AFX tendency to override UpdateLookAnimation. Because AFXFps partially modifies the AFX demo back into an FPS game, it seems like this might introduce new issues. Has Gibby or anyone else gotten melee combat working in AFXfps?
05/21/2009 (9:29 am)
I've merged this resource with my project, and it works really well. I have one question for Gibby. I'd like to have first-person melee combat in my game, so I've added the port of the Simple Melee resource for ArcaneFX and TGEA. The melee combat almost works in that I can swing with the sword exactly once, after which the sword returns to its normal position and will not swing again. Do you have any suggestions as to how to fix this?The Simple Melee resource is sort of complex because it has been ported so many times from TGE 1.5.2 to TGEA 1.7, then to TGEA with AFX. I'm using the AFX version of the resource, which is intended to fix a conflict between the melee system designed to work with StarterFPS and the stock AFX tendency to override UpdateLookAnimation. Because AFXFps partially modifies the AFX demo back into an FPS game, it seems like this might introduce new issues. Has Gibby or anyone else gotten melee combat working in AFXfps?
#9
I have melee combat working in AFX 1.1.3 for TGEA 1.8.1 but still have some scripting issues related to player death from melee weapons. I'm waiting to see what changes AFX 2.x will bring before getting too deep into it though...
06/06/2009 (12:04 pm)
@Jeff:I have melee combat working in AFX 1.1.3 for TGEA 1.8.1 but still have some scripting issues related to player death from melee weapons. I'm waiting to see what changes AFX 2.x will bring before getting too deep into it though...

Torque Owner deepscratch
DeepScratchStudios
THANK YOU!! finaly. I have had this on my mind since before I purchased AFX, just didnt know where to start doing what you have just done. excellent!!