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
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 26th Feb 2005 20:53
sorry again for lateness

i am good only in certain things - what i really can do - i don't know cuz i haven't really gotten into modelling/texturing.

so i mean - i will try - but please be patient - i will give you updates as soon as something is worth a look

james bond and stuff is really tough so i'd advise you to just find someone to do those - try Badname - he is EXCELLENT - i mean really EXCELLENT - check out his thread in the 3d chat

sorry if i disappoint you

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 28th Feb 2005 01:18 Edited at: 28th Feb 2005 01:19
dont worry. i know how hard it is
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 2nd Mar 2005 02:33
i started writing a multiplayer internet shooter and internet commands are............. so i decided to turn it it a james bond game my oringanal james bond game is an FPS but this is gonna be third persosn ill use all the graphics just reprogram it to 3rd person.
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 7th Mar 2005 04:52
alas! my soul is indeed cursed! for when this day hath dawned on me - my computer connection was still asleep curseth those who curseth my computer - for they have delayed my responses :-P

sorry for long waiting in reply - now i'm here to help again (my comp connection was all screwed)

anyway - hi - i'm still working on your james bond model and the ai - hope you'll forgive my delays - i've been busy with univ work too

For when they said I couldn't, I did...
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 8th Mar 2005 02:10
Hey, check out my zombie AI code in the codebase. Full source + Media + lots of comments!

Sorry for the shameless plug but I gotta try.

1800+ XP - GeforceFX 5600 - 256MbDDR - 60Gb Hdd - XP Pro (SP2)
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 8th Mar 2005 02:37
the games is going really good 3 levels. But 0 enemys. so on one of levels i got the guy walking round in a squrare well actually 2 but im workin on the best level at the moment i have made the helecopter levle but as i said no enemys. also theres no collision. but i have made a menu. also i tried to model james bond my self its ok but not top quality by far ill post a screen shot later
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 8th Mar 2005 02:48
sorry for doubble posting but whyu dose these position not goin a square


posx(1)=-100 : posz(1)=-100
posx(2)=-100 : posz(2)=300
posx(3)=400 : posz(3)=300
posx(4)=400 : posz(4)=-100
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 8th Mar 2005 05:31 Edited at: 8th Mar 2005 06:02
if i double post, i get profanity

@ mobiius - i really intend to go and have a look at your .... code.... but for some reason.... i can't stop looking at .... your avatar ....

@ hi
anyway - real sorry i couldn't work on your stuff for some time now - been busy with univ work - what do YOU do btw?

also , your square co-ordinates - last one should be origin remember? (-100,-100)

good to hear everything going okay - any screenies so far

also - don't worry too much about graphics just yet - just develop the concept and improve graphics later

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 8th Mar 2005 05:51
posx(1)= - 100 : posz(1)= - 100
posx(2)= - 100 : posz(2)= 300
posx(3)= 400 : posz(3)= 300
posx(4)= 400 : posz(4)= - 100

what would it be now? i tryed what yuo said to this

posx(1)= - 100 : posz(1)= - 100
posx(2)= - 100 : posz(2)= 300
posx(3)= 400 : posz(3)= 300
posx(4)= -100 : posz(4)= - 100

failed
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 8th Mar 2005 06:01
wow! you were on the net the same time as me - what are the odds?
-100, -100
-100,300
400,300
400,-100
-100,-100
hope that helps

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 8th Mar 2005 14:59
you mean can yuo tell me the answer please. after this i need to model an alarm switch and make him run to break free from his patrol.
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 9th Mar 2005 02:00
@DeHonCha
Glad you like my avatar! I'm in the process as we speak of creating a really sweet AI library containg friendly and enemy AI. It'll take me about a day to get it up and running if your interested?

1800+ XP - GeforceFX 5600 - 256MbDDR - 60Gb Hdd - XP Pro (SP2)
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 9th Mar 2005 04:23
hmmmmmmmmmmm NO SQUARE
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 9th Mar 2005 05:00
@mobiius
you bet i'm interested!!

@hi:
no square - haabaa!! (pronounced with the "aa" leading upwards like in "Ca-thay")

try:
0,0
100,0
100,100
0,100
0,0

For when they said I couldn't, I did...
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 9th Mar 2005 15:40 Edited at: 9th Mar 2005 15:53
thats IS a square like!

And here is a demo of my ai so far. It isn't strictly AI but the engine to control them through unrealscript style commands (such as __SpawnActorAt(), __KillActor() __KillAllActors() and ControlAI() )

http://www.defiantsoft.servegame.com/downloads/ailibrary.rar
CONTROLS:
Left Click an actor to kill it.
Right click to kill all actors.
Left click NOT on a actor to spawn another actor
Spacebar removes all actors instantly
esc to quit.

