Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

All humans on one team. Uneven teams mutator.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • started a topic All humans on one team. Uneven teams mutator.

    All humans on one team. Uneven teams mutator.

    My hope was to create a mututor that group online human players all on the read team during tdm/ctf/etc play, just like in campaign. But I am getting lost in the code. Is there a easy way around this?

    Got this from Rattlesnake, but it override the number of bots i had set in the options screen. So was 1 vs 1 when I started the game.
    Code:
    function InitMutator(..)
    {
        local UTGame G;
        G = UTGame(WorldInfo.Game);
        if (G != none)
        {
            G.bPlayersVsBots = true;
            G.bCustomBots= true;
        }
    }
    I want to create a mut that adds bots to the blue team automatically. Ex 8 vs 16 in a ctf game or really any team based game. In reality to use the "Card" based system already in game but during the non campaign gametypes. Ie using the 'IronGuard' card in a mutator to add 2 (config) specific bots to the opposing team.

    Code:
    	if ( GameModifierCard == 'IronGuard' )
    	{
    		if ( Profile.HasPersistentKey( class'UTGameModifierCard'.static.GetAltKey(GameModifierCard)) )
    		{
    			i = CardCharacters.Length;
    			CardCharacters.Length = i + 2;
    
    			CardCharacters[i] = "Lauren";
    			j = Rand(IronGuardEnhancedPool.Length);
    			CardCharacters[i+1] = IronGuardEnhancedPool[j];
    		}
    		else
    		{
    			i = CardCharacters.Length;
    			CardCharacters.Length = i + 2;
    			for (j=0;j<2;j++)
    			{
    				r = Rand(IronGuardPool.Length);
    				CardCharacters[i+j] = IronGuardPool[r];
    				IronGuardPool.Remove(r,1);
    			}
    		}
    	}

  • replied
    Instead of re-creating the mutator for the PS3 version of it, I just used Alpha4 and removed most of the code which is in relation to UI and probably the problems with the UT3 on PS3.

    Please, test this mutator:
    https://github.com/RattleSN4K3/UT3-M...ses/tag/PS3-R1

    Hopefully, I can re-implemented the/a UI if everything is working again.

    Leave a comment:


  • replied
    Okay. To get a clean PS3 version, just might start from the beginning (basing on Alpha2). Hopefully, there won't be any issue.

    Leave a comment:


  • replied
    I have no idea why the PS3 version is not working reliable. Alpha1 and Alpha2 kinda works. Alpha3 and Alpha4 are not working, but Alpha3-13 is also not working which is quite similar to Alpha2. Not sure if I have to remove a specific class.

    I have pending changes atm on Alpha5 and I'm gonna commit these. I guess I should have to re-work on the PS3 version from scratch (starting from zero). Give me some days to create that (gonna post updates).

    Leave a comment:


  • replied
    • BotBalancer_Alpha3-13_NoSceneClass = Frozen @ 100%
    • re-boot PS3, disable mods, Boot UT3, re-enable mods = frozen



    my mod list shows the Lightning gun from a long time ago, i cannot recall if i got it working on PS3 so it may have issues left over from that, but if that is not the case then its the botbalancer

    Leave a comment:


  • replied
    Okay. I'm waiting. I'm currently working on something else to post it in the UT4 forum (as a prototype), let me know if I should cook for PS3.

    Leave a comment:


  • replied
    Ok, sorry for taking so long.
    - no joy with cooking for PS3. but that's no surprise and probably not your fault, i simply cannot get it to cook.
    - (maybe because i have the files in the Unpublished folders?, usually i cook my PC maps test thoroughly, then cook PS3, but im just thinking out loud)
    As for the PC version:
    • Other than 1 grammar mistake in the configuration descriptions the mutator seems to work. ← this is not an issue, it's just slightly unclear.
    • Really nice work. UI system, functions, everything.


    again, sorry for the late reply. I realized i was using the physx tutorial editor to try to test the mutator when it was in my published folder and using the normal game shortcut when the file was in the unpublished lol. It should have been the other way around

    Edit:
    i got your links, now i think i have all the latest stuff so i can test the PS3 version you cooked. will report back in a few hrs
    Many Thanks to you RattleSN4K3

    Leave a comment:


  • replied
    Any news? Should I provide a PS3-version with an external package?

    Leave a comment:


  • replied
    In case of trying to use an external package, you can use the u-file of a release and use the content package in the source files, the current content package is not referenced.

    For Alpha3 use the u-file of the release and the content package of the source files.

    Leave a comment:


  • replied
    It hardly looks like we have to try the external package for this mutator even if the empty internal scene was working.

    Btw.
    Alpha3-5 (and up), Alpha3-4 and Alpha3-3 (3-2, 3-1) are all from a different branch.

    Changes from Alpha3 to Alpha3-3:
    https://github.com/RattleSN4K3/UT3-M...-3...Alpha-3-3

    Changes from Alpha3 to Alpha3-4:
    https://github.com/RattleSN4K3/UT3-M...-3...Alpha-3-4

    Changes from Alpha3 to Alpha3-5:
    https://github.com/RattleSN4K3/UT3-M...-3...Alpha-3-5

    Alpha3-6 and up are all based on the previous version...
    Changes from Alpha3-5 to Alpha3-6
    Changes from Alpha3-6 to Alpha3-7
    Changes from Alpha3-7 to Alpha3-8
    Changes from Alpha3-8 to Alpha3-9
    Changes from Alpha3-9 to Alpha3-10
    Changes from Alpha3-10 to Alpha3-11
    Changes from Alpha3-11 to Alpha3-12
    Changes from Alpha3-12 to Alpha3-13

    Leave a comment:


  • replied
    I did not recook any of them, I will do a couple of them.
    Alpha3-12: No scene asset
    Alpha3-13: No scene class
    These both got to 100% then froze.

    I went back to the last working one this version does load properly.

    https://github.com/RattleSN4K3/UT3-M.../tag/Alpha-3-3

    V3 loads correctly
    Code:
    [BotBalancer UTUIDataProvider_Mutator]
    ClassName=BotBalancer.BotBalancerMutator
    FriendlyName=BotBalancer
    Description=Balances the teams based on set conditions (Players vs. Bots, Bot-ratio, Map recommended players, ...)
    GroupNames=
    bRemoveOn360=False
    bRemoveOnPC=False
    bRemoveOnPS3=False
    
    [LoadForAllGameTypes]
    Package=BotBalancer
    V4 onwards doesn't. I think that the last part may be causing the problems, I thought that was right but it may be wrong. I will re cook everything with the above working ini.
    Code:
    [BotBalancer UTUIDataProvider_Mutator]
    ClassName=BotBalancer.BotBalancerMutator
    FriendlyName=BotBalancer
    Description=Balances the teams based on set conditions (Players vs. Bots, Bot-ratio, Map recommended players, ...)
    GroupNames=
    UIConfigScene=
    bRemoveOn360=False
    bRemoveOnPC=False
    bRemoveOnPS3=False
    
    [LoadForAllGameTypes]
    Package=BotBalancer
    
    [Engine.PackagesToFullyLoadForDLC]
    MapName=UTFrontend
    Package=BotBalancer
    Give me several hours to test.

    Leave a comment:


  • replied
    Strange. 2 new versions.

    Alpha3-12: No scene asset
    Alpha3-13: No scene class

    Alpha3-13 is quite similar to Alpha3-1. I got the intention that something's wrong with the cooking process even if I do that precisely by clearing all cache data etc.

    Did you cooked any version by yourself and tested it it could be installed?

    Leave a comment:


  • replied
    Originally posted by RattleSN4K3 View Post
    Alpha-3-5: No UI population
    Alpha-3-6: No 2D-String datastore
    Alpha-3-7: No settings class reference in UI
    Alpha-3-8: No struct
    Alpha-3-9: No setter/getter for UI elements
    Alpha-3-10: No reference to OptionList/DynamicList
    Alpha-3-11: Empty scene
    Well unfortunately I tested them all and none of them unpacked properly all stuck at 99%/100%. Was Alpha-3-11 really an empty scene like b4? Anyways, no luck with any of them.

    Leave a comment:


  • replied
    I did check the dependencies on Alpha3-4 and I probably missed some code snippets which still reference the dynamic page/list class. I created several versions where each version would have removed a specific feature/code.

    Alpha-3-5: No UI population
    Alpha-3-6: No 2D-String datastore
    Alpha-3-7: No settings class reference in UI
    Alpha-3-8: No struct
    Alpha-3-9: No setter/getter for UI elements
    Alpha-3-10: No reference to OptionList/DynamicList
    Alpha-3-11: Empty scene

    Hopefully/probably Alpha3-10 will work and this would indicated that PS3 doesn't support UTUIDynamicOptionLis (or maybe even UTUIOptionList).

    Leave a comment:


  • replied
    Originally posted by RattleSN4K3 View Post
    New version:
    Alpha-3-4: Removed references to dynamic page class. You don't have to check anything game related. Try to install the mutator and open the config scene. The config scene is mostly empty. You can also try to run a game with the mutator.
    Does not unpack correctly, 99% then freeze. Can't test other features.

    Leave a comment:

Working...
X