Product Chat / My Tank Only Fires Once

Author
Message
lordjulian
10
Years of Service
User Offline
Joined: 10th Jan 2014
Location:
Posted: 18th Oct 2016 19:31
I made a tank in Milkshape 3D. It has a FIRESPOT bone.

I imported it to Game Guru as a character using the importer and added the RPG weapon via the FPE file. Also assigned an ai script.

The tank tracks the player and fires one rocket. However, it then continues to track the player but never fires any more rockets.

Anyone have any ideas?

Julian
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 18th Oct 2016 21:06 Edited at: 18th Oct 2016 21:07
Quote: "However, it then continues to track the player but never fires any more rockets.
Anyone have any ideas?"

Lose the Driver .. He' s obviously pretty self conscious about shooting anyone ..
Sorry ...Couldn't resist
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 19th Oct 2016 02:25
Quote: "Lose the Driver .. He' s obviously pretty self conscious about shooting anyone .."


LOL, not very helpful in a warzone. Perhaps his real dream was to be in the ballet? Sorry, also, lordjulian, I couldn't resist either, and I'm also sorry I can't help you, I have no idea why it wouldn't shoot more than once.
Desktop: i7 4770@3.4Ghz, 12GB RAM, Win 10/64, GeForce GTX 1080, 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 19th Oct 2016 02:33
Actually I noticed the Mech I purchased does this as well ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 19th Oct 2016 08:20
One shot wonder eh?

I'm not sorry in any way shape or form, i revel in my humor

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 19th Oct 2016 09:20
Had the same issue with Harry's tank, its something to do with the reload being hard coded I think but never solved it.
If you use a different weapon it likely works fine?
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
lordjulian
10
Years of Service
User Offline
Joined: 10th Jan 2014
Location:
Posted: 19th Oct 2016 12:58
OK. Thanks. I'll try changing the weapon.
Julian
PM
lordjulian
10
Years of Service
User Offline
Joined: 10th Jan 2014
Location:
Posted: 19th Oct 2016 13:17
The Uzi works OK but I decided to go back to RPG and live with the one hit wonder trait.
Julian
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 19th Oct 2016 14:44 Edited at: 19th Oct 2016 14:46
Quote: "My Tank Onky Fires Once"

To be honest "Onky" is a rubbish name for your tank ....
I wouldn't want to drive it either

J/K
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 19th Oct 2016 15:21
The "fix" that does work OK is to simply put a sound and use HurtPlayer(e,v) instead of the fire weapon(e).
As long as you check the player is visible and/or the tank is facing the right way it will at least fire more than once... Just need a timer to delay the damage.
You just won't be able to see the missile moving as there won't be one.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 19th Oct 2016 19:08
I can't test right now but do the RPG soldiers only fire once?
If not, what's different?
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 19th Oct 2016 19:38
I'm sure this must be a small thing. It may be worth mailing Lee about it. Is it an ammo count thing? I haven't tried to do anything like this myself, I generally avoid as much 3D modelling as possible. I'm sure if you mailed Lee with it, he would be happy to fix it, if it is down to hard coding


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 19th Oct 2016 19:42
I have a feeling it's as DVader says an ammo count issue, RPG probably only comes with one rocket and the script for RPG soldier adds ammo on a timer?

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 19th Oct 2016 22:54 Edited at: 19th Oct 2016 22:56
Quote: "I have a feeling it's as DVader says an ammo count issue, RPG probably only comes with one rocket and the script for RPG soldier adds ammo on a timer?"

I think you are right,if I remember right.if you take it of a dead soldier you only get one rocket.

Dave
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 20th Oct 2016 00:05
It's looking for specific animation frames to have completed first prior to resetting the fire capability (presumably the reload of the rocket). If you merge the rocketman animations into your model (then add any others for your tank) it should work OK.

Attached is an example - don't get excited about the model - it's a cube with three bones I quickly created But shows that the RPG can multiple fire when attached to other models. Place the attached in the entitybank\character folder then select as normal.

I had this issue with the airships in Cogwheel - wanted them to fire cannons (repurposed RPGs) at the player as they were encountered.

Cheers.





Attachments

Login to view attachments
lordjulian
10
Years of Service
User Offline
Joined: 10th Jan 2014
Location:
Posted: 20th Oct 2016 17:18
Thanks, everyone.
Julian
PM

Login to post a reply

Server time is: 2024-09-29 01:16:37
Your offset time is: 2024-09-29 01:16:37