you'd have to look at the fin flesh function your self and see how the decide what player to follow then change it to be how you want it to locate players
after comparing bo1 _zombiemode_spawner script to the waw version it looks like you pretty much just need to comment out/change these few sections of code from find_flesh in zombiemode_spawner.gsc comment out this section of code
by removing the section that trys to decide which player they should prefer over the other players it should revert to selecting the player based only on the distance from the zombie to the player i havent tested this, ive just looked at the difference between the different the two scripts and thats the largest differences
Last Edit: March 22, 2016, 11:03:01 pm by buttkicker845
after comparing bo1 _zombiemode_spawner script to the waw version it looks like you pretty much just need to comment out/change these few sections of code from find_flesh in zombiemode_spawner.gsc comment out this section of code
by removing the section that trys to decide which player they should prefer over the other players it should revert to selecting the player based only on the distance from the zombie to the player i havent tested this, ive just looked at the difference between the different the two scripts and thats the largest differences
Didn't work. Made the game lag horribly bad every 2-3 seconds in co-op
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
I made a function that makes the zombies never ignore any players for as long as they are live, but it didn't change anything, so I don't think self.ignore_player has anything to do with zombies being more attracted towards certain players
I made a function that makes the zombies never ignore any players for as long as they are live, but it didn't change anything, so I don't think self.ignore_player has anything to do with zombies being more attracted towards certain players
like i just said, your looking for "nothing" anyway
they are not attracted to "player 1" they are attracted to "the closest player"
in the event the distance between 2 players is the same - then itll use the indexes, not "all the time"...
look its in the code you posted from source...
Code Snippet
Plaintext
player = get_closest_valid_player( self.origin, self.ignore_player );
Last Edit: March 24, 2016, 09:57:50 pm by Harry Bo21
All I know is that the upmost player on the scoreboard gets favorited over the others (and then the 2nd upmost player is favorited towards the players below him and so on).
All I know is that the upmost player on the scoreboard gets favorited over the others (and then the 2nd upmost player is favorited towards the players below him and so on).
and that was what someone told you to change In a comment ( don't coz it's irrelevent )
The point is still there. Read the code "you" just posted. It gets the closest player - determined by how long the path is to each player - it is "not" weighted and I'm yet to experience this issue "in game"
Think your mistaken due to misinfo - I've seen people say this but I assure you it - is - wrong