Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Hammerite on Sun 15/01/2006 10:00:36

Title: shooter
Post by: Hammerite on Sun 15/01/2006 10:00:36
rite.
how would i make a sort of top-down shooty kind of thing.
what i need to know is:

???
how do i do the gun shooting?
how would i program A.I. (like movement and attack patterns)?
???

also, can mouselook be done? (this would be useful but not essential)
Title: Re: shooter
Post by: Elliott Hird on Sun 15/01/2006 10:22:55
Well, we can't write the whole engine for you! You could get all you can done and then we'll help all we can. Remember: the manual is your friend :)
Title: Re: shooter
Post by: Ashen on Sun 15/01/2006 15:41:50
There're a couple of versions of 'shooting' scripts around - this one from just a few days ago (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=24465.0) (you really should be SEARCHING before you post), or this one (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=24231.0). Haven't tried either of them, so I don't know how well they work, or if they can be used in top-down view - SEARCH, and you'll find others.

A.I. depends on how complex you want it - perhaps the Character Control Module / Plugin (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=24489.0) would help? Again, try SEARCHING for more posibilities.

What do you mean by 'mouselook'? It's certainly possible to scroll the screen with the mouse (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=24343.0), but for something more FPS-like, you'd need to be using another program (or get to grips with the AGS 3D Module & Plugin (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=22615.0)).

So, in summary:
SEARCH THE FORUMS.

Ask back if you have any more specific questions ("How do I make a top-down shooty thing?" is a bit vague), and you can't find the answers anywhere else.
Title: Re: shooter
Post by: Hammerite on Sun 15/01/2006 20:24:02
I tried looking for something that'd help me script the shooting of a gun but I dont know where the hell to start looking!!  :P ??? :P
Title: Re: shooter
Post by: Elliott Hird on Sun 15/01/2006 20:46:56
A good idea would be to *gasp* do it yourself - that is what the scripting language is for.
Title: Re: shooter
Post by: Ashen on Sun 15/01/2006 21:05:58
Elliott, that's not very usefull - he's already said he doesn't know where to start.

Hammerite:
Try coming up with a better decription of what you want. Not only will that make it easier to ask for help, it'll give you ideas for some search terms. Just a search for 'shoot' turns up a load of threads to get started on.

Where the threads I linked no use? They're a bit code intensive, with no real mention of how to use it, I know.

Babar's entry to the first Coding Contest (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23264.msg291675#msg291675) was a top down, scrolling shooter. Probably not exactly what you're after, but it's open source and might give you a place to start.

I'm locking this thread (as you can see...). PM me when you have some actual questions, and I'll re-open it.