Weapon Help

Hey guys this is my first time working with weapons and I realized for what I want to be able to do it would require multiple versions of weapons for the character and I want to cut that down if possible so here's my problem, I want the character to switch between projectiles for a freespecial attack but still have the same attacks and freespecials so I was wondering if there's a way to bypass creating different weapon models of the same character or at least a simpler way to do it I wanted to try what Oillusionista used in his avengers mod for hawkeye and brand but he said there's a bug with the script he used so any help would be great
 
some settings should be in the weapon item instead.

Code:
shootnum {int}

    ~For items which can be used as weapons.
    ~This is the maximum number of times a weapon can be fired.
http://dcemulation.org/?title=OpenBORManual#Weapons

Code:
name	blahblah
type 	item
subtype weapon
weapnum	3
typeshot 1
shootnum 10
counter	4
 
Here's everything in the weapons header It still isn't doing anything I see in the manual its says for weapon items that are picked up but this weapon is selected by button command is that the issue?
 
wow completely forgot to add the character text lol sorry I work nights and had just gotten home

Code:
name	FreezeArrow
speed        30
type      item
subtype weapon
iconw   data/chars/hawkeye/ice.gif
typeshot 1
shootnum 10
weapnum 2
shadow	     0
candamage enemy obstacle
 
Sorry for the late reply I've been out of town but I haven't tried it using the weapon selector you provided BB I've been trying to use the built in functions but I think I'm doing things wrong or at the least got mixed up somewhere. So the correct way to go about this is through the actual projectile or the character weapon file?
 
Sorry again for the late reply RL has been kind of hectic lately but here's what I'm trying to do I want to have the character to be able to select a projectile weapon through button commands ex. com U S and I want the projectile to be limited to 10 shots. Whats the way to go about that because either I'm doing something wrong or it simply isn't working for some reason so if you could outline the process or list an example then that would help a lot
 
You need to modify elfkey.c to change the commands from Attack2 and Attack3 to Up+Special and Down+Special
As for projectile limit, if you read elfstart.c, you can find the starting arrows for each arrow. Elf won't shoot an arrow if he's running out of certain arrow

Do you know how to modify those two files?
 
Back
Top Bottom