Blockland Forums > Modification Help
Custom Player Type
<< < (3/3)
Mr.Noßody:
How do I specify the dts file?
Amade:
Use armor::onNewDatablock(%this, %obj) - it'll cover when a player spawns as the datablock (i.e. in a minigame) or changes to it (i.e. from wrench events).

You don't specify the DTS file, you make an image datablock for it. Just about every weapon has an image datablock, you just need to take that and modify it to be inactive instead of a gun. Then you need to mount it to the player.
Mr.Noßody:
Could I get an example?
Mr.Noßody:
Example of what Amade said in Coding please?
Mr.Noßody:
Really? No one has an example of this?
Navigation
Message Index
Previous page

Go to full version