Note, I didn't create the zombie object i'm using. dunno who did. Today, i'll get enemy animal AI added and post a demo.
And oh yeah, it was written in pro with latest patch so DirectX 9c is needed. sorry.

1800+ XP - GeforceFX 5600 - 256MbDDR - 60Gb Hdd - XP Pro (SP2)
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 14th Mar 2005 01:45
no peep from any body no?

anyway - i'm really busy with univ work so ai has been put off for further - i'm still trying my best though to squeeze it in - i'll do some today - ive got teh plan worked out though

the guards continuously check for detection, if so he enters chasing - if he can't see player fo rmore than so and so seconds, he terminates chase, enters searching and after ... seconds, returns to his patrol path again.

For when they said I couldn't, I did...
Hack Juggernaut
21
Years of Service
User Offline
Joined: 13th Mar 2005
Location: where cyberspace does exist
Posted: 14th Mar 2005 04:25
How would I make a Elite like character for my halo like game and how would I program his AI to be able to move and change to secondary weapon?please reply or email me at [email protected] .
Hack Juggernaut
21
Years of Service
User Offline
Joined: 13th Mar 2005
Location: where cyberspace does exist
Posted: 14th Mar 2005 04:38
I also need to know how to create levels to test my elite so can u guys give me some advice?
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 14th Mar 2005 05:37
how's it going dehoncha the AI?.

The next big step after this is object collision, though as i dont have the enhancment pack for dbc i can not use dll's. So i am thinking of getting darkbasic pro it has loads more features thoe i will have to convert my work, but that should not take long as dbc dose not have any feature that dbp dose not have.

ALso i put a picture of M a character from the james bond film which i am going to make a video clip with. but as for some reason it wont let me post 900kb pictures so i have to zip it. And thats lees the t 1mb the maximum attachment ammount.

anyway the games going really well i will post some screen shots soon but i am having a problem with walking up stairs thow i made an invisible ramp and wrote code it still dose not work. heres the code.

and heres some impotant information you need to no amout the code

this is a subroutine in my program
object 1 - player(in 3rd person)
object 4 - invisible ramp


can you fix this dehoncha well anyone. also i got the missiles working sorry i did not use your missile code.
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 14th Mar 2005 05:39
sorry heres the picture of M
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 14th Mar 2005 14:38
life's driving me batty - I think i like it

oh my good and noble !hi! life is a quest my friend - a tiring quest - my university is a nother quest and rite now it's my priority quest so please forgive my delays on delivering your ai though i will definately work on it soon....

regards,
me

For when they said I couldn't, I did...
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 14th Mar 2005 15:03
who's in the pic?

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 15th Mar 2005 00:20
i 3d modeled it for a video clip. If you have ever watched any of the james bond films then youll no who i am talking about james bonds boss, called "M"
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 15th Mar 2005 02:57
are you using 3ds max? it's looks too good to be done by any other software? how on earth did you model the face and stuff - beautiful!

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 15th Mar 2005 05:32
yes i am using 3ds max 7.
Thanks.

lots of polygons and vertex moving thats how most of it was made. The white spots are part of the texture so ill get rid of them i only just noticed they were there.

saving up for db pro though i have £0 at the moment so it may be long time.............

but apparently when using db pro you can convert the levels to BSP format and then do object collsion in 1 line
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 15th Mar 2005 05:34
can you get msn then
email me at : [email protected]
and msn at: [email protected]

please get !!!!!!!! MSN !!!!!!!!
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 15th Mar 2005 07:04
what do you think of this one?

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 16th Mar 2005 02:20
whos the guy???
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 16th Mar 2005 04:36
he's ................. meeeeeee!!!!!!!

