Accessing Mutator List -1 reply

Please wait...

Lulolwen

Mercutio

50 XP

13th July 2005

0 Uploads

149 Posts

0 Threads

#1 13 years ago

I'm trying to build compatibility to other InstaGib mutators in my own, but I don't know how I would go seeing if those mutators exist in the current level. Could I interate through the level's mutator list somehow and search for the class? Or could I do it some other way (foreach DynamicActors, my mutator's CheckReplacement function)?




Nittany Tiger Forum Mod

*Shrug*

289,107 XP

15th September 2004

0 Uploads

27,136 Posts

0 Threads

#2 13 years ago

I'm not sure. What are you looking to do?

Do you want your mutator to merge in with other active mutators?

Do you want your mutator to change it's relevant settings (i.e. not skeletize if another mutator is active that conflicts with that) so that the mutator won't conflict with others or not crash the game? I think that is what you were talking about on IRC.

If so, it might take some tricky coding, but it may be possible. I couldn't do it on the fly at this second, though, since I have no U-script experience. I have C-experience.

Hmm. I'll see what I can do or find someone that can fix that. It may just take if commands to make it work in my opinion (if U-script is like C or C++).




Lulolwen

Mercutio

50 XP

13th July 2005

0 Uploads

149 Posts

0 Threads

#3 13 years ago

I'm looking to integrate this with the standard Instagib mutator, the Zoom Instagib mutator, and the XxxX ESR mutator. Each one has its different settings which need to be changed. The thing is, I have to find out which if any is active in the current game/level. I'll mess around with using an iterator function tonight, and let you know how it turns out tomorrow.