Custom crossbow shots grenades...help
#1
8ball 
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?
Reply
#2
you already changed the script on .unit file to the bow weapon logic right?
Reply
#3
yes I did that
Reply
#4
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..
Reply
#5
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?
Reply
#6
https://bitbucket.org/TdlQ/payday-2-luajit
Reply
#7
Yep overkill have changed it ftom projectile_type_index = 11 to projectile_type = "crossbow_arrow". Thanks for help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)