Dynamic Actor Loader

  • Hey - turns out IRC is out and something a little more modern has taken it's place... A little thing called Discord!

    Join our community @ https://discord.gg/JuaSzXBZrk for a pick-up game, or just to rekindle with fellow community members.

Cratos

+++++++++
Sep 20, 2001
5,130
63
Austria
On request here a little Module to start actors dynamically depending on gametype. Mainly usefull to enable UTPure on DM but disable it on LeagueAS.

Copy/Paste from the readme:

=======================================================
Dynamic Actor Loader for UT99 by Cratos ([email protected])
=======================================================

What is Dynamic Actor Loader?
=============================
Dynamic Actor Loader can be used to load Actors (and Mutators) depending on the gametype.
E.g.: You can enable UTpure on Deathmatch but disable it on LeagueAssault
E.g.: You can automatically start Instagib on Bunnytrack maps


Installation
============
Add the Module into UnrealTournament.ini:

[Engine.GameEngine]
ServerActors=DynamicActorLoader.DynamicActorLoader


Configuration
=============
You can use up to 10 ActorConfig lines to specify a MapPrefix and the according Actor to be loaded on those type of Maps

Example:

[DynamicActorLoader.DynamicActorLoader]
ActorConfig[0]=(Prefixes="DM,CTF,DOM",Actors="UTPureRC7E.UTPureSA")
ActorConfig[1]=(Prefixes="BT",Actors="BotPack.InstaGibDM")

Line 1 will load UTPure on Deathmatch, CTF, DOM, but not on LeagueAssault
Line 2 will start Instagib on Bunnytrack games


Hints
=====
* You can specify more than one Prefix by separating the Prefixes with a ","
* You can specify more than one Actor by separating the Actors with a ","
* If you start Mutators dynamically be careful in the Webadmin: if you do a servertravel all dynamically loaded mutators
will become permanent (started on all maps). You have to remove them in Webadmin to get rid of them again ;)
 

Attachments

  • DynamicActorLoader.zip
    2.6 KB · Views: 408
  • Like
Reactions: ÊxØÐU§
can you work on something that allows voting mutators ?
dunno if it has something to do with this tool but there could be another window in Mapvote working like the kickvoting window.
If a certain percentage of the people (say at least 50%) vote for a mutator then the server will enable that mutator and keep it enabled until "No Mutator" is voted by at least 50%..
(useful for iAS :D there is unfortunately no populated insta server so if the DFP server was isnta at times it would help alot and also help the whole insta scene as more people would get to play iAS)