|
Post by luckybicz on Jan 5, 2009 4:23:08 GMT 2
Hey MarkieBoy. First of all me, the admins on our servers and the majority of our players wanna say a big thx for your great work...really appreciate it, makes life a lot easier now on the servers.
My question is : in the file "DynamicLoadout.ini" there is the section "[ForcedCustomSet]", which can be enabled with the "ForceEquipment=True" switch in the "Swat4DedicatedServer.ini".
Would it be possible and maybe not too hard work to include two more customsets, like "[ForcedCustomSet2]" and "[ForcedCustomSet3]", which could then be enabled with "ForceEquipment2=True" for example ?
We would have a great use for such an option on our server.
Anyway, your mod gets better and better and when you make it to include an option to ban cheaters like the team-arresters, or people who can move/shoot on when being tazered, like you already talked about in another thread, it will be perfect.
Keep up the good work.
Regards, Lucky.
|
|
|
Post by |WM|MarkieBoy on Jan 5, 2009 9:43:27 GMT 2
I love ideas which sounds a lot of work, but are very easy to execute. It's done! There's a new variable made in the section AMMod.MBMod "ForceCustomEquipmentSet", which is a string and you can set it to the name of the loadout you want players to be forced to when you set ForceEquipment to True. Example: ForceCustomEquipmentSet="ForcedCustomSet" ForceCustomEquipmentSet="ForcedCustomSet2" ForceCustomEquipmentSet="A1" ForceCustomEquipmentSet="A3" This way you have unlimited options cheers!
|
|
|
Post by luckybicz on Jan 6, 2009 17:51:25 GMT 2
Hey Mark, many many thanks in advance. But still one question, somehow I don't get it.
We would like to play for example in Round1 with CustomEquipmentSet A1, then Round2 with normal weapons, and Round 3 with CustomEquipmentSet A3. How can the Server then know which CustomEquipmentSet he has to take in this round when we only can put ForceEquipment to True ? At this time we switch between normal and customset rounds by executing "kick ac sc set ammod.amgamemod forceequipment true" at the beginning of a round and then set it with the same command to false at the end of a round.
Or do you mean I have to put ForceEquipment to True and then add the "ForceCustomEquipmentSet="A1" in the AMMod.MBMod section by executin an "sc" command ? We wanna do it while server is running. Maybe I just got it wrong and mixed up with ForceEquipment and ForceCustomEquipmentSet. Many thanks for your help, greetz, Lucky.
|
|
|
Post by |WM|MarkieBoy on Jan 7, 2009 8:42:12 GMT 2
Hey Lucky, Lol sorry, perhaps in the rush i explained it a bit wierd An example of commands you'll have to run in the server: kick ac sc set AMMod.MBMod ForceCustomEquipmentSet A1 // setting the equipment to preset A1 kick ac sc set AMMod.AMGameMod ForceEquipment True // Forcing everybody to use the preset, set in ForceCustomEquipmentSet. // Next round: kick ac sc set AMMod.AMGameMod ForceEquipment False // normal player's loadout // Next round: kick ac sc set AMMod.MBMod ForceCustomEquipmentSet B2 // setting the equipment to preset B2 kick ac sc set AMMod.AMGameMod ForceEquipment True // Forcing everybody to use the preset, set in ForceCustomEquipmentSet. Like you said, you need to run some "sc" commands V5 should be there really soon, though school has started again so the mod progress goes a little slower than in holidaytimes gr Mark
|
|
|
Post by luckybicz on Jan 8, 2009 12:43:14 GMT 2
Hey Mark, ah yep, of course, now i got it, just tested it and it works perfect, many many thanks, really great work !!! Just in case you didn't know already, seems your stats server is down and the mod can't connect, as well as the main-page at markmods.com, but maybe you are just working on something.
Oki, thanks again, greetz, Lucky.
|
|