Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

how to make monsters use a hook?

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
MeTcHsteekle Joined: 15 May 2008 Posts: 397 Location: its a secret |

Posted: Mon Jul 14, 2008 6:26 pm Post subject: how to make monsters use a hook? |

how would i make a monster use a hook at far distances its gonna be based of thr grunt and the smart grunt totorial so would i have to add a w_FireHook to wepons or somthing? this is gonning to be the first wepon ive ever done f thats the case
_________________
bah

Back to top |

Wazat Joined: 15 Oct 2004 Posts: 732 Location: Middle 'o the desert, USA |

Posted: Tue Jul 15, 2008 4:29 am Post subject: |

So, like a grappling hook to cross ledges? Or a harpoon-type weapon that shoots out to snag the player and pull him in? In my ancient old Wazat mod I had a monster that used a harpoon to pull in the player from long distance, and a grappling hook to pull itself up to the ceiling for those friendly attack-from-above sneak attacks. So it can be done.
However, getting a monster to cross gaps with a hook takes a little more logic. He has to recognize that there's a gap blocking his way, and that his hook will successfully get him across (as opposed to being blocked by bars etc).
_________________
When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.

Back to top |

MeTcHsteekle Joined: 15 May 2008 Posts: 397 Location: its a secret |

Posted: Tue Jul 15, 2008 5:20 am Post subject: |

yes i wish for a harpoon style one to drag you in a burn u with lightning [whahahahahaha] is there any toutorial for this or do i need a spacific file for hook and monster? like in that rune quake thes a hook would i need that, somthing witha w_firehook?
i alredya have nailgrunts
http://s302.photobucket.com/albums/nn113/metchsteekle/?action=view&current=nailgrunting.flv
i know thres a bug where they only shoot one nail at time
+its being addressed soon+
right after the grumbler and painskins and etc.
[alot if etc]
_________________
bah

Back to top |

Lardarse Joined: 05 Nov 2005 Posts: 243 Location: Bristol, UK |

Posted: Thu Jul 17, 2008 12:51 pm Post subject: |

Easiest way to mae grunts shoot multiple nails is to have the firing sequence have 3 or 4 calls to the firing function. That's how I did it back when I experemented with machinegun grunts...

Back to top |

Wazat Joined: 15 Oct 2004 Posts: 732 Location: Middle 'o the desert, USA |

Posted: Thu Jul 17, 2008 4:13 pm Post subject: |

I wonder if anyone still has my old Wazat mod kicking around a hard drive somewhere. If so you could grab some code from my grappler monster. _________________ When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.

Back to top |

MeTcHsteekle Joined: 15 May 2008 Posts: 397 Location: its a secret |

Posted: Thu Jul 17, 2008 11:38 pm Post subject: |

thanks Lardarse it works beautifully also the model im planaing on using is a player model, but that shouldent be a problem [i got it digging thru old qexpo's fer resources] _________________ bah

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> QuakeC Programming | All times are GMT
Page 1 of 1

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group