Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 13,972 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Using the C++ SDK #1878
04/06/01 01:50
04/06/01 01:50
Joined: Sep 2000
Posts: 300
Ohio, USA
V
vrkaya Offline OP
Senior Member
vrkaya  Offline OP
Senior Member
V

Joined: Sep 2000
Posts: 300
Ohio, USA
Hi,

I'm strongly considering the purchase of the SDK to use some C++ in place of scripting for certain sections.

Mainly, I want to do this for the AI because just about everything on AI is demonstrated using C++. It would be great to not have to make the conversion to wdl. Though I have found wdl to be easier than expected, sometimes I have found some difficulty in converting C++ due to syntax and specific functions that wdl doesn't have. Also, I have found this killer "fuzzy logic editor" (called Spark) that cleared up - in one afternoon - most of the confusion I had with the topic. And best of all, it works with Visual C++ also.

Can I use the SDK "just" for AI?

I assume I can let C++ process my AI vars and then feed the output to wdl via the SDK?

I seem to recall JCL once saying the wdl was appx 50% as fast as C++. Will the SDK slow down my C++ to wdl speed or will I get the full speed advantage?

Thanks, Ron


Re: Using the C++ SDK #1879
04/06/01 01:58
04/06/01 01:58

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I do know you can use c++ for just AI, I know Kevin Ross is doing it. I don't know about the speed though, just started classes in c++ so it will be some time before I use it for 3dgs.

Re: Using the C++ SDK #1880
04/06/01 03:25
04/06/01 03:25
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
You will probably not notice much of a speed difference either way. Much of the slow down in WDL comes from executing acknex commands (trace, move, scan, etc) and not from the code itself. Of course it all depends on what you are programming. Some AI algorithms depend on things like recursion that can bring your computer to a crawl.

What "specific functions" are you missing from WDL that you need C++ code for?

Spark! is a interesting little tool ( www.louderthanabomb.com ). Depending on the type of game you could probably combine it with A5 to make some quick AI.



Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Re: Using the C++ SDK #1881
04/06/01 04:58
04/06/01 04:58
Joined: Sep 2000
Posts: 300
Ohio, USA
V
vrkaya Offline OP
Senior Member
vrkaya  Offline OP
Senior Member
V

Joined: Sep 2000
Posts: 300
Ohio, USA
Well, I'm not a C++ expert by any stretch of the imagination so take some of this with that in mind. When I first got into 3D graphics about 4 years ago I found that my compiler was just gathering dust but now I'm ready to dig back into it.

Of recent note, I came across the "disjunction" operation that is used in calculating a fuzzy logic output. It looks like just a glorified OR to me but it seems OR will not suffice.

As I noted, the SDK would make it nice to just plug in existing C++ code that is available in many programming manuals. I'm planning on using a fuzzy state machine as the basis of most of my simulation AI. I realize that's a pretty lofty goal but I've done some researching and I'm convinced its the best way to go for my app. I would also like the option of local variables.

In case other A4/5er's have an interest, LouderThanABomb has just released version 1.3b beta and they wanted the message passed on. If you've ever had even an inkling about using fuzzy logic for your game AI you're going to like this program. I've been sitting here in my free time amazed at how much simpler it is to design FLV's and FAM's with Spark. It's a graphical approach that's easy on the user.



Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1