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 / Adding enemies with a.i into a level made with Deled?

Author
Message
Game Freak10K
21
Years of Service
User Offline
Joined: 29th Apr 2004
Location:
Posted: 14th Dec 2004 16:19
This question is based on my 3rd person, Crash Bandicoot style game.
====================================================================

I dont know how to make a level editor so Im going to use Deled to build my levels, place collision boxes all around the level in DBC so the player can run around in it.
What I NEED to know how to do now is, put enemies and other objects into the levels (some with a.i)and get collision to work with them as well.
I can only think of one way to do this and that is to run the Deled based levels ((level 1 - last level)) from functions so I can call each one separately. In the functions I would place the enemy object as many times as I need with the "load" and "position object", commands. Each object would (somehow) have its a.i commands in a gosub or another function somewhere so when the levels play, enemies load, thier a.i functions execute, and they collide with both the levels and the player. (this is in theory of course). Am I on the right track though?

Comics and Games-Bread and Butter.
Dom
20
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 15th Dec 2004 01:31
Well for AI Check out a thread called Help WIth AI Please by ANIME BLOOD

DRAGONFIRE STUDIOS
Lead Programmer
(The Studio being my front room)
Game Freak10K
21
Years of Service
User Offline
Joined: 29th Apr 2004
Location:
Posted: 15th Dec 2004 02:49
My question was actually about getting multiple models into a level built with Deled, but thanks for the a.i tip saberdude.

Anyone else?

Comics and Games-Bread and Butter.
Dom
20
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 15th Dec 2004 02:53
Well you just load em in and position them in the right place! For collision just do Set Object Collision On,Set Object Collision To Boxes!

DRAGONFIRE STUDIOS
Lead Programmer
(The Studio being my front room)
Game Freak10K
21
Years of Service
User Offline
Joined: 29th Apr 2004
Location:
Posted: 15th Dec 2004 12:36
So my theoretical proposal was correct.
Now I just have to sit tight for the next 48 years and try to program it!

-"Were here because of you Mr.Anderson."

Comics and Games-Bread and Butter.

Login to post a reply

Server time is: 2025-05-24 07:46:13
Your offset time is: 2025-05-24 07:46:13