Tag Info

New answers tagged

0

As a guy that's been modding many games for the past... 14-18 years, I'll just chip in. only a FEW modders ever got paid for their work or somehow got money out of it. IceFrog may or may not be one of them, and I really doubt he got any money out of Valve for DotA2 (if I could actually remember my mail/password for ICQ, i would've asked him now.) ...


0

The old DirectX SDK outlines a method for being able to do this, but it does require that you use Direct3D 9 Ex rather than just plain-old Direct 3D 9. Since 9 Ex is only available on Vista+ this may not suit your requirements. It's covered in the section titled Feature Summary (Direct3D 9 for Windows Vista) and I'll quote it in full: Reading ...


1

You can read the depth buffer in a pixel shader if you use one of the special formats described at http://aras-p.info/texts/D3D9GPUHacks.html. They are somewhat GPU vendor specific, but you can probably get away with just INTZ support. That lets you either do what you need to do on the GPU, or to use the shader to copy it to another render target that you ...


1

Using an atlas: You can pack the left and right versions into a single texture for each sprite, and only swap UV's based on the player's direction. Although you may put only left/right images into the textures, will your modders? A few descriptors to think about: bool AutoFlip; //Swap UV's based on L/R? bool ReverseTextures; //Reverse standard ...


1

Can you? Yes. You would need to capture all the packets sent from a client, and the return packets expected from the server. This is a super long and tedious process to decipher packets, if encrypted packets, you need to decrypt. You would then need to write the entire server logic to interface with your newly understood packets. The process usually ...


0

You can use the field inventory in the player class to help you. Using the method player.inventory.hasItemStack(ItemStack); to test if it contains the battery item. An example: @Override public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity) { if (player.inventory.hasItemStack(Items.battery)) { //Do something to ...



Top 50 recent answers are included