Could someone clarify vehicles please?
by Harvey Greensall · in Torque Game Engine · 02/13/2006 (8:12 am) · 3 replies
Hi all.
I've been working with the engine for about 6 weeks now, and as an artist, am getting on pretty well, with the help I've had from the forums, and constant reading up about the engine..but could now do with a bit of a 'leg-up'.
I'm trying to make a steerable vehicle that is the games character,..so needs to do everything a character can do.
ie. Move, fire 2 weapons ( one on each mouse button), take damage, pick up health, ammo, have death animations etc.
I've downloaded bravetrees jetbike, which gave me exactly the kind of movement I'd like after a day or two of tweaking, and the 3rd person camera is spot on too...... So, so far so good. Trouble is, It has no weapons or damage system as far as I can tell. (ie. the health bar is empty)
so.
I then downloaded bravetrees TankPack which gives me the facility to use the left and right mouse buttons to fire two different weapons, which is exactly what I need, AND it also takes damage etc. Brilliant!! it's almost spot on, but I need it to move like the jetbike does, and have the same camera...
so as you can see...
I'd need a combination of these two things, so, my question is : is it possible to add bits of script between one vehicle and another etc? or am I asking a bit much, or has anyone got a simple work around etc....Sorry if this all sounds a bit naive, I am an artist afterall, and dabbling in the scripting... I feel if I can crack this, I think the penny may drop and I'll have a good idea what I'm doing at last.
I hope...
Any help would be so, so appreciated...
I've been working with the engine for about 6 weeks now, and as an artist, am getting on pretty well, with the help I've had from the forums, and constant reading up about the engine..but could now do with a bit of a 'leg-up'.
I'm trying to make a steerable vehicle that is the games character,..so needs to do everything a character can do.
ie. Move, fire 2 weapons ( one on each mouse button), take damage, pick up health, ammo, have death animations etc.
I've downloaded bravetrees jetbike, which gave me exactly the kind of movement I'd like after a day or two of tweaking, and the 3rd person camera is spot on too...... So, so far so good. Trouble is, It has no weapons or damage system as far as I can tell. (ie. the health bar is empty)
so.
I then downloaded bravetrees TankPack which gives me the facility to use the left and right mouse buttons to fire two different weapons, which is exactly what I need, AND it also takes damage etc. Brilliant!! it's almost spot on, but I need it to move like the jetbike does, and have the same camera...
so as you can see...
I'd need a combination of these two things, so, my question is : is it possible to add bits of script between one vehicle and another etc? or am I asking a bit much, or has anyone got a simple work around etc....Sorry if this all sounds a bit naive, I am an artist afterall, and dabbling in the scripting... I feel if I can crack this, I think the penny may drop and I'll have a good idea what I'm doing at last.
I hope...
Any help would be so, so appreciated...
#2
I've done this with addons for Operation Flashpoint. Look at where the weapons are placed in the tank pack and replicate that into the jetbike. That is the tricky part, use an copy of both under an new name to play with.
I'll be looking into this sort of thing as I get a bit more into TGE and will post what ever I find out.
08/15/2006 (1:06 am)
As I understand of what I've seen and read in the scripts and forum yes you could mix and match with a little trial and error.I've done this with addons for Operation Flashpoint. Look at where the weapons are placed in the tank pack and replicate that into the jetbike. That is the tricky part, use an copy of both under an new name to play with.
I'll be looking into this sort of thing as I get a bit more into TGE and will post what ever I find out.
#3
You should find a good programmer to work with. What I found is no matter how much you end up learning a coder worth his salt can always provide better ways to extend the feature set of your vehicle design.
08/15/2006 (5:03 am)
Vehicles in Torque are very flexible. Like other game objects bits and pieces of script code can be combined to create a custom vehicle. What's lacking is an overview or guide for artists to show what can be done and where to get examples to work from. So right now you have to spend alot of time looking around the forums for various resources. You've already found the best of what's out there so I'd say you're in good shape. You should find a good programmer to work with. What I found is no matter how much you end up learning a coder worth his salt can always provide better ways to extend the feature set of your vehicle design.
Harvey Greensall
http://www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=4792