Custom crossbow shots grenades...help
Avatar

I'm in prosses of making a custom crossbow that based on PP-19 Bizon, but with "projectile_type_index = 11" it's shots grenades and not bolts, hower it's shots bolts if I put Pistol Crossbow as a base or if equip explosive or poison bolts.Can somebody help me with that issue?

Replies
Avatar

you already changed the script on .unit file to the bow weapon logic right?

Avatar

yes I did that

Avatar

Never tried this, but looking at recent lua dump, arrow-based weapon have projectile_types var
You can try that

I've only ever seen projectile type index on tweakdata lua..

Avatar

I'm using outdated weapontweakdata.lua from https://bitbucket.org/YaPh1l/payday-2-lua/src maybe overkill have changed projectile_type_indexes, can you send me a current one?

Avatar

Yep overkill have changed it ftom projectile_type_index = 11 to projectile_type = "crossbow_arrow". Thanks for help.

57 853