Share this post

Link to post

Share on other sites

have a look into examples 12_Example_Collision.au3 and, moreover, 49_Example_Loaded_Scene_Collision.au3. They show briefly (and well documented!) how this is done. Example 49 allows you to fall into eternity when leaving the map - think this is what you need?!

I'm interested to know if anyone has developed a working game with this, or even be able to run around the map.

With autoIt version of the wrapper? I think no because quiet new and not complete. As you may have read, the wrapper itself comes from freeBasic and is mature and used for several years. Also not all features of this original wrapper are "translated" yet, you should find right now a hole bunch of needed features to write some nice apps/games (just have a look in working examples what can be done right now ...).

Don't know if you are an experienced (3D) game programmer, but if new to 3D (as me), the already available stuff will give you everything to work yourself into concepts of this.

Besides, your feedback will help to make this project "round". And: why not become the first to implement a nice small cool game with au3irr2

What do you mean with "running on a map" - arent examples not working for you? There are several where you run around a map ...

Share this post

Link to post

Share on other sites

OK, strange thing or simple reason. Can you please anyway download this version again and rebuild your directory? And: error with ANY example script or just this one? If not only this one - which ones? What does error message say? You know, it's easier to reproduce the more info is there. Feel free to write more than one sentence - lol ...

** Edit: found the problem, thanks.

May I ask WHAT the problem was? Maybe relevant also for others ...
Edited July 25, 2010 by linus

Share this post

Link to post

Share on other sites

Yeah I saw that, I managed to draw a sprite to the map now. How would I go about making him run around the map randomly?

Epdmk.

How much time do you think yourself before posting? Work yourself through the examples (several use random numbers). Have a look into \documentation inside your wrapper dir. Type RANDOM into the au3 help. Open a separate topic where you can "chat", instead of spamming here. Come back when having serious problems/questions about au3irrlicht2. May I cite you one (last) time: lol.

Share this post

Link to post

Share on other sites

Yeah I saw that, I managed to draw a sprite to the map now. How would I go about making him run around the map randomly?

Did you try to use IrrAddFlyStraightAnimator to go to specific location

Start point as your curent position, end point as your random position

The other way is random angle on main node and node child as your main pointer to the new location, that way you can automaticly get the turning on the correct side of your main node and travel distance shud b distance from your main nude and his child. (easy to calculate or to set new travel distance )

There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

(means: additional download of the freeBasic wrapper is no longer needed, cut-down version of Frank Dodd's original wrapper is included)

- 81 Examples at all

- Example launcher (examples now in sub-dir to keep the root dir clean)

- Completed + fixed structure

- of course again an updated UDF

I have changed the _irrStart function for new example structure. This allows to run au3irr2-scripts with .dll's in a separate dir (either .\bin or .\..). Hope this is useful, see comments in UDF for more info.

2jRowe: Hope changes are welcome - I think this structure is better for future work + maintenance of the UDF. All files needed for this project are added to the google sources, as Frank Dodd agreed with providing also a sub-set of his wrapper.

Share this post

Link to post

Share on other sites

Absolutely, and I'll update the first post right now as well. At some point, I'll take a look at the second post and figure out how best to make use of that space. Linus, huge round of applause. I've gotten caught up in creating a new job for myself, and let some things languish. This is great!

Share this post

Link to post

Share on other sites

Hello BiliyomKi - nice, people fixing problems on themselves are the best Nevertheless, I tried your first code without this error messages - instead a complete crash. Strange ... maybe different behaviour between Vista and XP?

Reason for crash is that the node names (Ground + pillar) were not in my animation.irr. Replacing with "valid" node names the irrlicht scene loads fine. Explains also why your second code is working: there are simply no invalid node names used.

Thanks by the way for pointing out the ability to create + load complete (animated) scenes from irrEdit!

If I try the use doom III maps(*.pk3) I cant see something or some part of map.

Don't know very much about .pk3's, maybe somebody else can give more info? In the meantime: I played with this some time ago, and had some problems, too. One nice map ("Springfield" from the Simpsons as pk3 ) was simply too big for the irrLicht engine. Another problem were maps referencing ressources (bitmaps) from an original quake installation.

Maybe you can try first if the map is ok for irrLicht itself by opening in irrEdit: