Ok, I need codes or a little booster on...
1. Playing a sound on a collision with (wall/window)
2. Changing player State after collision with Team colour flag (Red or Blue) EDIT: Must return Neutral after death or into a pit.
3. Any chances I can put items/weapons on a Player without using states?
4. Different weapon, different weapon attack. Must Equip as well.
5. Moving a Player 3 squares in the direction of the attacker, if hit by certain weapon.
6. Easy to use Buy and Sell to work with money and some sort of Inventory.
7. NPC movement and attacking OTHER NPCS.
8. Saving.
Blimey, thats a long list. I'll proberly think of more too.
ID:167944
![]() Jan 7 2006, 6:40 am (Edited on Jan 7 2006, 6:54 am)
|
|
![]() Jan 7 2006, 6:55 am
|
|
Theres a couple of things in there that a proc called Bump will help on, just play the sound on the bump.
|
Format: Bump(atom/Obstacle) When: Called when a movement fails due to a dense blockage. Args: Obstacle: The blocking object. Default action: If the obstacle is a mob in the src's group, swap their positions. |
Derekjeterisgod wrote:
Format: Hmmm... those commands in brackets never work for me. EDIT: New on list: 9. PVP zone - Can't attack outside it |
A pvp zone, just make an area that removes the attack verb using entered.
area/no_attacking_zone That should remove there combat verbs. |
What attacking code is that for? I'm getting errors.
Arena.dm:112:error:/mob/combat/verb:undefined type path |
You copy/pasted everything. He gave you a good example of how to remove some verbs. Now go and read the DM guide.
|
Nope, I write a lot. Sadily just basic stuff. Maps look brilliant to me though.
PS: I frickin' RELY on the guide. |
Derekjeterisgod wrote:
A pvp zone, just make an area that removes the attack verb using entered. > area/no_attacking_zone That should remove there combat verbs. Nonono, hasn't the BYOND community already bashed your head enough for using usr in procs, especially a movement one? :P You should never use usr in a proc, since it is unreliable. Use the argument of Entered() instead. Otherwise, you'll end up getting runtime errors if you assume it's a mob, when it isn't. area/no_attacking_zone ~~> Unknown Person |
Unknown Person wrote:
> area/no_attacking_zone ~~> Unknown Person Hmm... I've been trying to fit that with other things. I got a shooting code that works, but I can't see if it can fit. And I don't have any other type of combat yet. Thats where I need help on multiple weapons, and buying and selling. EDIT: There is no real help on Multiple weapons + equip, and I tried that Buying and Selling thing but it wouldn't go without error. |