Langerd Posted September 29, 2014 Share Posted September 29, 2014 (edited) I found somewhere that you must use a script to make npc alt firing.-set ( /*@SET_TYPES*/ "SET_ALT_FIRE", /*@BOOL_TYPES*/ "true" );But i have question about how to make them using the blaster pistol shot but charged one?This is more advanced scripting i guessAnd also i find a glitch - when npc with repeater has a alt_fire on it works fine (when i am like 3-5 meteres from him) but if i will come closer... he starts shooting normal bullets but only one. How to make him shooting alt fire all the time? (sry for english i am polish) Edited September 29, 2014 by Langerd Link to comment
Asgarath83 Posted September 29, 2014 Share Posted September 29, 2014 it's impossible without edit the code. enemies use altfire if the player is far. if is close, they use normal fire. that's works for all weapons. Link to comment
Langerd Posted September 29, 2014 Author Share Posted September 29, 2014 Nope it works with stormtrooper fine :/ . It works with e-11 rifle without any problem. But repeater is bugged. Link to comment
Langerd Posted September 29, 2014 Author Share Posted September 29, 2014 So far the repeater is glitched... bowcaster doesnt work ,blaster pistol doesnt work... i thing it is hardcoded or bugged. Cncussion rifle works but it deals only 20 dmg when Rax hits me. Cultists are shooting alt_fire at me and evade attacks (It is cool :3). Link to comment
eezstreet Posted September 29, 2014 Share Posted September 29, 2014 This has been asked before. The alt-fire flag is overrided by AI and it's very specific as to what you're doing it for. Make sure you're wrapping it in an affect("script_targetname"). Two NPCs can never have the same script_targetname. Link to comment
Asgarath83 Posted September 30, 2014 Share Posted September 30, 2014 i think is not bugged. it's realistic. Because the alt fire of repeater is an explosive splash damage attack. no soldier is so mad of blow himself in a close fire shooting.For that motivation, stormtroopers use normal fire of repeater when you are close. maybe happens the same thing with flechette alt fire. Link to comment
Langerd Posted September 30, 2014 Author Share Posted September 30, 2014 Yep I checked. The stormtrooper officers are shooting normal when i am close. But normaly. Repeater is bugged :/ when i am close they start shooting normal but They DONT fire 6 shots - pause- 6 shots! They fire 1 shot -pause- 1 shot. And this is bugged. Link to comment
Asgarath83 Posted September 30, 2014 Share Posted September 30, 2014 Yep I checked. The stormtrooper officers are shooting normal when i am close. But normaly. Repeater is bugged :/ when i am close they start shooting normal but They DONT fire 6 shots - pause- 6 shots! They fire 1 shot -pause- 1 shot. And this is bugged.ah yes, i agree, this is bugged.i suppose is because alt fire atk is configured for shot... 1 shot: the explosive atk. if you change in the code the number of shot of the alt fire in close combat i supose also the alt fire distance shot shoots many shockballs. rotfl XD Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now