Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Ammo System and Swapping Positions
#1
No, I'm not asking for the data, I'm asking on a method I can try, I'll figure the rest myself.

Anyway, I'm thinking of an ammo system for guns, completely separate from the character's mana or health. It's meant for a full mod.

I have seen the LF2 Gun mod (downloadable from this website), which modifies all characters to be able to fire a gun with D+A. The guns in the mod make use of the weapon's health. Each time a shot is fired, its health is reduced until it reaches 0. Now that's neat, but there are some other problems:

I'd like my weapon to be reloadable once; after I empty one clip, I can reload, but if the gun's clip is empty again, it will become like a normal weapon that I can swing around and hit people with. I'd also like to avoid making copies of the same few frames over 20 times for one gun, as well as avoid making multiple copies of the same weapon - if it is unavoidable, then I'd like the number of copies to be kept at a minimum. Please note that I'd like the guns to be able to drop out of the sky. If possible, I'd like to keep the weapon's durability and the ammo to be separate parts as well.


[The following part below is solved, but not the above part]
The other thing I'm thinking of is a scope (this is not a weapon, this is a character's move), so you can actually see further than you really are. I'm thinking of making two characters - the sniper, and his scoped self.

When you use the scope move, you will transform into the scope form and be moved a certain amount of distance away, leaving a character standing at where you originally are. Should the character be hit or should you press a certain button, you will revert back to your normal form and be back at your original position. I'm thinking this can be done using purely dyx and some clever ball work.

There are some problems however. One worry is that if you scope too far and can't go beyond a certain point (such as a boundary), when you unscope, you'll not be at your original position, but a distance away from where you are supposed to be. I had also considered teleporting to allies, but if I had teammates, then it wouldn't work.

So I am wondering if there is a way to swap the locations of 2 allied characters, but works only for two specific characters. I'm not worried if having a pair of the same 2 characters will cause a bug, since I'll only allow one of each around.
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by:


Messages In This Thread
[solved] Ammo System and Swapping Positions - by STM1993 - 11-19-2009, 03:17 PM



Users browsing this thread: 3 Guest(s)