Product Chat / [SOLVED] Enhanced weapons pack help to bots

Author
Message
Skoglund
6
Years of Service
User Offline
Joined: 10th Jan 2018
Location:
Posted: 17th Jul 2019 22:04
Sorry if this is the wrong spot to post this thread. I have made custom character with fuse 3ds max and fbx2gg. Now my custom characters is to have the akm from Enhanced weapons pack. Now in fbx2gg I gave her assult rifle animations and then copyied original shotgun soldier bmp & fpe + added her custom xfile and textures. Everything works great i see her in game as ai/bot and she fires at me with the akm and i take damage. Only problem is there is no gun sound when she is shooting. I am wondering if i can fix this somehow?

I change in the fpe file the desc and model to her name.
Then hasweapon = enhanced\akm
Insted of original shotgun that was there.
But i don't know how to make sound
When i as player use akm ingame sound works, but not for the ai :/

When i create other bots/ai and use the "original" weapons in GG that all works great animations + sound

The author of this post has marked a post as an answer.

Go to answer
PM
Skoglund
6
Years of Service
User Offline
Joined: 10th Jan 2018
Location:
Posted: 18th Jul 2019 11:01
The akm from GG enhanced weapons pack does not make sound when npc is shooting, anyone know how to fix this please?
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 18th Jul 2019 11:21
yes you said in your first post, please be patient....
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
Kitakazi
17
Years of Service
User Offline
Joined: 9th Feb 2007
Location:
Posted: 21st Jul 2019 21:32
Yea it is cause fire sound on the enhance weapons pack are not mono. They need to be changed to mono .wav files.
Skoglund
6
Years of Service
User Offline
Joined: 10th Jan 2018
Location:
Posted: 19th Aug 2019 11:34
It didn't do the trick for me I change them to mono wav and i got "runtime error 3001" and game crashed. I tried with the AKM. Luckily I saved the original OGG files so no harm done. But it's so frustrating. Why do they release weapons with a different format then the original. It's not fun in a single-player game to be the only one with a damn rifle :S

It might have been I who F** up the converts because I used a "free program" to do so. But if anyone have converted the files successfully id love to use them! <3

It works to give the bots the AKM but there is still no sound when they are shooting ;_;
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 19th Aug 2019 16:24
use this site and choose mono
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 19th Aug 2019 17:42
I have used Audacity with pretty good results for sound formats.
I'm pretty sure (since it's been about 8 months), but you can split
the channels and save a mono file. Also I think GG uses -- ?
14k or.. (mem) whatever... check it and let us know!

So we can all remember... !
PM
Skoglund
6
Years of Service
User Offline
Joined: 10th Jan 2018
Location:
Posted: 20th Aug 2019 10:12
Thanks for helping guys! But I still cant get it to work :I

When the npc uses the AKM from enhanced weapon pack I only hear Bullets_FlyBy I guess from the GG>Files>audiobank>misc

As smallg suggested I tried to change the OGG files into OGG mono via the site for the AKM but still no sound when npc is shooting. (Only bullets flying by) I don't know if I am in the right path but heres is the sound folder i tried to change GG>Files>gamecore>guns>enhanced>AKM

I also tried again to change the sound into wav files like the original weapons 1911/shotgun etc but that just crashes the game, so no luck there.
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 20th Aug 2019 12:03 Edited at: 20th Aug 2019 12:03
WAV Mono, not ogg. Sound is handled by DX and DX is Microsoft rubbish so it's always best to use Microsoft rubbish file formats with it!
Been there, done that, got all the T-Shirts!
PM
Skoglund
6
Years of Service
User Offline
Joined: 10th Jan 2018
Location:
Posted: 20th Aug 2019 12:55
AmenMoses I tried that aswell no luck sadly
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 20th Aug 2019 13:07
This post has been marked by the post author as the answer.
It does work. Try using audacity to convert.

Or move one of the 'fire.wav' sounds that you know works from one of the other guns as a temporary measure to get you going.

Also, make sure entry in gunspec.txt is pointing to the wav file (rather than ogg), e.g.:

sound1 = fire.wav

Cheers.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 20th Aug 2019 13:47 Edited at: 20th Aug 2019 13:50
Save sound files as " 16-bit, Mono PCM audio wave file " for best results
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Skoglund
6
Years of Service
User Offline
Joined: 10th Jan 2018
Location:
Posted: 20th Aug 2019 13:48
cybernescence thank you thank you thank you!!!

I think editing gunspec.txt did the trick! Now its working for the npc + me and no crashes!
I put the fire.wav file insted of the fire.ogg and just change in the text document to fire.wav

Now let the games begin!
PM

Login to post a reply

Server time is: 2024-11-24 01:13:09
Your offset time is: 2024-11-24 01:13:09