Game Development Community

Is it just me or does shooting not work in the FPS demo?

by Highlander · in General Discussion · 11/30/2005 (12:36 am) · 6 replies

I've got Finney's first book and I click on the shortcut "Run fps Demo"... but I can't shoot. I redefined the "Fire Weapon" command to the space bar and still can't fire. Does this demo not have weapons or something?

Thanks,
Mike

#1
11/30/2005 (12:41 am)
Can you see a weapon in the first person view? If not, you may need to pick one up.
#2
11/30/2005 (9:15 am)
No, the dude is in a pose like he's holding one but there is no weapon in his hand. I am running the "scorched planet" demo
#3
11/30/2005 (9:59 am)
I don't know. I've never had that problem. You might want to try the book forum to see if other people have had the problem. I don't remember anyone with it, though.
#4
11/30/2005 (10:25 am)
Highlander,

In 'Scorched' the rifle and ammo objects were not placed in the mission and are not spawned with the player. But they are easy to add. The default animation you're seeing (holding a rifle) is built-in and well, it looks kind of cheesy without an actual weapon. But there's nothing wrong Torque. It's just that no one has created a weaponless walk/run animation for that character/rig. Adding new animations that fit our own games is our responsibility as budding developers.

If you want to manually drop a weapon in that or any other level, just hit F11 to get into world edit mode, then hit F4 to get into object creation/drop mode, then expand the following tree objects . . . Shapes, Weapon, and Ammo. In the Weapon and Ammo containers you should find RifleAmmo and Rifle. If you click on each of those, Torque will place that object in the center of your viewport. When I'm dropping items, I point my view down at the ground first, so I don't have to go chasing after everything. :)

You will probably notice that Ken's rifle may look a little unsophisticated. Don't worry about that since it's kind of an example/dummy/placeholder object anyway. It's up to us to create unique content after all. :)

I hope that helps,

Aaron E.


[Edit: some grammos]
#5
11/30/2005 (10:44 am)
Thanks Aaron, that worked perfectly!
#6
11/30/2005 (10:45 am)
Glad to help out.