The Daily Click ::. Forums ::. Klik Coding Help ::. Qualifiers, and what not
 

Post Reply  Post Oekaki 
 

Posted By Message

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
28th December, 2007 at 19:27:30 -

SO here I am working on my game and sudenlly I realize:

WOW I really DO have a big load of diferent weapons (49) It will be a big pain in the ass to code each of them to colide with the enemy and do individually more or less powerfull strikes.

So I thought of a qualifier with would work for all weapons and only change the damage output based on an INI database with individual Weapon Data.

I go ahead and put all 49 weapons into the qualifier and do:
+(qualifier)ARMS colides with Enemy
- Change animation to "Hurt"
- Bounce
- so on ...

But now the enemy totally ignores the rest of his A.I. functions. I mean, he walks throu walls, he ignores the character when they are near (even though he should atack)and the strange thing is that this all happened just by adding the simple (+(qualifier)ARMS colides with Enemy)

Why the hell is this?
and
Do you by any chance have any ideas to do this diferently?

Thanx Guys

 
Profile edited as it messed the layout of the site up.

Roseweave



Registered
  31/07/2007
Points
  341
28th December, 2007 at 19:37:30 -

But if you use qualifiers, you can't use global code. You'll have to copy and paste the code for your 40+ weapons over and over whenever you update.

 
Check out my Telekinesis'em'up Thread and the ALICE Machines -

http://www.create-games.com/project.asp?id=1213

"Did you know there's a million bucks hidden in the house next door?"
"But there is no house next door?"
"No? Then let's go build one!"

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
28th December, 2007 at 19:48:37 -

Wait, what? Roseweave!? ................................................... Oh no.

 
http://www.SilverNova.co.uk


Roseweave



Registered
  31/07/2007
Points
  341
28th December, 2007 at 20:41:47 -


Originally Posted by SilverNova [Tim]
Wait, what? Roseweave!? ................................................... Oh no.



Grow up.

 
Check out my Telekinesis'em'up Thread and the ALICE Machines -

http://www.create-games.com/project.asp?id=1213

"Did you know there's a million bucks hidden in the house next door?"
"But there is no house next door?"
"No? Then let's go build one!"

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
28th December, 2007 at 22:00:41 -


Originally Posted by ..:.Phox.:..
SO here I am working on my game and sudenlly I realize:

WOW I really DO have a big load of diferent weapons (49) It will be a big pain in the ass to code each of them to colide with the enemy and do individually more or less powerfull strikes.

So I thought of a qualifier with would work for all weapons and only change the damage output based on an INI database with individual Weapon Data.

I go ahead and put all 49 weapons into the qualifier and do:
+(qualifier)ARMS colides with Enemy
- Change animation to "Hurt"
- Bounce
- so on ...

But now the enemy totally ignores the rest of his A.I. functions. I mean, he walks throu walls, he ignores the character when they are near (even though he should atack)and the strange thing is that this all happened just by adding the simple (+(qualifier)ARMS colides with Enemy)

Why the hell is this?
and
Do you by any chance have any ideas to do this diferently?

Thanx Guys



If you're using mmf2 you can change alterable values in the properties manager in the frame editor. That way you don't need to code anything really.

 
.

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
29th December, 2007 at 05:36:22 -

what?! wait, now I'm confused...

can tell me how?

 
Profile edited as it messed the layout of the site up.

Zethell

The Daily Douchebag

Registered
  15/04/2005
Points
  123

VIP Member
29th December, 2007 at 08:06:43 -

Lol. <- This Lol was mainly at Roseweave, but also at you Phox.

 
TDC's Daily Douchebag, since 2005!

Zethell

The Daily Douchebag

Registered
  15/04/2005
Points
  123

VIP Member
29th December, 2007 at 08:11:32 -

Well, its either a bug in MMF2, which wouldnt be that unusuall.
Or, you changed something that was part of some other code, and now when you replaced that bit with this new code, its only naturall that the other code dosnt work anymore.

Seeing the source for most of your projects i'd say this is probably the reason.

 
TDC's Daily Douchebag, since 2005!

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
29th December, 2007 at 08:13:25 -


Originally Posted by Roseweave

Originally Posted by SilverNova [Tim]
Wait, what? Roseweave!? ................................................... Oh no.



Grow up.



Hahaha, classic

 
http://www.SilverNova.co.uk


AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
29th December, 2007 at 16:41:05 -


Originally Posted by ..:.Phox.:..
what?! wait, now I'm confused...

can tell me how?



Do you have mmf2?

when you click on an object you get the properties manager box. Where you can edit various things like alterable values. So the objects will start with the value you've typed in, Right?

now i assume you've made all of your bullets or whatever in the same group, so when bullet object collides with the enemy object you can make the event say, subtract alterable value from enemy alterable value
(where the value is damage for bullets and health for the enemy)

 
.

Johnny Look

One Happy Dude

Registered
  14/05/2006
Points
  2942

VIP Member
29th December, 2007 at 16:56:58 -


Originally Posted by Roseweave

Originally Posted by SilverNova [Tim]
Wait, what? Roseweave!? ................................................... Oh no.



Grow up.



sjfsfoopfdopdfpopfdpdppekcsodxçlldke039ewkddas

 
n/a

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
29th December, 2007 at 23:08:20 -

Do you honestly think, Roseweave, that you're going to get a more mature response at The Daily Click, then you did at Clickteam's forums? Clearly this must be a joke.

 
http://www.facebook.com/truediamondgame

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
30th December, 2007 at 06:20:18 -

hmmmmmm guys?

I thought this topic was about my little problem here...
Not about wether or not roseweave thinks your mature...

but oh well, carry on, I'll try to solve this myself then.

Thanx for the help.

 
Profile edited as it messed the layout of the site up.

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
30th December, 2007 at 09:51:23 -

Enough guys.

 
Craps, I'm an old man!

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
31st December, 2007 at 12:56:17 -

I got past the problem by other means. At least it's working.

Thanx guys.

 
Profile edited as it messed the layout of the site up.
   

Post Reply



 



Advertisement

Worth A Click