Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Creating an alt/secondary fire script?

A topic by Grave Reaper Cushions created Jul 05, 2022 Views: 515 Replies: 4
Viewing posts 1 to 3

Hey all,

Just wondering if anyone has any idea how to add secondary fire to an EFPSE project.

I'm looking over Old Manual Scripting - Unofficial Easy FPS Editor Wiki (ragnarrandom.com) and I'm presuming it'll be to do with Player commands (I mean what else would it be?), but no clue where to go from there.

(1 edit)

i think it was planned to be implemented at some point, but never was.

afaik it's currently impossible.

keshafilm knows more about the advanced stuff, so he may weigh in with more info.

Yep, you can set a secondary fire with pressing RMB to perform by setting "ALTATTACK" state.
However, the creator is not recommending to use it tho, and the reasons isn't really clear. So if it will work for you with no problems, then why not?

(1 edit)

Thanks, nice one!

I was looking in the Config.ini before and noticed an entry for "altfire" under Input, good to know it's actually a thing.

Okay, daft followup question: how do I set the AltAttack State?

Developer

You'll have to wait until a manual is done on this topic. Or you could ask people around for an example .states file.