Author Topic: No items on client enter?  (Read 564 times)

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
No items on client enter?
« on: February 26, 2011, 07:52:54 pm »


               Where can I go to remove what items the player gets when first logging in? I have a script to remove it, but would rather not have them spawn on the player in the firts place.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
No items on client enter?
« Reply #1 on: February 26, 2011, 11:36:47 pm »


               There is a reason we all seem to do this by script.  



The reason is that the character creation and item given to the player are handled by the client.  



In a multi player game this happens before haks or the module is even loaded so there is no way to stop what is given to the character at creation.



For a single player game I can not remember if it is handled by the package system or the ini system.  If it is the package system you would need to modify the package 2da's and place them in a hak.  If it is the ini system you can modify the files but I do not remember at the moment if the files are even excepted in Haks.  



In short you best bet that is sure to work is to stick with the OnClientEnter script.
               
               

               
            

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
No items on client enter?
« Reply #2 on: February 26, 2011, 11:59:42 pm »


               

Lightfoot8 wrote...

There is a reason we all seem to do this by script.

The reason is that the character creation and item given to the player are handled by the client.

In a multi player game this happens before haks or the module is even loaded so there is no way to stop what is given to the character at creation.

For a single player game I can not remember if it is handled by the package system or the ini system. If it is the package system you would need to modify the package 2da's and place them in a hak. If it is the ini system you can modify the files but I do not remember at the moment if the files are even excepted in Haks.

In short you best bet that is sure to work is to stick with the OnClientEnter script.


Thanks! That is exactly what I needed to know..