(just kidding of course - i'm not that old)

he's just a figment of my imagination

so what do you think?

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 16th Mar 2005 04:39
good ,but you might want to kind os round off the corrnes what program are you using
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 16th Mar 2005 04:41
im not tryin to rush you by saying this i just want no for later, do you know when you could get the AI finshed off
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 17th Mar 2005 22:55
i'm using a cheapo anim8or

ai? probably in a 1000 years! Just kidding - seriously, around end of this month maybe - i'm just so caught up with work... but i promise i will by end of this month

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 18th Mar 2005 03:12
thanks
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 29th Mar 2005 08:24 Edited at: 29th Mar 2005 08:27
hey there hi i think i've met the deadline *really excited* take a look at only 1 hr's dedicated work (all those days were only few minutes of useless work since i was moreover on univ work) here it is


sorry for lack of rem comments - just ask if you need help - adiose!

also - you might wanna remove the beginning display adjustments

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 29th Mar 2005 20:15
ok lets see
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 29th Mar 2005 20:17
what files do i need to add????
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 29th Mar 2005 20:33
this is really cool dehoncha!!!!!!!!!!!!!! I might just change the people round and model a enemy and also i have not made the level where they start shooting you yet thow i can do that in 1 day as i just have to copy and paste bu orther levels code and change the level file name


but can you do some AI where if the gaurd see's you he legs to an alarm switch ???

thanks for all the orther stuff!!!!!!!!!!!!!!!!!!
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 29th Mar 2005 22:40
All you need to do is ask friend

Okay - first thing's first (what else can it be ). I need to understand your game structure - you know the "what's its" that go on like what happens in this level, what level are you working on right now, what level you need the ai for etc.... Cuz if you need future modifications to the program, it will be very hard for you to change my program structures and stuff. Basically I'm saying that it's best you let me know more about your game so that I can program my programs in such a way as to make room for more features.
Speaking of which, can you give me a list of all the features in your game (what can he do etc...).

About your alarm thingy - I'm already on it. I'll make an example for you.

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 30th Mar 2005 02:23 Edited at: 30th Mar 2005 02:28
for somereason it posted the message below twice this was used to be the orther message sorry
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 30th Mar 2005 02:24 Edited at: 30th Mar 2005 02:27
ok i think i will do the aalrm thingy myself but can you tell me how to make the gaurds:

1. choose the nearest alarm
2. got to the nearst alarm

sorry if you started coding the example
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 30th Mar 2005 08:04
here's an example

let me do the alarm thingy - please!!??



For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 30th Mar 2005 18:40
that examples cool but what happens if sya something was in the way of his path e.g some lifts
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 30th Mar 2005 18:46 Edited at: 30th Mar 2005 18:48
also im still haveing problems with the poisitions #




rem Enemy positions array (for guard)
dim posx(5) : dim posz(5)

posx(1)=-100 : posz(1)=-100
posx(2)=-100 : posz(2)=300
posx(3)=400 : posz(3)=300
posx(4)=400 : posz(4)=-100



counter=4
tcounter=4
stillcounter=0
mxstillcounter=4
movespd#=4.0


for some reson it seems to skip position 4

i think everytime it gets 3 it takes a short cut to number 5 thow that is not set, cause it always passes 0,0 for some reason its getting realy annoying it just gose in like a right angled triangle

it gose threw a wall if square not threw a wall

any ways to fix this
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 30th Mar 2005 20:51
set counter to 1 and set tcounter to 5 and try.

about going through walls and obstacles - you need to either:
1) store the points where there are turns and CLEAR paths and give those to me.
2) give me your level object (with all the obstacles - only obstacles)

without this, I can only give you examples that may not fit your game.

SPECIAL NOTE: and !hi! - it occurred to me that you might be worried that I will take your ideas and use them as my own. If so, don't be - I'm Catholic so you can trust me

Regards

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 30th Mar 2005 23:44 Edited at: 30th Mar 2005 23:48
error array accesed out of bounds

also about givng you my game

theres
*over 3000 lines of code
*massive 3d levels took two weeks to make

so already i would not be able to email them to you as such a msiive file and they only just fit on a CD !!!!!! i know cause of two PC's


plus how can i trust you handing all that work over
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 31st Mar 2005 06:06
try incrementing the array dimension by 1 (make it 6)
Quote: " arnold schwarzenegger: "trust me!" "


seriously, you can trust me - I'm Catholic firstly - that alone says a lot. Plus, all my former teachers and friends trust me with anything even handling big cash.

anyway - i understand if you don't want to give me anything, but please reconsider - plus, I don't want *ALL* of you stuff - just the bit where the SPECIFIC places where the guard patrols. Even a concept map is sufficient. I just need to get the positions and stuff.

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 31st Mar 2005 21:46
have you got msn or anything so i can talk to you proplerly

my msn is : [email protected]

if you do not have msn then get it its really usefull and i can talk to you wihtout the wole of the tgc forums watching especially if i was to give you any of my game media
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 31st Mar 2005 21:49
also if you do have msn and you dont want the TGC forums to all see your adress then email it to me at:
[email protected]
DeHonCha
21
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 31st Mar 2005 22:10 Edited at: 31st Mar 2005 22:11
i have simple, plain e-mail - will that suffice?

For when they said I couldn't, I did...
AlexI
21
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 31st Mar 2005 22:32
well how instant are emails?

Login to post a reply

Server time is: 2026-07-16 14:56:23
Your offset time is: 2026-07-16 14:56:23