Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them. If you have any questions please e-mail me through the Platinum Arts website.

Search found 23 matches

by Cypress
May 7th, 2010, 6:41 pm
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

How do you attack in FPS mode ?? :lol:

I did not expect the gun feature to be excluded from PAS.

Isn't PAS based on Sauerbraten's engine? :roll:

Is it necessary to code the gun in?
by Cypress
May 7th, 2010, 12:09 am
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

Looking at things from my point of view, I think the RPG mode is still at its early stages Cube 2 Engine is more for FPS after all. xD Hopefully Regen comes out early =D. Does the FPS mode contain an default ai script? I can try tinkering around with it =D, although RPG has better spell configs =(.
by Cypress
May 6th, 2010, 1:06 am
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

Oh, hence the line vector<mproj *> magicproj; Guess there is no other way besides waiting for the next release. Can't seem to find anything relevant in MCO. Either way, the script goes on to this rpgent(rpgobj *_ro, rpgclient &_cl, const vec &_pos, float _yaw, int _maxspeed = 40, int _type =...
by Cypress
May 5th, 2010, 8:38 am
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

struct rpgent : dynent { rpgobj *ro; rpgclient &cl; int lastaction, lastpain; bool attacking; int lastpickupmillis, checkpoint; vector<mproj *> magicproj; rpgent *enemy; enum { R_STARE, R_ROAM, R_SEEK, R_ATTACK, R_BLOCKED, R_BACKHOME }; int npcstate; int trigger; float sink; vec home; enum { RO...
by Cypress
May 5th, 2010, 8:10 am
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

r_meleeweapon = [ r_usetype 1 r_damage $arg1 r_attackrate $arg2 r_maxrange $arg3 r_maxangle $arg4 r_action_use [ r_dodamage (r_eff_melee) ] ] r_rangedweapon = [ r_usetype 2 r_damage $arg1 r_attackrate $arg2 r_maxrange $arg3 r_useamount 10 // comes with arrows included r_action_use [ r_dodamage (r_e...
by Cypress
May 4th, 2010, 5:58 pm
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

Any list for those certain codes for PAS 2.5? =D

Besides, while digging through the rpg config for MCO, I found this confusing

Code: Select all

r_friendly_creature = [
    r_model $arg1
    r_ai 2
]


What does the $arg1 stand for?
by Cypress
May 4th, 2010, 9:00 am
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

Hmm... I see.
So are there any list for commands that is engine-related?

The funny thing is that MCO understands r_ai.

Otherwise, r_ai can't seem to affect PAS 2.5.

I'll take some time to go through the engine folder to find anything interesting :D

Thanks for the tip!
by Cypress
May 4th, 2010, 1:11 am
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

So... is it universal?
E.g: Can I use the fpsgame command in rpggame?

Besides that, how does r_X commands work? ( X = anything )
Do you need to add something like ICOMMAND beforehand?

Sorry if its difficult to understand, I just can't seem to phrase it :x
by Cypress
May 3rd, 2010, 4:42 am
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

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:
by Cypress
May 2nd, 2010, 9:53 am
Forum: Sandbox General Support
Topic: Creatures that attack
Replies: 60
Views: 5851

Re: Creatures that attack

Alright =D.

Can anyone elaborate on ENT_AI? :roll: