1
Suggestions / Re: Toss grenades around corners.
« on: February 27, 2023, 11:39:13 pm »Actually you could make it work like Blaster Launcher... But it won't be a thrown grenade, it will be a one-shot "gun".
I need to get my hands on that code.
I may be misunderstanding but do you mean something like this:
Code: [Select]
items:
- type: STR_EXAMPLE_WEAPON
size: 0.2
costSell: 36900
weight: 8
bigSprite: 19
floorSprite: 19
bulletSprite: 6
fireSound: 11
hitSound: 19
hitAnimation: 36
power: 60
damageType: 4
accuracyAimed: 100
tuAimed: 50
clipSize: 1 # <==
battleType: 1
twoHanded: true
invWidth: 1
invHeight: 1
arcingShot: true # <==
maxRange: 1 # <==
waypoints: 2 # <==
accuracyMultiplier:
firing: 0.0
throwing: 1.0
The above code is untested I'm not sure if arcingShot: works with the waypoints: setting.