Author Topic: Replacing Ranged Weapons?  (Read 321 times)

Legacy_Der_Arschgeiger

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
Replacing Ranged Weapons?
« on: May 13, 2012, 07:26:28 pm »


               Is this possible?

I'm currently trying to turn a few throwing weapons into crossbow-like devices with the intent to eventually turn them into muskets and the like.

My problem is that even if I tell the game that darts are not darts anymore, they still use it like a dart so that last weapon always disappears. It fires a bullet, uses crossbow animation - but disappears.

Is this hardcoded? Does anyone know what to do?

31   1525      dart                  1             2              0x00030         1              2          WBwXl        0               1            1            1            it_bag         ****             0          6            5           2           27            30              0         50        2        6          1           5            2         125       1         2              1674     3             8         0         1           1           44        ****      ****      ****      ****      4           0       0              5402             0                2               30        3              3               ****         ****                ****         ****         ****         29              1

Here is the code!
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Replacing Ranged Weapons?
« Reply #1 on: May 13, 2012, 11:45:00 pm »


               

Der_Arschgeiger wrote...
My problem is that even if I tell the game that darts are not darts anymore, they still use it like a dart so that last weapon always disappears. It fires a bullet, uses crossbow animation - but disappears.

Is this hardcoded? Does anyone know what to do?



Yes,  ranged weapons, ammo types and shields are hard coded to the lines that they are on.