Jump to content
NHL'94 Forums

Recommended Posts

Posted

The game uses "assignments" for the players (and the puck) to tell them what to do and in what situations to do them. For example, there's an assignment to hold the Stanley Cup after winning the playoffs, an assignment to go to the bench, or go to the penalty box, fist pump when you score, stop the puck from flipping, etc. Below is the list of assignments. Some of them are straight forward with their descriptions:

image.png

(yes, there is an assfight and assfwatch, but unfortunately, they are empty)

A majority of these assignments are specific to CPU players. Some of them are used by "joystick" controlled players, as the NHL92 source code likes to call it. I haven't found the name of one of them, though I think it's to make the CPU goalie skate to get the puck in the corner, but it also might not be used anymore.

Each player has a list of assignments. They can be done in order, or a new one can be forced to start immediately (it will replace the current assignment). Depending on situations that are checked, the assignment can be changed on the fly.

Many of these assignments are temporary, like assscore and assstanley. Once these temporary assignments are done, the game will "exit" them and move to the next assignment. 

Some assignments have permanent spots on the assignment list. They are always on there. These are assignments that are specific to a position, and is what the CPU player will be doing in most cases. These are near the top of the list, the "Os and the Ds".

A CPU player will either be doing the offense assignment, or the defensive assignment in most cases. These assignments tell the players where to go on the ice relative to where the puck is. For example, if the puck is in the attack zone, those players on offense that do not have the puck will skate to specific zones, and their position in the zone is randomized. The CPU player with the puck will have a different assignment, called "asspuckc". This assignment would be used to determine if the CPU player will shoot or pass, where they will skate to, etc.

The players on defense will also go to specific zones, and the one nearest the puck will get a special assignment called "assnearest". This player will possibly attempt to check the player with the puck, and will be the more aggressive one on defense. Each loop through the assnearest assignment, the game will check and see if there is a defensive player closer to the puck, and will change assignments if needed. The assnearest assignment is also given to players on both teams that are nearest to a loose puck. Those players will attempt to retrieve the puck for their team.

I will post more detail about each offense and defensive assignment, along with the assnearest assignment, as these are the most important ones.

 

  • Love 1
  • Thanks 2
Posted
20 hours ago, 77 said:

the assfight in 92 aint empty =P

This is true! 

Have to port over the sprites and animations though. It's essentially possible though

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...