Weapon Select

Both Contra and D&D mod doesn't use menu to select weapons/spells/items. Both uses icon which is shown as part of HUD to show which one player currently selected
 
its ALMOST what I want. Right now, if you wanna change from one weapon to another, you to keep using the command many times until you find the right one. I would like to make it simpler, like spawn an menu and people press right or left to choose it
 
What about spawn the icon above him during the freespecial that changes weapon.  Then just use keyint script to change weapon by pressing left or right (switch to the other freespecials with weaponframe).

The icon would be a bound entity, one for each choice.
The actual icons show 3 choices with the current one highlighted in the middle.

Untitled_1.png


So the icon is just cosmetic, but it would feel like you're controlling a menu.

The weapon changing freespecial can use another existing script by matman, so if you hold it the animation repeats until you choose another weapon or let go of the key.  (I use it for auto-fire weapons)

 
What about spawn the icon above him during the freespecial that changes weapon.
Its what I want to do.

About the icon, just the actual one is enough

The weapon changing freespecial can use another existing script by matman, so if you hold it the animation repeats until you choose another weapon or let go of the key.  (I use it for auto-fire weapons)

Yeah, its what I want. Send me the code.

 
Sorry couldn't remember the name at the time.  You have it already it's in aniscp.c -
Code:
changeanibykeytoattackforself

Edit -

example
Code:
@cmd	changeanibykeytoattackforself "ANI_Attack2" 0 "A" 0 0

You make two attacks and cycle between them, add the command in each one but change the anim.
 
Beastie, that might work but I don't recommend using keyint cause it is for holding and not holding key event. Selecting weapon uses press key event so you should use keyscript instead.

Autofire OTOH should use keyint cause it is activated by holding button.
 
Bloodbane said:
Beastie, that might work but I don't recommend using keyint cause it is for holding and not holding key event. Selecting weapon uses press key event so you should use keyscript instead.

Autofire OTOH should use keyint cause it is activated by holding button.
What if you don't have auto fire, would it be a simple task then? Sorry for bringing up an old topic, but it is for my MWW mod.
 
Weapon select and autofire are unrelated. You can have just one of them.

As for main topic, using keyscript for weapon select is simple. The tough part is showing which weapon you are currently holding.
This gets more complex if you have unlockable weapons
 
Bloodbane said:
Weapon select and autofire are unrelated. You can have just one of them.

As for main topic, using keyscript for weapon select is simple. The tough part is showing which weapon you are currently holding.
This gets more complex if you have unlockable weapons
No unlockable weapons, could the weapon show in the HUD as an icon. I want to use a universal icon for weapons, each icon will represent a different power rating. So what is a super missile for Samus may be the BFG for Doomguy. Does that make any since?
 
What about ammo count?

It's the same with displaying current weapon

I want to use a universal icon for weapons, each icon will represent a different power rating. So what is a super missile for Samus may be the BFG for Doomguy.

Well, universal icon is a matter of efficiency.
So when you said Samus dan Doomguy has super missile, does that mean everyone will have weapon select ability?
 
Bloodbane said:
What about ammo count?

It's the same with displaying current weapon

I want to use a universal icon for weapons, each icon will represent a different power rating. So what is a super missile for Samus may be the BFG for Doomguy.

Well, universal icon is a matter of efficiency.
So when you said Samus dan Doomguy has super missile, does that mean everyone will have weapon select ability?
yes everyone will have weapon select ability but only samus will have projectile change. For instance the icons will reperesent different power ratings for the generic weapon.
 
Bloodbane I wanted to try to explain exactly what I meant above, but I got interrupted by my boss. Anyway forget what I said above, what I want is to be able to do is select a weapon and the strength of the weapon will be represented with a power icon in the HUD. Sorry for the double post DC.
 
O Ilusionista said:
Download THE beta Of my mod and check hawkeye
O' I know this is an old topic, but I downloaded your Avengers mod, played it with Hawkeye & then extracted the pak to see weapon select and could not figure it out. I could not get Hawkeye to select a weapon in the game either. Do you have any suggestions?
 
Back
Top Bottom