Announcer voicepack help?

Feel free to chat about non-Chaos stuff in here.
Post Reply
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Announcer voicepack help?

Post 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...
Last edited by Dark_Pulse on Wed Jul 28, 2004 3:50 pm, edited 1 time in total.
LoQtUS
Posts: 2710
Joined: Mon May 06, 2002 6:30 pm
Location: Orlando FL
Contact:

Post by LoQtUS »

Did you recompile the scripts?

Just a guess.
The Dark Side of Chaos.
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Post by Dark_Pulse »

D'Oh, I had a feeling I was forgetting something >_<

Let me try that...
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Post by Dark_Pulse »

No change.
jb
Posts: 9825
Joined: Fri May 03, 2002 12:29 am
Location: Coral Springs, FL
Contact:

Post by jb »

What are you trying to do as voice packs dont require any coding change...
Jb
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Post 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.
jeditobe1
Inactive Chaos Team Member
Posts: 2638
Joined: Mon Mar 10, 2003 11:06 pm
Location: The Dagobah System
Contact:

Post 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.
I make Darth Vader look like a teenage punk with a lightsaber.
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Post by Dark_Pulse »

I'll give that a shot.
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Post 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. ;)
jb
Posts: 9825
Joined: Fri May 03, 2002 12:29 am
Location: Coral Springs, FL
Contact:

Post 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?
Jb
jeditobe1
Inactive Chaos Team Member
Posts: 2638
Joined: Mon Mar 10, 2003 11:06 pm
Location: The Dagobah System
Contact:

Post by jeditobe1 »

Hmm, can you put the packages on a FTP and PM me the link? Ill have a look.
I make Darth Vader look like a teenage punk with a lightsaber.
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Post 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
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Post by Dark_Pulse »

PM sent.
Dark_Pulse
Posts: 11
Joined: Sun Jul 25, 2004 3:09 am
Location: Buffalo, NY
Contact:

Post by Dark_Pulse »

jeditobe helped me to get it working, thanks for all the help. =)
jb
Posts: 9825
Joined: Fri May 03, 2002 12:29 am
Location: Coral Springs, FL
Contact:

Post by jb »

yea :)
Jb
Post Reply