Aller au contenu

Photo

Replacing Ranged Weapons?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Der_Arschgeiger

Der_Arschgeiger
  • Members
  • 14 messages
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!

#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages

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.