Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My custom enemy does not attack, why is that?
bagmanpt Offline
Junior Member

Posts: 9
Threads: 4
Joined: Mar 2012
Reputation: 0
#1
My custom enemy does not attack, why is that?

i've made a costum model for an enemy,

when it sees the player he runs to him, but does not attack nor pursue the player after reaching player.
after it stops it does nothing, just simply stands there.

what can i do to solve this?

thank you in advance
04-03-2012, 12:50 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: My custom enemy does not attack, why is that?

Do you have an attack animation set up? Without it, it will not attack.
04-03-2012, 03:17 AM
Find
bagmanpt Offline
Junior Member

Posts: 9
Threads: 4
Joined: Mar 2012
Reputation: 0
#3
RE: My custom enemy does not attack, why is that?

(04-03-2012, 03:17 AM)Statyk Wrote: Do you have an attack animation set up? Without it, it will not attack.
i can do good work with models, but honestly with animations and/or skeletons im not into it.
is there any way to bypass that? by script?
i thought about having a script that has to do with monster colliding with player, but it just feels unnatural and its not what i really want
04-05-2012, 05:54 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#4
RE: My custom enemy does not attack, why is that?

You have to have an animation, just like Statyk said.

04-05-2012, 07:09 AM
Find
bagmanpt Offline
Junior Member

Posts: 9
Threads: 4
Joined: Mar 2012
Reputation: 0
#5
RE: My custom enemy does not attack, why is that?

(04-05-2012, 07:09 AM)flamez3 Wrote: You have to have an animation, just like Statyk said.
ok then, i think i'll pass this part for now, i have plenty of work to do in the custom story, and since it isn't like any other custom story i've seen and im doing all the things, models, sounds, etc... its gonna take a while, i'll just finish the map and scripting and then i'll get back to the enemies
04-05-2012, 08:04 AM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#6
RE: My custom enemy does not attack, why is that?

Btw a small question..How do you animate?

04-05-2012, 07:30 PM
Find
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#7
RE: My custom enemy does not attack, why is that?

(04-05-2012, 07:30 PM)Datguy5 Wrote: Btw a small question..How do you animate?
You use Maya(Total noob to it)
I believe you use the animation tab and at the bottom will be the frames.
First frame you don't change you just press S to set it and then click the next frame or next few frames if your lazy and move the model then press S

04-05-2012, 10:42 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#8
RE: My custom enemy does not attack, why is that?

(04-05-2012, 10:42 PM)Xanthos Wrote: You use Maya(Total noob to it)
I believe you use the animation tab and at the bottom will be the frames.
First frame you don't change you just press S to set it and then click the next frame or next few frames if your lazy and move the model then press S
Basically this, though there's a little more to it than just that. It's fun and quite simple once you get the hang of it. Just a bit time-consuming to get the animation nice. Especially looping ones like the walk animations.
04-06-2012, 02:10 AM
Find
bagmanpt Offline
Junior Member

Posts: 9
Threads: 4
Joined: Mar 2012
Reputation: 0
#9
RE: My custom enemy does not attack, why is that?

(04-06-2012, 02:10 AM)Statyk Wrote:
(04-05-2012, 10:42 PM)Xanthos Wrote: You use Maya(Total noob to it)
I believe you use the animation tab and at the bottom will be the frames.
First frame you don't change you just press S to set it and then click the next frame or next few frames if your lazy and move the model then press S
Basically this, though there's a little more to it than just that. It's fun and quite simple once you get the hang of it. Just a bit time-consuming to get the animation nice. Especially looping ones like the walk animations.
well, i've created animations on the past for short videos in 3Ds max. not maya though. once i have some time on my hands i'll try add some animations, not my ultimate goal though, the enemies i have in my custom story do not have to attack the player. not using zombies Smile
04-06-2012, 03:32 AM
Find




Users browsing this thread: 1 Guest(s)