Swapping a Team's Sarge for another Hero in MP

Have modding questions or discovered something new? Post here.
Post Reply
User avatar
Secg
Half Track L2
Half Track L2
Posts: 200
Joined: Sat Jun 10, 2017 12:28 am
United States of America

Swapping a Team's Sarge for another Hero in MP

Post by Secg »

Anyone knows how to? Theoretically, I think I can extract the file mods\ruleset\sarge\sarge_types.cfg & change the Type("army.unit.sarge") into, e.g. Type("army.unit.scorch").

However, if the other player does not have the same extracted & modded file. that'll cause dys-syncing error.

I think I can create an objective to spawn a Hero, but Sarge would still be there? So how did modders edit Sarge out?
ImageImage
User avatar
TommyCD1
Moderator
Moderator
Posts: 1143
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: Swapping a Team's Sarge for another Hero in MP

Post by TommyCD1 »

If you make a custom map you can make whatever units you want to spawn. The easiest way to do this is infact to simply modify obj_army_sarge.cfg as you've described. However this files is located in the base.x not a ruleset.

If you put your modded unit into a multiplayer map, then the game will not desync as long as both players are playing the same map.
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests