Need help with a fully auto weapon.
by Morris · in Technical Issues · 04/07/2008 (2:01 pm) · 9 replies
Hi
Im fairly new to the torque game engine and im trying to make a fps. could someone show me or point me to a tutorial that tells me how to make it fully auto,go faster,take the glow of the projectile,not explode at the end only do a little bit of damage,and anything else that makes it seem more like a assault rifle.
thanks!
Im fairly new to the torque game engine and im trying to make a fps. could someone show me or point me to a tutorial that tells me how to make it fully auto,go faster,take the glow of the projectile,not explode at the end only do a little bit of damage,and anything else that makes it seem more like a assault rifle.
thanks!
About the author
#2
And thanks for the help with the gun!
04/08/2008 (2:33 pm)
Dang man helped a ton! Would u also know how to change the amplitude of light tools so i can put lights in my buildings,I'm not sure if thats what my problem is but eaverytime i make a new building and load it into the game my character turns pitch black,i think it has to do with the lighting tools. Is there a way to make the lights amplitude larger? I'm getting tired of adding hundreds of little lights in my game,starting to lag. And thanks for the help with the gun!
#3
And thanks for the help with the gun!
04/08/2008 (2:38 pm)
Dang man helped a ton! Would u also know how to change the amplitude of light tools so i can put lights in my buildings,I'm not sure if thats what my problem is but eaverytime i make a new building and load it into the game my character turns pitch black,i think it has to do with the lighting tools. Is there a way to make the lights amplitude larger? I'm getting tired of adding hundreds of little lights in my game,starting to lag. And thanks for the help with the gun!
#4
And thanks for the help with the gun!
04/08/2008 (2:40 pm)
Dang man helped a ton! Would u also know how to change the amplitude of light tools so i can put lights in my buildings,I'm not sure if thats what my problem is but eaverytime i make a new building and load it into the game my character turns pitch black,i think it has to do with the lighting tools. Is there a way to make the lights amplitude larger? I'm getting tired of adding hundreds of little lights in my game,starting to lag. And thanks for the help with the gun!
#5
04/08/2008 (3:25 pm)
Dude, the reason ur player turns pitch black is because you dont have relighted the mission with the new buildings. You will be prompted to "relight mission", but if that controll is hard to find, then just save the mission, close torque and restarts torque with the same mission, and the new difs will be lighted. Just relight and your player will look fine =)
#6
04/08/2008 (4:10 pm)
First of all srry about the mutiple posts, i have no idea wat happened there lol. The relight mission thing,does that pop up right when u go into the game,or when u go into edit mode,im not seeing wat youre talking about yet. thanks
#7
04/08/2008 (5:08 pm)
Hey back on the weapon thing,i found weapons.cs and tried to open it in notepad but it looked nothing like that.i couldn't see any scrips that looked like commands. do i need to open it a different program if so what program? thanks.
#8
That's the file Alan is talking about.
Any text editor will open cs files, but you can do a search for Torsion (in the GG store) , tribal (what I use) or codeweaver.
Torsion and Codeweaver have debuggers that work quite well.
04/08/2008 (5:27 pm)
Look in "server/scripts/crossbow.cs" That's the file Alan is talking about.
Any text editor will open cs files, but you can do a search for Torsion (in the GG store) , tribal (what I use) or codeweaver.
Torsion and Codeweaver have debuggers that work quite well.
#9
04/08/2008 (5:28 pm)
Ok thanks man!
Torque Owner Alan James
Really Really Good Things Studio
I think the
determines the time between shots, if it is not this in particular it is a stateTransition setting in that section. the lower the stateTimeoutValue, the quicker the weapon fires.
The speed, explosion and damage are handled in the ProjectileData datablock. under muzzle velocity, the referenced explosions and damage that looks something like this:
Hope this helps out a little.
-Alan
Really Really Good Things Studio
.