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.

Some questions

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.
Locked
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Some questions

Post by kddekadenz »

I'm planning on releasing a pre-compo version of Kelgar on the 10th of January, so I need responses immediately!

1. How can I change the version-number in the bottom left of the main-menu? - solved

2. How can I show waypoints? /showwaypoints 1 from Sauerbraten doesn't work for me.

3. What I need to to add a walk and dying animation to a critter?

Thank you in advance for replying.
Last edited by kddekadenz on January 8th, 2012, 1:04 pm, edited 1 time in total.
Kelgar is an advanced RPG beeing developed in Sandbox
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: Some questions

Post by arcones »

1. I'm not sure actually.

3. You would need to animate it if it is not animated already.
Image
Want a user bar like this one? PM Leo!
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: Some questions

Post by kddekadenz »

It has a walk animation (I used the uh model), but no dying. But it doesn't play on movement.
Kelgar is an advanced RPG beeing developed in Sandbox
User avatar
jSoftApps
Member
Member
Posts: 426
Joined: May 2nd, 2011, 10:02 pm
Name: J.R.
IRC Username: jSoftApps
Location: jSoft Apps Software Innovations HQ
Contact:

Re: Some questions

Post by jSoftApps »

1 ) That can be changed in the main.cpp file in sandbox's source code. The vcpp binaries don't work (*cough*Hirato*cough*) so I recommend code::blocks for compiling
2 ) That's a Hirato Question
3 ) Are you sure your configuring it right?
jSoft Apps Software Innovations - App, Games and More!
Visit our Website!

Image

jSoft Apps is now on indie db!
Image
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: Some questions

Post by kddekadenz »

3. Here is the cfg of the model:

Code: Select all

md5dir "uh/anim/man"



md5anim "forward" "walk2.md5anim" 30	1

md5anim "idle" "idle.md5anim" 30 -1

md5anim "backward" "back.md5anim" 30 1

md5anim "left" "strafeleft.md5anim" 30 1

md5anim "right" "straferight.md5anim" 30 1

md5anim "jump" "jump.md5anim" 50

// md5anim "run" "run.md5anim" 30 1

// md5anim "hold1" "hold1.md5anim" 30 -1

// md5anim "greet" "greet.md5anim" 30 -1

// md5anim "dance1" "dance1.md5anim" 30 -1

// md5anim "lookleft" "lookleft.md5anim" 30 -1

// md5anim "lookright" "lookright.md5anim" 30 -1

// md5anim "sit" "sit.md5anim" 20 -1



md5animpart Spine1



md5anim "forward" "walk2.md5anim" 30	-1

md5anim "idle" "idle.md5anim" 30 -1

md5anim "backward" "back.md5anim" 30 -1

md5anim "left" "strafeleft.md5anim" 30 -1

md5anim "right" "straferight.md5anim" 30 -1

md5anim "jump" "jump.md5anim" 50 -1

// md5anim "run" "run.md5anim" 30 -1

// md5anim "hold1" "hold1.md5anim" 30 1

// md5anim "greet" "greet.md5anim" 30 1

// md5anim "dance1" "dance1.md5anim" 30 1

// md5anim "lookleft" "lookleft.md5anim" 30 1

// md5anim "lookright" "lookright.md5anim" 30 1

// md5anim "sit" "sit.md5anim" 20 -1
And here the script for the critter:

Code: Select all

// Go to player and  attack with dagger

r_script_signal interact [
	if (r_matchref player actor) [
		if (= (r_get_state self) $CS_DEAD) [
			r_signal "loot" actor self 0
		] [
			r_chat self 0
		]
	]
]
r_script_signal spawn [
	r_additem self 9 1
	r_equip self 9 0
//	r_action_wander self 0 96 0
]

r_script_signal loot [
	echo "Nothing to loot"
]

r_script_signal update [
	if (r_cansee self player) [
		r_action_clear self
		r_action_attack self player
	]
]

r_script_signal hit [
	if (= (r_get_state self) $CS_ALIVE) [
		r_action_clear self
		r_action_attack self actor
	]
]

r_script_signal collide [
  if (!= (r_get_faction self) (r_get_faction actor)) [
    r_action_clear self
    r_action_attack self actor
  ]
]
Kelgar is an advanced RPG beeing developed in Sandbox
Locked