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.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Making NPC's move and attack

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Making NPC's move and attack

Post by arcones »

Yep!

The spell up above is already in RPG mode! To edit the spell go to data/game_rpg.cfg ;)
Have fun!

Arc :geek:
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Making NPC's move and attack

Post by Leo_V117 »

It already exists in 2.5
User avatar
James Payne
Member
Member
Posts: 20
Joined: April 24th, 2010, 8:43 am
Name: James

Re: Making NPC's move and attack

Post by James Payne »

Thanks! Erm... i dun wan spell... I just wan to make the character -1hp persecond without using spell... U got me?
And... Can i attack or fire a spell in FPS MODE? Can i make the model animate in FPS? How to loop music file to let it keep playing repeatly? Help Arc and Leo! Thanks!
User avatar
James Payne
Member
Member
Posts: 20
Joined: April 24th, 2010, 8:43 am
Name: James

Re: Making NPC's move and attack

Post by James Payne »

Somebody pls?
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Making NPC's move and attack

Post by arcones »

James Payne wrote:I just wan to make the character -1hp persecond without using spell... U got me?
I do understand. However, you can't accomplish that without coding... And I don't know how to do that :|
James Payne wrote:And... Can i attack or fire a spell in FPS MODE?
There's probably a way I don't know about... and that's the reason I recommend RPG mode.
James Payne wrote:Can i make the model animate in FPS?
Only "created creatures" can move. Unless you animated everything yourself ;)
James Payne wrote:How to loop music file to let it keep playing repeatly?
I know how to make a certain song play from the beginning, so I'm assuming you use a loop i 50 music Last-Flight song... (I believe it's something like that, I'm not quite sure...)
Hope that helps!

Arc :geek:
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Making NPC's move and attack

Post by Leo_V117 »

James Payne wrote:How to loop music file to let it keep playing repeatly?
I know how to make a certain song play from the beginning, so I'm assuming you use a loop i 50 music Last-Flight song... (I believe it's something like that, I'm not quite sure...)
Hope that helps!
Actually... In the <map>.cfg, add this to the top:

Code: Select all

music <music_name>
That should play your wanted music constantly
User avatar
James Payne
Member
Member
Posts: 20
Joined: April 24th, 2010, 8:43 am
Name: James

Re: Making NPC's move and attack

Post by James Payne »

Thanks! Now i have another question! How to skip the respawn time after death in RPG? Help ASAP thanks guys!!! :D
User avatar
James Payne
Member
Member
Posts: 20
Joined: April 24th, 2010, 8:43 am
Name: James

Re: Making NPC's move and attack

Post by James Payne »

Someone pls help for this dude! Thanks!
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Making NPC's move and attack

Post by arcones »

Hmm, I'd assume that would require some coding... either taken out, or put in, I don't know :|
Image
Want a user bar like this one? PM Leo!
User avatar
James Payne
Member
Member
Posts: 20
Joined: April 24th, 2010, 8:43 am
Name: James

Re: Making NPC's move and attack

Post by James Payne »

Hey dude! I already know how to remove the health bar and all that! Congratz me! Hahahaha!
Locked