Page 1 of 1

Announcer voicepack help?

Posted: Wed Jul 28, 2004 10:53 am
by Dark_Pulse
OK, Here's what I've done so far:

1) Imported all the sounds into a package, called DarkseidAnnouncer.

2) Created a new package, DarkseidAnnouncer.u, in Info>AnnouncerVoice (Must turn off Placeable Classes Only to get this to show)

3) Made sure the package was highlighted, checked in the bottom panel, and saved

4) Wrote a UCL by looking at CUT2's as a guide.

5) Started the game, went to settings. So far so good - My pack is listed, and it plays sounds when I select it.

6) attempt to start a map.

7) Get this error:

General protection fault!

History: UObject::StaticAllocateObject <- (Package None) <- UObject::CreatePackage <- UObject::ResolveName <- UObject::StaticLoadObject <- (Engine.Sound None..HatTrick NULL) <- UObject::execClassContext <- (DarkseidAnnouncer ONS-Torlan.DarkseidAnnouncer @ Function Engine.AnnouncerVoice.PrecacheAnnouncements : 006E) <- UObject::ProcessEvent <- (xPlayer ONS-Torlan.xPlayer, Function XGame.xPlayer.PostBeginPlay) <- ULevel::SpawnActor <- (xPlayer) <- UObject::ProcessEvent <- (ONSOnslaughtGame ONS-Torlan.ONSOnslaughtGame, Function UnrealGame.DeathMatch.Login) <- ULevel::SpawnPlayActor <- MatchViewportsToActors <- (ONS-Torlan) <- ClientInit <- UGameEngine::LoadMap <- LocalMapURL <- UGameEngine::Browse <- ClientTravel <- UGameEngine::Tick <- Level Torlan <- UpdateWorld <- MainLoop <- FMallocWindows::Free <- FMallocWindows::Realloc <- 676F4C57 0 FArray <- FArray::Realloc <- 0*2 <- FMallocWindows::Free

Obviously, it's bombing during a voice precache, but I don't know Why - seeing as I have a HatTrick Sample. The game also refuses to start again until I delete the voice entries from my User.ini.

Anyone got any idea what to do here? I'm so close to getting this thing running, and yet, so far...

Posted: Wed Jul 28, 2004 11:55 am
by LoQtUS
Did you recompile the scripts?

Just a guess.

Posted: Wed Jul 28, 2004 12:20 pm
by Dark_Pulse
D'Oh, I had a feeling I was forgetting something >_<

Let me try that...

Posted: Wed Jul 28, 2004 12:37 pm
by Dark_Pulse
No change.

Posted: Wed Jul 28, 2004 1:46 pm
by jb
What are you trying to do as voice packs dont require any coding change...

Posted: Wed Jul 28, 2004 3:01 pm
by Dark_Pulse
I'm trying to set up so I have a custom voicepack. I've given it its own title and such, and unique voices, and I'm just trying to get it to run in the game.

As I've said, I'm halfway there - I can select it as a voice, but if I try to load a level, the game bombs with the error above.

Here's the contents of the UCL:

Announcer=(ClassName=DarkseidAnnouncer.DarkseidAnnouncer,PackageName=DarkseidAnnouncer,
FallbackPackage=AnnouncerMale2K4,EnglishOnly=0,FriendlyName=DarkseidAnnouncer.DarkseidAnnouncer.AnnouncerName,
FallbackName="Darkseid")

I've coded nothing special at all for it. I just want to get it to work and stop crashing and such. :P

If so desired, I can send you the files.

Posted: Wed Jul 28, 2004 3:42 pm
by jeditobe1
Hmm.. i would rename the sound package so it has a different name than the u file.

Unreal doesnt handle like named packages well.

Posted: Wed Jul 28, 2004 3:50 pm
by Dark_Pulse
I'll give that a shot.

Posted: Wed Jul 28, 2004 3:57 pm
by Dark_Pulse
Still Bombing, same error, I'm clearly missing a step here, but since no one seems to know of a tutorial or what to do, I have no idea what step I'm missing. :?

1) Open UnrealEd, Load up Sound Package (AnnouncerDarkseid.uax)

2) Select Actor button, uncheck "Placeable Classes only"

3) Select Info>AnnouncerVoice

4) Right Click that, Select New.

5) Put in file names: In Light of the previous post, I chose the Package to be DarkseidAnnouncer and the name to be DarkseidAnnouncerVoice.

6) Window pops up with script. I delete the first three lines (Merely comments) and the placeable line.

7) Compile Changed. This succeeds and I close the scripter.

8) Back in the Actor menu, I click to show the packages dock, I checkmark DarkseidAnnouncer, make sure DarkseidAnnouncerVoice is highlighted, and click save. It saves fine.

9) Close UEd, boot the game. Game boots fine.

10) Go to settings and select my announcer. Sounds play; seems fine.

11) Select a gametype, and a map, choose to load it.

12) Load screen comes up, then 10-15 seconds later it crashes with an error like the one above.

13) Game won't restart unless I edit out the announcer lines in my INI (Gives a Visual C++ Runtime Error.)

It seems to be wanting some sort of package that I'm not giving it (The NULL reference maybe?) But I have no idea what exactly, as again, there's really no tutorials on this. You guys figured it out, so this is pretty much my best option here. :P

Let's just say if I figure this out I'll put it on Unreal Wiki or something. ;)

Posted: Wed Jul 28, 2004 5:18 pm
by jb
Hmm should not have to do all of that to get a voice back. We added two voice packs with out ever coding anything special. Shadowstar any ideas?

Posted: Wed Jul 28, 2004 7:05 pm
by jeditobe1
Hmm, can you put the packages on a FTP and PM me the link? Ill have a look.

Posted: Wed Jul 28, 2004 7:25 pm
by Dark_Pulse
Sure, I'll pack them all up and put them on my site. It'll have the INT, UCL, U and UAX files. and be 22.7 MB. I'd use RAR, but it seems not everyone has figured out RAR yet. ;p

Posted: Wed Jul 28, 2004 7:40 pm
by Dark_Pulse
PM sent.

Posted: Wed Jul 28, 2004 8:45 pm
by Dark_Pulse
jeditobe helped me to get it working, thanks for all the help. =)

Posted: Wed Jul 28, 2004 9:55 pm
by jb
yea :)