Some Questions I have.
by Dallin Wellington · in Torque Game Engine · 09/27/2007 (4:02 pm) · 6 replies
Well i just bought Torque like 5 days ago and i have some questions i would like to ask the community.
1. Weapon Clips: How whould i go about doing this, whould i just count the number of times the gun has been shot and then count that up to a clip? Then set the reload state or is there an easyer way of doing so.
2.Gun Animations when shooting/walking: Also how would i go about doing this?
Those are what i have for now, i will edit if i have more,
Thanks in advance,
Dallin Wellington
1. Weapon Clips: How whould i go about doing this, whould i just count the number of times the gun has been shot and then count that up to a clip? Then set the reload state or is there an easyer way of doing so.
2.Gun Animations when shooting/walking: Also how would i go about doing this?
Those are what i have for now, i will edit if i have more,
Thanks in advance,
Dallin Wellington
#2
Dallin:
I'd work with the inventory system and the State system to do what you're talking about.
// If I've lost you at this point, there's alot you need to learn!
I would be modifing the crossbow from the starter.fps to achieve my goals...
1) I'd retain the ammo functionality already built in, this represents the ammo in the gun.
2) create a new item to count my extra ammo or my clips.
3) When the gun hits the onNoAmmo state to call a script to give ammo back into the gun.
If you're working by clips, I'd be subtacting one from new item total.
If you new item total is a pile of bullets, then subtact the full reload number for the gun.
Of course, I'd be doing some checks to make sure I have bullets or clips to reload the gun with.
I can't really help you right now with animations for shooting and walking. I'd find (or buy from the GG store) some examples and work from that.
09/30/2007 (3:20 pm)
Tim: How about giving some links?Dallin:
I'd work with the inventory system and the State system to do what you're talking about.
// If I've lost you at this point, there's alot you need to learn!
I would be modifing the crossbow from the starter.fps to achieve my goals...
1) I'd retain the ammo functionality already built in, this represents the ammo in the gun.
2) create a new item to count my extra ammo or my clips.
3) When the gun hits the onNoAmmo state to call a script to give ammo back into the gun.
If you're working by clips, I'd be subtacting one from new item total.
If you new item total is a pile of bullets, then subtact the full reload number for the gun.
Of course, I'd be doing some checks to make sure I have bullets or clips to reload the gun with.
I can't really help you right now with animations for shooting and walking. I'd find (or buy from the GG store) some examples and work from that.
#3
When you've been here for a while and keep seeing the same questions popping up over and over again you'll understand. The fact is there are resources that cover those questions and all that's required is a simple search of this site. How hard is it to type "ammo" into the search box? Why should I do the legwork for someone else?
09/30/2007 (9:35 pm)
Quote:Because that would defeat the purpose of trying to help people help themselves.
Tim: How about giving some links?
When you've been here for a while and keep seeing the same questions popping up over and over again you'll understand. The fact is there are resources that cover those questions and all that's required is a simple search of this site. How hard is it to type "ammo" into the search box? Why should I do the legwork for someone else?
#4
One line answers never help the situation.
They put off the questioners, and alienates potential users from the community.
You're also making big assumptions on the questioners?
How do you know that this person even knows what a resource is?
Also, where the heck is the search function on resources?
(I'm actually asking this one, cause I don't even know myself!)
You're also assuming that no one else might read the thread.
I've if you saw my last blog post you'll see I've read several threads with out posting in them.
Lurkers are people too!
edit:
We're in the "Getting Started" forums... what did you expect to be asked here?
10/01/2007 (3:50 pm)
Tim: One line answers never help the situation.
They put off the questioners, and alienates potential users from the community.
You're also making big assumptions on the questioners?
How do you know that this person even knows what a resource is?
Also, where the heck is the search function on resources?
(I'm actually asking this one, cause I don't even know myself!)
You're also assuming that no one else might read the thread.
I've if you saw my last blog post you'll see I've read several threads with out posting in them.
Lurkers are people too!
edit:
We're in the "Getting Started" forums... what did you expect to be asked here?
#5
People who ask questions that have been asked 1000 times before which have clear answers available alienate potential users from the community. People who think that they are entitled to a response alienate potential users from the community.
At the top right hand corner of this site is a search button:

Click in the input field to clear it and then click on the yellow button to the right.

Now one can search through all documents, blogs, developers, docs, forums or resources.
10/01/2007 (10:01 pm)
Spoon feeding encourages slothfulness.People who ask questions that have been asked 1000 times before which have clear answers available alienate potential users from the community. People who think that they are entitled to a response alienate potential users from the community.
At the top right hand corner of this site is a search button:

Click in the input field to clear it and then click on the yellow button to the right.

Now one can search through all documents, blogs, developers, docs, forums or resources.
#6
Normally I'd agree with you, but we're in the "Getting started" section.
10/04/2007 (6:41 pm)
Tim, Normally I'd agree with you, but we're in the "Getting started" section.
Torque Owner Tim Heldna
Search through the resource section of this site and you will find examples of what you're looking for.