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.

Dark Physics & Dark A.I. & Dark Dynamix / AI Add Waypoint I need help

Author
Message
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 23rd Jun 2009 17:47 Edited at: 24th Jun 2009 12:27
About the function 'AI Add Waypoint Container Number, Position X#, Position Z#' (in the Dark AI plugin):
see the programme below, I've created many waypoints using this function. I show these using 'AI Debug Show waypoints' and I update these using 'AI Update Waypoint Visibility 0' but they will disapear if you uncomment line 114 : 'AI add static obstacle' affect the waypoints, maybe it delete the previous waypoints and it remplace these by some other waypoints... dunno why... so how can I have all the waypoints I need using both 'AI Add Waypoint' and 'add static obstacle' ?please help ?




come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30

Attachments

Login to view attachments
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 23rd Jun 2009 20:15 Edited at: 24th Jun 2009 12:29
how can I make these two fonctions work together ? :

'AI Add Waypoint' don't work when I use 'AI add static obstacle' just after or before because: the waypoints added via 'AI add waypoint' are removed by 'AI add static obstacle' ! I think It should NOT. IMO, it must not !

Is it a bug I should report ? if not a bug how can I make these two fonctions work together ? thanks in advance ?

come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 24th Jun 2009 10:37 Edited at: 24th Jun 2009 10:38
Which plugin are you using? As I cannot get it to go without knocking half the code.

Dark Physics makes any hot drink go cold.
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 24th Jun 2009 11:41 Edited at: 24th Jun 2009 11:45
I'm talking about DarkAI plugin ! there is a bug: 'AI add static obstacle' remove any waypoint added via 'AI Add Waypoint' ! it shouldn't.
@HowDo: can you help please ?

come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 24th Jun 2009 18:10
Again which plugin are you using?

As there are some code parts that are not DBPro or DarkAI , so I am unable to make the code compile to see what might be going on.

eg


Dark Physics makes any hot drink go cold.
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 24th Jun 2009 18:23
I'm using : DBP Enhancements plugin (enhanced), DarkAI;



come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 24th Jun 2009 19:08


moved these two commands to another point in the code.

can't say if its doing what you are after.

Dark Physics makes any hot drink go cold.
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 24th Jun 2009 23:31
the waypoints are showing up now (but not these around the obstacles... dunno why...) Thanks HowDo.
@ HowDo, many thanks ! try this programme now if you want to see what I'm working on... say what you want about it, I'll read your comments: I'm trying to make a kind of point & click gameplay (kinda gameplay prototype), use left-click and the mouse to move the white box to the cursor that is mouse controlled, simply point & click where you want; the red cones are enemies that will turn around the box if they detect its presence :



come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30

Attachments

Login to view attachments
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 25th Jun 2009 10:31 Edited at: 25th Jun 2009 10:31
This what can see if I turn on




Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 25th Jun 2009 12:10 Edited at: 25th Jun 2009 12:12
there is something about 'waypoints' I don't get: the entity move well with the waypoints around the obstacles, these are added automatically with 'AI add obstacle' so there's no need to add more waypoints in between: is that function 'AI add waypoint' really useful ? in my case everything should be ok without adding extra waypoints, because the entities are already finding their path perfectly, no ? I mean the extra waypoints aren't used by the entities when they move.

HowDo said :
Quote: "This is what I can see if I turn on :

"

yeah that mean that all the waypoints are there and computed but are not all displayed via debug commands: whole waypoints aren't displayed at the same time... so maybe there's a bug with the 'AI Debug' commands because every waypoints should be displayed at the same time.

apart from that, I wrote the following program, wich is the continuation of the one in my previous posts: nothing new, except the camera movement that is smoother and let the user seek around before clicking, just use the mouse & click buttons... you can uncomment the line 190 to show 'AI debug show view arcs' :


thank you HowDo

come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 25th Jun 2009 12:32
Serge Adjo, do you like using the DarkAI chm help file system or would you like DarkAi like the DBPro help files?

Dark Physics makes any hot drink go cold.
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 25th Jun 2009 13:03
yeah I would like DarkAi help like the DBpro help files ! but don't forget the commented code snippets & examples provided !

come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 25th Jun 2009 13:26
here you go

put DarkAI.ini in keywords.
put DarkAI folder in to addoncommands.


hope it works.

Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 25th Jun 2009 16:42
Quote: "put DarkAI.ini in keywords."


Thanks for the help files but It doesn't work: where is DarkAI.ini file , I don't find it, ? The file is missing ? all I can find is the DarkAI folder and an internet link / shortcut to JZIP software homepage !? please do you have the keywords file ?

apart from that I've tried to write a continuation to the previous program: I've tried to make some First person controls with mouse and arrowkeys : but it's little bit jerky movement when it comes to collision IMO collisions with sparky are far better... :



come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 25th Jun 2009 17:49 Edited at: 25th Jun 2009 17:55
must have been how I use the packer, click the down load for the DarkAI.ini file then put it in

Crogram FilesDark Basic SoftwareDark Basic ProfessionalEditorKeywords

other folder if it unpack them go here

Crogram FilesDark Basic SoftwareDark Basic ProfessionalHelpaddoncommands

Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 25th Jun 2009 18:22
Serge Adjo, I like your method for making this code, eg, start with a top down, get it going, then make it 3rd person.

Dark Physics makes any hot drink go cold.
Serge Adjo
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 25th Jun 2009 20:48 Edited at: 30th Jun 2009 09:34
yeah.
@HowDo Thank you for the helpfiles, many thanks for the compliment

come see my DarkAI examples: <a>http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30</a>
http://forum.thegamecreators.com/?m=forum_view&t=151610&b=30

Login to post a reply

Server time is: 2024-04-25 10:16:48
Your offset time is: 2024-04-25 10:16:48