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.

Work in Progress / A.I. Script

Author
Message
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 21st Dec 2003 22:25
Are you coding that in DB?

Penfold
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 21st Dec 2003 22:30
In case your wondering how it does this it stores each time the player fires the distance from the closest enemy to which it is facing. I also stores the aproximate heading from the enemy to which it is firing from (this would help stop sneek attacks from the side) hopefully this will get to the point of the enemy looking at specific fields of vision to find the player.

then every time an enemy comes within range of the player (enough to be seen) the AI checks the data takes an average (it loads from a seperate file at the moment and so is a bit slow I may try and put thi info into a DIM system that it updates as it goes and then saves at the end of gameplay or when data is saved) the average should give the computer some idea of what is going to happen next and control the enemy within the boundrys of the rest of the program based on the updated data.

Ok so its not a mouse.
Penfold
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 21st Dec 2003 22:30 Edited at: 21st Dec 2003 22:32
Yeah I'm coding it in DB.

Having a couple of minor problems but thats cuz I'm new to DB but I'm sure I'll get round them.

Ok so its not a mouse.
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 21st Dec 2003 22:38
When do you think it'll be finished?

Penfold
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 21st Dec 2003 22:42
depends on how much I want to put into it..

Trying out different options at the moment..

Looking at the max amount of data I want to store for each variable. I'm storing 20 pieces of info for each data type at the moment.

The more data floating about the more I think its gonna slow down..

I'm not sure if theres a maximum amount of data DB can store so I'm being practical after all you don't want data stores every time someone shoots a chain gun could get messy.

Ok so its not a mouse.
Dsarchy
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: UK- Kent
Posted: 21st Dec 2003 23:10 Edited at: 21st Dec 2003 23:12
dum di dum

"Is it really good is a hoover sucks?"
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 22nd Dec 2003 12:52 Edited at: 22nd Dec 2003 12:52
I think DB can hold a lot of data.
My game has no slow down with:

- angles and x,y,z positions for 40 enemies
- angles and x,z positions for 100 bullets.

Login to post a reply

Server time is: 2024-11-24 00:57:11
Your offset time is: 2024-11-24 00:57:11