Page 4 of 7

Re: Creatures that attack

Posted: April 26th, 2010, 12:05 pm
by Leo_V117
Good Idea.

Re: Creatures that attack

Posted: April 29th, 2010, 8:47 am
by Cypress
I have been playing around with PAS 2.5 for awhile now.

Its really a friendly program for those who are new to sandboxes, like me xD :lol:

But I think I need to learn Cubescript a little more in depth.

Can anyone offer me something to learn the basics? :P

I think its rather demanding but as I don't know when 2.5.1 is released, I really might want to try scripting an AI script.

I understand that it is a long process, but I hope you guys can offer me some help.

Sorry if I am being too troublesome :cry:

Re: Creatures that attack

Posted: April 29th, 2010, 11:25 am
by GR1M
You can start here --> http://sandboxgamemaker.com/wiki/index.php?title=Cubescript
Next start by browsing through the forums looking at past questions about scripting. And it wouldn't hurt to look at Master Chef Ogro files and other people's map files you can find Master Chef at the download section and people's maps in "Show off your work"

Gr1m :twisted:

Re: Creatures that attack

Posted: April 30th, 2010, 8:54 am
by arcones
I don't mind helping! In fact, it'll probably help me if I try to help others understand CS! :P

Re: Creatures that attack

Posted: May 1st, 2010, 1:11 am
by Cypress
Where is the code located in MCO?

And what is "millis" by the way...? :lol:

Re: Creatures that attack

Posted: May 1st, 2010, 8:58 am
by arcones
I'm guessing it's short for milliseconds. ;)

Re: Creatures that attack

Posted: May 2nd, 2010, 9:53 am
by Cypress
Alright =D.

Can anyone elaborate on ENT_AI? :roll:

Re: Creatures that attack

Posted: May 2nd, 2010, 2:23 pm
by arcones
Well, could you tell us where you found ENT_AI? ;)

That would help!

Re: Creatures that attack

Posted: May 2nd, 2010, 8:13 pm
by Captain_Ahab
As far as I can tell, it denotes an entity that is controlled by the AI routines in /src/engine/monster.cpp
In the SP mode, it is an integer that corresponds to the monstertype
and it is set via scripting in the RPG game.

I'm still learning and studying how things work, so be skeptical......

Re: Creatures that attack

Posted: May 3rd, 2010, 4:42 am
by Cypress
So, is it usable as a script in RPG mode?

a) Does it have any connection to r_ai command in MCO?
b) Any idea how r_ai works in MCO? :D

Thanks for the reply =D

By the way, its in src/fpsgame/monster.cpp for me. :shock: