Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / 007 game help AI

Author
Message
Lance
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location: Third planet from Sun
Posted: 11th Feb 2005 06:04 Edited at: 11th Feb 2005 06:05
Something to get the path positions for you









Lance
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 11th Feb 2005 06:18
not executing?
Lance
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location: Third planet from Sun
Posted: 11th Feb 2005 08:33
I can't help you there.It compiles for me...

This is part of a project I work on to relax..


Lance
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 12th Feb 2005 00:05
is it for dbpro. i have dbc
Lance
21
Years of Service
User Offline
Joined: 22nd Jul 2003
Location: Third planet from Sun
Posted: 12th Feb 2005 04:47
Sorry,It's for DBPro. I forgot that I stopped using DB 2 years ago..

The basic concept is in there .I actually have the output file named as a .dba so I could just include the info into the program as a gosub..

Lance
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 12th Feb 2005 05:49
here it is hi

For when they said I couldn't, I did...
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 12th Feb 2005 05:53 Edited at: 12th Feb 2005 05:54
anybody know how to do that code snippet ++ thingy wher u click the link on the page to reveal the code (that unfolds)


also - !hi! - are you good at graphics and stuff?

For when they said I couldn't, I did...
Robot
21
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 12th Feb 2005 17:38 Edited at: 12th Feb 2005 17:39
you put
[ code ]
before the code and
[ /code ]
after the code
(without the spaces)



The happenings of tommorow are behind us now
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 12th Feb 2005 18:07
3d graphics yea

i just cant model humans or aliens just kind of leavels and weapoans
why?

thats gright a square, now i will some how put that into my FPS which wont open because it says "no enhancments" even thow i installed them.
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 12th Feb 2005 18:13 Edited at: 12th Feb 2005 20:45
for now ill put into a test fps i making. then just copy and paste the code in once finished

part 2 i need my gaurd to shoot back when he see you. i have an animation of him getting his gun out.

also dehoncha can i use flare picture in a game i making (not 007 game) ??? please ???
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 15th Feb 2005 06:16
sorry i've been away for a while - been preocupied with stuff....


@ robot - how's life; btw - what do you mean by that post (you put
[ code ] before the code and)??

@ !hi! PLEASE READ THIS WHOLE POST!!!
okay, first: if you need graphics, i'll be willing to do what ever i can though i'm just starting out in the graphics world - if you need anything specific, ask.. and i'll see what i can do. also - cud you post some screenies of your work in progress in this thread please?

second: is that square walking ai thingy working well now?

third: ** IMPORTANT ** you need a guard to shoot back - umm.... that's easy but there's one problem - i don't have the model itself so i don't know when the guard shooting animation starts and where it stops - is it a darkmatter1 model? if so - which one? if not - you'll have to tell me EXACTLY when the animation begins (and WHAT the animation is) and when it should stop (give me the frame numbers is what i mean). That is, tell me EXACTLY (step by step) how things should go. but until then, i have those values i'm gonna have to work with the goblin animation.

fourth: flare picture ?? you mean that flare picture in my gun shooting demo? if so - sure you can use it - i'd appreciate some credit for it though

fifth: how's everything else coming along (life, the game, life, the game )

sixth: what is this other game your working on? and do you need a hand for it too (but i understand if you wanna try this by yourself )

seventh: about your missle shooting thread (you know...) - i have a good demo that shoots multiple missles etc... everything you need but i have to put some finishing touches on it. what is THAT for anyway - will there be copters in your 007 game too?? just give me sometime and i'll post it IN THAT THREAD (that is, if you want it - tell me so).

finally: sorry this post was so long - 3 days is a long time to be away. and where's saberdude?

For when they said I couldn't, I did...
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 15th Feb 2005 06:17
@ robot: nevermind - i got it!

For when they said I couldn't, I did...
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 15th Feb 2005 17:55
1 in do not need graphics because i a mkae them all myself accept the only thing i cant 3D model is character and cars because there to time consumming.

2 thankyou very much at the moment the gaurd is walking in a square.

3 at the moment i am using the SWAT animation but this may change!!!
the frames are 0-start 11-gun fully out 25-end

4 tahnks very much for your flare picture ill try and put it to good use well it will be in good use


5 Game life is bad as the enhancments from darkmmater istall and dont work so as my game uses a DLL i found from the code base and used there brilliant code the whole 3d level has collision but as the enhancments are down it wont open.

6 At the moment i am making a small tank. not very good but i dont need any help bu thanks for asking

7 Yes there will be a kind of copter thingy. i dunno if you have ever seen any of the james bond films but theres this weird thing called little nellie thats in my game i have modeled it and it took me 4 days ill email you a picture of it if you want

sorry for long post hat to answer all dehoncha questions

thanks very much dehoncha for helping
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 15th Feb 2005 18:02
Yeah I'm here. WHOOO ITS MA BIRTHDAY TODAY
Hey !hi! glad to hear everything is coming together
Dam im so out of ideas at the moment...


Thanks to Animeblood for the Logo!
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 15th Feb 2005 19:39
HAPPY BIRTHDAY
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 16th Feb 2005 02:23
i've got something together that you might like !hi! but i first need to know if you have darkmatter 1 (i don't wanna be a pirate matey!!) it's for your ai


and HAP-PY, HAP-PY, HAP-PY (x 10000000) BIRTHDAY Saberdude - how old now (if u don't mind me asking)?

For when they said I couldn't, I did...
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 16th Feb 2005 07:06
i have got dark matter 1
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 16th Feb 2005 22:42
14 and I got £310 for my b'day!!!! I'm gonna get a new PC. Look forward to seeing the AI


Thanks to Animeblood for the Logo!
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 16th Feb 2005 22:46 Edited at: 16th Feb 2005 22:49
i thought you were builing PC. did you make the thingy below your messade (dragon fire game development)
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 17th Feb 2005 17:22
Quote: "Thanks to Animeblood for the Logo! "

No


Thanks to Animeblood for the Logo!
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 17th Feb 2005 17:28
whos Animeblood
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 18th Feb 2005 17:16 Edited at: 18th Feb 2005 17:17
[href]www.koetsu.tk[/href] Hes on this forum!
Edit: Why wont my links ever work


Thanks to Animeblood for the Logo!
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 18th Feb 2005 18:27
ok
DeHonCha how that shooting back thing coming the AI
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 18th Feb 2005 22:15 Edited at: 18th Feb 2005 22:16
forgive my lateness - i've had trouble with my connection - and university work - please forgive any future lateness too okay?

heres what i've got so far:



For when they said I couldn't, I did...
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 18th Feb 2005 22:17
put this code with the swat character and it should work

shooting back isn't as easy as i thought - but i will stay at it

For when they said I couldn't, I did...
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 18th Feb 2005 22:23
do you want this code i have for you helicopter missles thingy or do you want 2 do that urself?


hey hey! - let's keep this thread running up!

For when they said I couldn't, I did...
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 19th Feb 2005 03:08
can i have the code for missiles
still need to try out your shoot back code
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 19th Feb 2005 03:13
so do i just paste this code in ??????????????????????
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 19th Feb 2005 03:15
has it got the AI inside for walking round asweel????????
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 20th Feb 2005 04:06
sorry for lateness again
in reply to all your questions:

QUESTION: can i have the code for missles?
ANSWER: sure you can have it - here it is (appreciate credit please - sorry for being sleezy )

NOTE: this is a demo - all y`all can try this out - just copy and paste into your dbc editor and enjoy!


QUESTION: still need to try your shoot back code?
ANSWER: ; which shoot back code? the one i posted at 'help with making my shooting good'?
ask if you need help


QUESTION: so do i just paste this code in ?
ANSWER: Yes - just paste it into your db editor and then save it to the place where darkmatter has it's swat character (the db objects NOT the 3ds objects) and then run.
YOu can also run this with any object so long as you change the starting and ending animations for walk and idle.


QUESTION: has it got the AI inside for walking round asweel?
ANSWER: do you mean walking around obstacles and stuff? cuz i haven't done that yet but you can - all you have to do is to map the co-ordinates into the array i.e. give all the key points that your character has to traverse and put them into the required arrays.

For when they said I couldn't, I did...
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 20th Feb 2005 04:56
sorry demo dose not really make sense (missile thingy) where is the missile???
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 21st Feb 2005 05:51
curse my bad memory - here is the working code:


For when they said I couldn't, I did...
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 21st Feb 2005 15:06
THANKS THAT KIND OF MAKES SENSE
now i am gonna put that orther code to to the test which makes the swat guy shoot
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 21st Feb 2005 15:14
SORRY your code no worky. it says no array installized when i executed it ? ? ? ? ? ? ? well i know what the problem is: you have not done dim random(1) somewhere . by the way the array is not called random that was an example

heres your code
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 21st Feb 2005 15:16
nooooooooooooo
sorry your code works i just did not paste it in
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 21st Feb 2005 15:22
how do you make the swat guy SHOOT with that back at the player ,the animation of that works now but he needs to shoot a BULLET would you be able to do that
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 22nd Feb 2005 01:34
funny the way my life works - i read your first message !hi! and didn't the read the next (i use mail back) - so, i ended up writing this nice script (below) that i hated to waste so... here it is
(at the end of the post is something about shooting i need you to see !hi! - it's not code, i just need some information about what you want exactly)

INSTRUCTIONS FOR SWAT AI AND ANIMATION:
---------------------------------------
1. Copy and paste the code below into your db editor
2. Save this file INSIDE the folder containing the swat guy animations (namely, with the files; "H-SWAT-Idle.x", "H-SWAT-Move.x" and "H-SWAT-Attack1.x"
3. Now, run the program!




INSTRUCTIONS FOR MISSLE DEMO:
-----------------------------
1. Just copy and paste into your editor and run


*please work now, please work now, pleeeeaaseee!! *

***********************************************************************
[ TOP SECRET: FOR !HI!'S EYES ONLY!! ] just kiddin'
***********************************************************************
anyway, !hi! i need to know what it is you need exactly.
Q1) Is your guard LOOKING for the player or is you just patroling the area?
Q2) Will your guard shoot on sight or will he ring off an alarm or something first?
Q3) Are there any obstacles (big or small) between the guard and the player?
Q4) Are these obstacles breakable or solid?

The way I see things, the shooting is going to be quite complicated.
In my head it goes like this: the guard is patrolling the area, and sees the player. He then engages the player and begins shooting while running towards him. If the player hides behind something (i.e. guard can't get a shot) he moves alot closer to the player and then tries again. If the guard can't get a lock on for about 10 seconds, then the guard stops his search and starts looking around. if he spots the player again, he pursues him again ELSE he resumes his patrolling.

Am i missing anything?


PS What do you think of this face i painted? Guess who he is?

For when they said I couldn't, I did...

Attachments

Login to view attachments
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 22nd Feb 2005 01:35
also - where is saberdude?


[for those who are offended by double posting - i wanted to create less confusion for !hi! by this double post]

For when they said I couldn't, I did...
Dom
21
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 22nd Feb 2005 01:55
Umm who is da dude you painted?


Thanks to Animeblood for the Logo!
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 22nd Feb 2005 03:05 Edited at: 22nd Feb 2005 03:08
thats exactly write DeHonCha

Quote: "
The way I see things, the shooting is going to be quite complicated.
In my head it goes like this: the guard is patrolling the area, and sees the player. He then engages the player and begins shooting while running towards him. If the player hides behind something (i.e. guard can't get a shot) he moves alot closer to the player and then tries again. If the guard can't get a lock on for about 10 seconds, then the guard stops his search and starts looking around. if he spots the player again, he pursues him again ELSE he resumes his patrolling.
"


you could start 3d modelling and making textures of people
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 23rd Feb 2005 01:04
that's me!!!

no i'm just kiddin' I just thought him up - what'd you think?

also - i'm working on the ai - forgive my slowness due to university studies

For when they said I couldn't, I did...
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 23rd Feb 2005 01:05 Edited at: 23rd Feb 2005 01:10
okay - i'll try working on models - what do you need specifically and i'll try my best.

also, have a screenies as of late?

For when they said I couldn't, I did...
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 23rd Feb 2005 03:02
errrrrrrr very hard ones that i cant do(3d): JAMEs Bond, and aston martin v12 vanquish with weapons
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 23rd Feb 2005 03:02 Edited at: 23rd Feb 2005 03:03
plans to start my game again as darkmater wont install enhancments the dark matter that comes with db
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 24th Feb 2005 22:44
i'll try for the models but i'm an amateur modeler/artist

can you post some screenies of what you can make please (just curious)?

For when they said I couldn't, I did...
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 25th Feb 2005 00:20
this is my best work.it little nellie a gyroscope (helecopter type thing) from a 007 movie. this was made in 3ds max 2 and all the textures made in paint . i know have max 7 . this tokok 3 days to make what any more screen shots of the model i get u them. but your not getting this mode for free. ill post it in anorther thread beAuse it keep on failing
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 25th Feb 2005 00:24
sorry i had to post the screen shot as an zip

Attachments

Login to view attachments
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 25th Feb 2005 20:36
pretty nice . just a friendly note ; when i said i wanted to see the models, i was just curious at how good you were at art - that's all. well... this screeny answers my question

and, it's okay (post screenie as zip)

For when they said I couldn't, I did...
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 26th Feb 2005 17:43
are you better than me or not just wondering cause i asked you to model james bond somewhere?? what program do you use?? or do you not want to model it
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 26th Feb 2005 17:44 Edited at: 26th Feb 2005 17:45
i dont mind if you say nooooooooooooooooo

Login to post a reply

Server time is: 2025-06-02 14:39:15
Your offset time is: 2025-06-02 14:39:15