Thundernerd Posted August 12, 2015 Share Posted August 12, 2015 Hi there, So I tried to make something that would allow for extra options in the purchase terminal. However, this required some changes to the actual purchase terminal code and therefore the RenX_Game.u has been changed. I set up a server on one of my computers and tried to connect to it with another but with no success. I am getting a version mismatch on the RenX_Game package (which kinda makes sense, since I changed it). Is there a way to fix this, or maybe a way around? It downloaded the package when I was connecting to the server but as soon it was done it failed connecting. Cheers Quote Link to comment Share on other sites More sharing options...
RoundShades Posted August 12, 2015 Share Posted August 12, 2015 This is literally, the definition of a Mutator. Look up some information on Unreal 3 Mutators, both on this site and on other sites. There is already a similar mutator too, from last patch, servers used it as a balance patch until the devs patched it in. Basically, codewise, you checkreplacement things that exist already in-game since you can't modify them, with a clone of it which you can modify how you want. It is technically like adding another soldier in the game, and having the game replace any vanilla-soldiers with your-soldier, and besides your changes make it the same vanilla code and model. Same with vehicles, and the purchase system which itself is an actor just like an infantry or vehicle. Quote Link to comment Share on other sites More sharing options...
Thundernerd Posted August 12, 2015 Author Share Posted August 12, 2015 This is literally, the definition of a Mutator. Look up some information on Unreal 3 Mutators, both on this site and on other sites. There is already a similar mutator too, from last patch, servers used it as a balance patch until the devs patched it in.Basically, codewise, you checkreplacement things that exist already in-game since you can't modify them, with a clone of it which you can modify how you want. It is technically like adding another soldier in the game, and having the game replace any vanilla-soldiers with your-soldier, and besides your changes make it the same vanilla code and model. Same with vehicles, and the purchase system which itself is an actor just like an infantry or vehicle. Yeah I already gave mutators a shot but didn't seem to work out. Though I only tried one thing and then went for the other method. Thanks (again ) Quote Link to comment Share on other sites More sharing options...
RoundShades Posted August 12, 2015 Share Posted August 12, 2015 How to Make a Mutator - viewtopic.php?f=136&t=74143 Example How To Harvester Mutator - viewtopic.php?f=119&t=72926 Balance Mutator w/ Various Changes - viewtopic.php?f=169&t=75186 Stealth Tank/Purchase System, Particularly the First and Last Pages - viewtopic.php?f=136&t=75238 How to Change Example Mutators into Their Original Code (.U -> .UC) - viewtopic.php?f=136&t=75223 Quote Link to comment Share on other sites More sharing options...
Thundernerd Posted August 12, 2015 Author Share Posted August 12, 2015 How to Make a Mutator - http://www.renegade-x.com/forums/viewto ... 36&t=74143Example How To Harvester Mutator - http://www.renegade-x.com/forums/viewto ... 19&t=72926 Balance Mutator w/ Various Changes - http://www.renegade-x.com/forums/viewto ... 69&t=75186 Stealth Tank/Purchase System, Particularly the First and Last Pages - http://www.renegade-x.com/forums/viewto ... 36&t=75238 How to Change Example Mutators into Their Original Code (.U -> .UC) - http://www.renegade-x.com/forums/viewto ... 36&t=75223 Holy cow! Thanks for those links! Quote Link to comment Share on other sites More sharing options...
Agent Posted August 12, 2015 Share Posted August 12, 2015 You should also be able to make your own gamemode, though I haven't tested if this automatically transfers from server to client (it should, though). Just extend Rx_Game, and your server command line could be something like: start Binaries\Win32\UDK.exe server CNC-Field?game=Thundernerd.TS_Game This assumes a package named "Thundernerd" contains a class named "TS_Game" extending Rx_Game. Alternatively, make a mutator using the aforementioned tutorials. Quote Link to comment Share on other sites More sharing options...
Thundernerd Posted August 12, 2015 Author Share Posted August 12, 2015 Got the mutator working except for one thing. It just does not want to load the config file. It works when I do it through the SDK but when I put it on my server it refuses to work. Any tips on what it might be? Quote Link to comment Share on other sites More sharing options...
RoundShades Posted August 13, 2015 Share Posted August 13, 2015 I can only say that the Balance Mutator has a config for it, and it also has a particular location that config has to be in order to be read. Have you basically mimic'd what it did? I can look at exactly what it did and where to put the config at in a few hours. Quote Link to comment Share on other sites More sharing options...
Thundernerd Posted August 13, 2015 Author Share Posted August 13, 2015 Turns out the config file was loaded correctly only something went wrong replicating. Thanks anyway Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.