NPC Altfire -1 reply

Please wait...

voyager216

Slightly cooler than a pr0

50 XP

20th March 2007

0 Uploads

113 Posts

0 Threads

#1 12 years ago

I don't fully understand how this works. I want my NPC's to do that Rapid fire thing with their guns. Just like how boba-fett does. It has AltFire under his npc file but it don't work on my other npcs. (this is for sp btw) :lookaround: Not sure if it's possible, but I remember in Singleplayer where some imperial commanders would fire rapid fire




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#2 12 years ago

Alt fire isn't rapid fire but the type of fire you get with your right mouse button (or however you have mapped it). So, it depends totally on the gun.

But nevertheless, you can force alt fire by giving the npc a spawnscript (or affecting it later) that sets set_alt_fire to true.




FireStormz

.

50 XP

22nd December 2006

0 Uploads

1,044 Posts

0 Threads

#3 12 years ago

i think any npc over the Commander rank fires rapidly, not positive but i think so




BaTTLEDrOiDLoVeR

I'm too cool to Post

50 XP

5th February 2011

0 Uploads

22 Posts

0 Threads

#4 8 years ago

In jk2 the rodian2 npcs and impcommander npcs use altfire, and so do some stormtroopers, i found out in jk2 when making a npc, if you give it this name: rodian_stormtrooper, the stormtrooper will use altfire. But I dont know how to make it owrk in jk3! only boba fett uses altfire.....




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#5 7 years ago

Maybe that is hard-coded.




Jeff_Katarn

jediwannabe on

50 XP

1st January 2011

0 Uploads

218 Posts

0 Threads

#6 7 years ago

No, it isn't. Put the line "altFire 1" (without the quotes) in the .npc file of your choice.




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#7 7 years ago

I've seen in another topic, that it isn't working... btw I didn't try.




DarthStevenus

GF is my bext friend *hugs GF*

50 XP

18th December 2009

0 Uploads

909 Posts

0 Threads

#8 7 years ago

Maybe this was a thread that was last posted in over 4 years ago. I'm looking at you, BaTTLEDrOiDLoVeR.




Raz0r

Worse than most terrible

50 XP

27th September 2006

0 Uploads

6,737 Posts

0 Threads

#9 7 years ago

Please don't bump old threads 3