Giter VIP home page Giter VIP logo

war2tools's People

Contributors

cabelitos avatar jeanguyomarch avatar jonolemon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

war2tools's Issues

Tool to edit spell costs, spell damage and unit movement speed?

Hello, I was baffled to see people still modding this game. I used to love making custom maps for it and play around with the unit values in UDTAED. But you could only do so much with it. I wanted to ask you, if there is any way of changing unit movement speed or spell mana cost, like making healing cost more and invisibility cost less. Or even change a unit's mana regen?

pud.h: PUD_ICON_DEATH_COIL and PUD_ICON_DEATH_AND_DECAY are mixed up

I realized that the death coil and death and decay icon ids are mixed up:

PUD_ICON_BLOODLUST = 112,
PUD_ICON_RAISE_DEAD = 114,
PUD_ICON_DEATH_COIL = 103,
PUD_ICON_WHIRLWIND = 104,
PUD_ICON_HASTE = 96,
PUD_ICON_UNHOLY_ARMOR = 98,
PUD_ICON_RUNES = 97,
PUD_ICON_DEATH_AND_DECAY = 108,

should be

PUD_ICON_BLOODLUST = 112,
PUD_ICON_RAISE_DEAD = 114,
PUD_ICON_DEATH_COIL = 108,
PUD_ICON_WHIRLWIND = 104,
PUD_ICON_HASTE = 96,
PUD_ICON_UNHOLY_ARMOR = 98,
PUD_ICON_RUNES = 97,
PUD_ICON_DEATH_AND_DECAY = 103,

It would be nice if this could be verified

"pud_config.h" included in pud.h but does not exist

I did the following under Ubuntu:

  • clone war2tools
  • build&install
  • when using pud.h as usual inside my project compiler says "cannot find pud_config.h" (line 43 in file pud.h)

There is no pud_config.h, only pud_config.h.in? After deleting line 43 everything compiles and works fine

PUD_ICON_REPAIR is missing in pud.h

Currently pud.h looks like this:

PUD_ICON_HUMAN_MOVE = 83,
PUD_ICON_ORC_MOVE = 84,
/* Icon 85 is invalid */
PUD_ICON_COLLECT = 86,
PUD_ICON_BUILD_STAGE_1 = 87,

However, icon 85 is perfectly valid:

icon repair

Proposal:

PUD_ICON_HUMAN_MOVE = 83,
PUD_ICON_ORC_MOVE = 84,
PUD_ICON_REPAIR = 85,
PUD_ICON_COLLECT = 86,
PUD_ICON_BUILD_STAGE_1 = 87,

I tested this in my project and the icon appears as desired

Tool to edit save files?

Hi, just want to make sure if you havent worked the save files, those are really important for the game and could achieve other stuff not present in map..

pud.h uses C++ keyword "private"

It is currently not possible to use war2tools within a C++ project since the structure "Pud" in pud.h contains the following field:

Pud_Private *private; /**< Internals, private and opaque data. Don't touch ;-) */

Simple fix that works is:

Pud_Private *private_; /**< Internals, private and opaque data. Don't touch ;-) */

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.