TGEA 1.7.1 attack helicopter csk model
by Yuejun Zhang · in Combat Starter Kit · 02/19/2009 (5:47 pm) · 16 replies
http://www.youtube.com/watch?v=YPoKNa_TGTk
this is a attack helicopter in tgea 1.7.1 I have rewrited the code, but used the csk's model
this is a attack helicopter in tgea 1.7.1 I have rewrited the code, but used the csk's model
#2
02/27/2009 (7:48 pm)
I put a upward force to the helicopter, and the mouse control the direction, so the helicopter can fly like a real helicopter. I will replace the model with a new apache model, but I need FX effect for explosion and helicopter dust. is anybody good at FX here?
#3
03/04/2009 (6:56 am)
where i can download CSK for TGEA?
#4
EDIT: a good bit of the CSK can be re-used in TGEa, but for a third of it you would be better off with a custom solution.
03/04/2009 (8:57 am)
@Javier: you can't. There isn't one, it's TGE only. A few people have attempted ports, DreamGames was even supposedly working on one...EDIT: a good bit of the CSK can be re-used in TGEa, but for a third of it you would be better off with a custom solution.
#5
03/04/2009 (11:48 am)
most of the actual code should swapright over.. its anything graphically related that will need some conversion.. and of course the Art will need to be redone with the new maps and such to get the whole effect.
#6
03/04/2009 (12:46 pm)
@Javier: I have ported most part of the csk to TGEA 1.7.1 , and I have sent it to DreamGames. you can ask them for a copy, some of members already got it. and you can very easy to make the rest part work in tgea based my port version, the only thing you need is the time and patient, the rest part are all detail stuffs, here and there in c++ code or scripts file, really need a lot of time to deal with it.
#7
03/05/2009 (6:52 pm)
Any way you could give us a peak at the code you modified for the heli controls, because that would be great to have for the csk heli's.
#8
1. mouse control pitch and yaw.
2. key "a" and "d" control roll.
3. key "w" add upword local force to helcopter.
here is some code in my source:
if(move)
{
if(move->x>0)
{
RotateRight(0.018f*move->x);
}
if(move->x <0)
{
RotateLeft(-0.018f*move->x);
}
if(move->pitch>0)
{
PitchHeadUp (8.2f*move->pitch);
}
if(move->pitch<0)
{
PitchHeadDown(-8.2f*move->pitch);
}
if(move->yaw>0)
{
TurnRight(3.8f*move->yaw);
}
f(move->yaw<0)
{
TurnLeft(-3.8f*move->yaw);
}
//for only up control. more realistic
f(move->y>0)
{
MoveUp (100.8f*move->y); //here add local force to helicopter body, Attention: it is local force
}
if(move->y<0)
{
MoveDown(-80.8f*move->y); //here add local force to helicopter body, Attention: it is local force
}
}
03/08/2009 (10:14 am)
here are what is the idea inside. and some realcode in my source.1. mouse control pitch and yaw.
2. key "a" and "d" control roll.
3. key "w" add upword local force to helcopter.
here is some code in my source:
if(move)
{
if(move->x>0)
{
RotateRight(0.018f*move->x);
}
if(move->x <0)
{
RotateLeft(-0.018f*move->x);
}
if(move->pitch>0)
{
PitchHeadUp (8.2f*move->pitch);
}
if(move->pitch<0)
{
PitchHeadDown(-8.2f*move->pitch);
}
if(move->yaw>0)
{
TurnRight(3.8f*move->yaw);
}
f(move->yaw<0)
{
TurnLeft(-3.8f*move->yaw);
}
//for only up control. more realistic
f(move->y>0)
{
MoveUp (100.8f*move->y); //here add local force to helicopter body, Attention: it is local force
}
if(move->y<0)
{
MoveDown(-80.8f*move->y); //here add local force to helicopter body, Attention: it is local force
}
}
#9
04/06/2009 (2:09 pm)
Has this been ported yet ? cause I am looking at buying tgea.
#10
Edit: ok, looking around in the heliVehicle.cc file and it seems that your comment is pseudo-code, correct me if im wrong.
I'm still relatively new to c++ so could you spare a heli-fix tutorial for us if the changes are extensive enough?
04/07/2009 (12:02 pm)
Thanks Yuejun!Edit: ok, looking around in the heliVehicle.cc file and it seems that your comment is pseudo-code, correct me if im wrong.
I'm still relatively new to c++ so could you spare a heli-fix tutorial for us if the changes are extensive enough?
#11
those code lines are a kind of pseudo-code. because I have completely replaced the tgea's original physics part in whole engine. so I posted the pseudo-code to show the clear idea of those flight comtrols.
@J-Man:
the csk has not be ported to Tgea yet, I think they are still working on it. in my csk tgea port , I have ported all useful parts.
04/07/2009 (9:47 pm)
@CSMP:those code lines are a kind of pseudo-code. because I have completely replaced the tgea's original physics part in whole engine. so I posted the pseudo-code to show the clear idea of those flight comtrols.
@J-Man:
the csk has not be ported to Tgea yet, I think they are still working on it. in my csk tgea port , I have ported all useful parts.
#12
04/11/2009 (5:26 pm)
New physics, nice.... sounds like your doin good with TGEA.
#13
I am a programmer who just love to programming, but I am not a good artist.
if any 3d artist or programmer who want join me to make a team for a online massive FPS war game online , please email me.
04/12/2009 (7:48 am)
in fact , I have upgraded a lot of functions in TGEA, replaced entire physics , enchanced networking, created a new turret and weapon system for any vehicle (strike, tank, attach helicopter, transport helicopter, warship, air carrier... those turret and weapon can work as exactly as real life), enhanced the particle system (boomb explosion like real life). and also some small functions like intergrate the "team" in c++ source, volumetic cloud... I am a programmer who just love to programming, but I am not a good artist.
if any 3d artist or programmer who want join me to make a team for a online massive FPS war game online , please email me.
#14
04/12/2009 (7:51 am)
Thats very cool. It goes to show that the CSK kit has alot of functionality.
#15
04/12/2009 (10:27 am)
@Yuejun- You haven't made your email public. I'd like to talk and see what your project is all about.
#16
04/12/2009 (11:59 am)
My email is zhangyuejun@yahoo.com . thank you tell me the email issue, I did not notice my email is not public.
Torque Owner CSMP
MP Studios
What exactly did you modify for the new handling?