Jump to content
  • Advertisement
Sign in to follow this  
gamerking

mod weapons and xml

This topic is 4812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, i want to mod my weapons in the game i making eg: a silencer +2 stealth -1 reload speed i was wondering how i could do that and also how should i store it. i was thinking a xml document but than hardcore game hackers could change their weapons from the game's directory and help would be great

Share this post


Link to post
Share on other sites
Advertisement
Lots of games store their "rules" in some sort of human-friendly format such as XML or INI. If you're concerned about multiplayer, then you need to compare the rules on each computer to make sure that they are compatible. There's usually not much that you can do about singleplayer, though. You just have to decide whether the added flexibility is worth the chance that someone might use it to cheat in singleplayer.

Share this post


Link to post
Share on other sites
Quote:
Original post by Holy FuzzYou just have to decide whether the added flexibility is worth the chance that someone might use it to cheat in singleplayer.

And it doesn't really matter if someone cheats in singleplayer game. If someone wants to spoil his gameplay experience, it's he's problem, you don't have to care about it.

Share this post


Link to post
Share on other sites
If you're worried about people playing around with such files, encrypt them. A simple XOR scheme would probably suffice, it'll stop a typical gamer playing around with them, a determined hacker would probably crack it rather easily however a determined hacker would probably also crack a more sophisticated scheme. For multiplayer simply give the server the authority, that is all clients use the server's version of the files.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!