• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Player 13-16 issues

Status
Not open for further replies.
Level 14
Joined
Jul 26, 2008
Messages
1,009
Hi, I wanted to make it so that Player 13-16 are treated like normal players (Though I understand their slots cannot be filled).

THere's a few things that they do though where they don't get normal player treatment.

Right now I've turned off sleeping for them, but there's a problem where when they approach a shop you cannot purchase things for them even if they have money.

Other than this I haven't come across to many problems I can think of. I disabled their A.I. guard and general AI sequence.
 
Level 11
Joined
Mar 31, 2009
Messages
732
UI\FrameDef\Glue\PlayerSlot.fdf

You can theoretically overwrite this with a new version in war3patch.mpq to make those slots fillable, though all players would need your version of the file, and you'd have to play over LAN/VPN/Garena.

Have you checked all data fields attached to Shop Sharing and Shop Purchase? Checked everything in gameplay constants?

If so, you'll have to start digging through Units\AbilityData.slk (spreadsheet).
 
Level 14
Joined
Jul 26, 2008
Messages
1,009
No worries. I'm not concerned with turning those into playable slots.

I'm more concerned with making the game treat them like Computer Controlled players. I'll try out the suggestions you mentioned, though I'm not sure what game constants will affect the way they're treated. Guess I'll find out by going through it.
 
Level 14
Joined
Jul 26, 2008
Messages
1,009
Well I checked Shop Sharing and Purchase and they're all on the default. But there's nothing in them that would indicate neutral units not being able to use it.

I checked all of the constants, but there wasn't anything much for shops and creeps.

Is there something I'm missing? How would I allow nuetral players to buy things from shops? I ask mainly because I'm having players control Nuetral players to do things, and I need them to act like players.
 
Status
Not open for further replies.
Top