Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
NaturalTvventy

Weapon selection order

Recommended Posts

Hola,

I'm using custom weapons in my current project. I've added the KDiZD grenade launcher in slot 5. The problem is, when the player pressed 5 it will bring up the grenade launcher first, and then pressing 5 again will bring up the rocket launcher. I'd really like it to be the other way around.

I have the grenade launcher assigned using "weapon.slotnumber 5". I tried using MAPINFO .lmp instead with this

gameinfo
{
weaponslot = 5, "KDiZDGrenadeLauncher", "RocketLauncher"
}

but that does apparently nothing.

Can someone help me?

Thanks.

NT

Share this post


Link to post
NaturalTvventy said:

gameinfo
{
weaponslot = 5, "KDiZDGrenadeLauncher", "RocketLauncher"
}


Wait, isn't this backwards then? Shouldn't it be:

gameinfo
{
weaponslot = 5, "RocketLauncher", "KDiZDGrenadeLauncher"
}
I've never actually tried to do this before, but shouldn't it be "Primary", "Secondary"?

Share this post


Link to post

Actually when I include that line it does nothing. The grenade launcher isn't selectable.

I assume, though, that if it did actually work it'd be the proper order, because I see this on the ZDoom web site in an example under the page MAPINFO/GameInfo definition...

weaponslot = 3, "Shotgun", "SuperShotgun"

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×