Product Chat / Using stock ai with custom character

Author
Message
Gtox
3D Media Maker
9
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 7th Apr 2017 06:41 Edited at: 7th Apr 2017 11:36
I'm trying to get a custom character to work with the a_soldier.lua script, and I've hit a stumbling block. Most of the time it will work correctly, but every now and then it fires once or twice and then stands idle. Also, if the player is killed and respawns, it will stand idle and no longer attack. I'm using the Rocket Man fpe as a base. I've narrowed it down to the mesh - if I change the rocket man model path in the rocket man FPE to the custom mesh, I get the issue, and if I use the rocket man model in the custom FPE, then it works fine. I thought it might be the scale (the custom model is larger than the stock characters), but after I scaled it down I still get the issue.
This is driving me nuts, as I can't figure out why the mesh would cause a character to stop attacking after the player dies.

Edit : looks as though it's the firespot bone that's causing the problems. Lots of trial and error to get it working, but at least it is working.
i5 2500k 3GB GTX1060 8GB RAM Windows 10
devlin
10
Years of Service
User Offline
Joined: 12th Feb 2014
Location:
Posted: 8th Apr 2017 00:06
souds like the animations differ or are some how saved out of the program
you are using wrong. have you checked the anims mach. use the view animation
script in gg scripts. to check against the ones listed in the default fpe,
then you can always amend them in the original fpe, i had this problem before,
swiched to ultimate unwrap, for exporting then all fine. is the firespot in the default
position. if your firespot is not listed properly. your character will shoot a couple of
times .then nothing this happens with the new a.i update.
PM
Gtox
3D Media Maker
9
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 8th Apr 2017 05:06
The animations were fine, it was just the firespot.
i5 2500k 3GB GTX1060 8GB RAM Windows 10
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 10th Apr 2017 09:40
@Gtox : Are there any changes you would recommend I make at this end so other users don't experience the issue you found?
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

Gtox
3D Media Maker
9
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 10th Apr 2017 10:49 Edited at: 10th Apr 2017 10:57
@LeeBamber - not really, unless you expand the model importer to include rigged characters and all the fiddly bits associated with them. If you could edit the position of the firespot bone in the importer, select a weapon from a drop down list, and see the weapon attached to the firespot bone so that you could get it into exactly the right position, that would be useful.
i5 2500k 3GB GTX1060 8GB RAM Windows 10
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 10th Apr 2017 19:28
I want to avoid going too far down the '3D modeler; rabbit hole but perhaps you see sense in me editing the Rocket man? If so, send me an 'epic fail' FPM level using this character so I can reproduce, see the bad, and find an artist to help me correct the firepot position, thanks!!
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Apr 2017 20:15 Edited at: 10th Apr 2017 20:15
wrong thread
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Gtox
3D Media Maker
9
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 10th Apr 2017 20:34
@LeeBamber - the default rocket man is fine (although he did once leap 30 feet into the air when firing a rocket, but that seems to be rare and random), the problem was with a custom character using the rpg, so I don't think there's much you can do about it. My original post probably didn't make the issue clear.
i5 2500k 3GB GTX1060 8GB RAM Windows 10
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 15th Apr 2017 13:39
It's because the rocket man is really superman
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 SLI mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3


A new competition running for GG
PM

Login to post a reply

Server time is: 2024-04-25 13:46:21
Your offset time is: 2024-04-25 13:46:21