[Mutator] Weapon Milestone Announcements

Anything about UT2004 mapping, Uscripting & more
Post Reply
User avatar
Crusha K. Rool
Posts: 119
Joined: Mon 29. Aug 2011, 00:14
Description: Coding Crocodile
Location: Germany
Contact:

[Mutator] Weapon Milestone Announcements

Post by Crusha K. Rool »

http://www.mediafire.com/?bl92kypnpxok59f

This Mutator counts kills from specific weapons and triggers a reward sound cue similar to the Flak Monkey and Head Hunter awards once a certain threshold with that particular weapon is reached.
Specifically these trigger after 15 kills with:
-Shield Gun (Jack Hammer)
-Assault Rifle (Gun Slinger)
-Bio Rifle (Bio Hazard)
-Link Gun secondary (Shaft Master)
-Minigun (Blue Streak)
-Rocket Launcher (Rocket Scientist)

A second tier of announcement rewards is triggered upon reaching 30 kills with a weapon.

In Onslaught matches does the Mutator also trigger a Node Buster award upon building/destroying 30[60] PowerNodes.
It also has an award cue for becoming "double powered up", i.e. having 199 health, 150 armor, UDamage or an adrenaline combo active and picking up another super pickup.
(And there is a very rare announcement if you should ever manage to land a specific skill- or luckshot.)


So yeah, would be nice to test it on the server before I go for a global release. I already did a test on my dedicated localhost server and everything worked fine, but you never know when it comes to more than one player. ;)
If you care about whitelisting, then adding "WeapMilestoneAnnounceRules" to the ServerActors list instead of using the Mutator should be enough.
User avatar
Crusha K. Rool
Posts: 119
Joined: Mon 29. Aug 2011, 00:14
Description: Coding Crocodile
Location: Germany
Contact:

Re: [Mutator] Weapon Milestone Announcements

Post by Crusha K. Rool »

Hmm, I had Omni test it. Apparently it killed their server when run as ServerActor:
Here's what I did:

copy files into storage folder ./ONS/pi
install files into Sound and System folders

mod ut2004.ini to add it as a serveractor (just added the line in there)

stop ons / start ons

we fell into the restart-loop with the error being:

Code: Select all

Starting ut2004 server (  )
Executing Class Engine.ServerCommandlet
Browse: ONS-Aridoom.ut2?Name=LLAMA?Translocator=False?Gamestats=True?Mutator=UAdminModV095b.UAdminMod
Collecting garbage
Purging garbage
Garbage: objects: 43832->43825; refs: 701776
Game class is 'ONSOnslaughtGame'
Failed to load 'NULL': Can't resolve package name
Failed to load 'Class None.WeapMilestoneAnnounceRules': Can't resolve package name
If i were to guess we just need to change the serveractor line to MutWeapMilestoneAnnonuceRules
Seems like I shouldn't tell admins what to enter in their ServerActors line without ever having gone through the process myself. :>
I guess using MutWeapMilestoneAnnounce.WeapMilestoneAnnounceRules in the ServerActor list should fix the issue, right?
User avatar
Wormbo
Posts: 384
Joined: Sun 28. Aug 2011, 12:52
Description: Coding Dude

Re: [Mutator] Weapon Milestone Announcements

Post by Wormbo »

ServerActors list takes class names, i.e. PackageName.ClassName format.
Post Reply