Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Sliding characters #2855
04/26/01 13:57
04/26/01 13:57

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Ok, I've been having some problems; I made a character, gave it walkframes and standframes, (properly labeled) and put it in a test level. I then assigned player_move to it, and ran the level. everything worked fine, except that the character's walkframes don't show except when it runs up against other entities. one or two of the walkframes are shown when I start walking, but then it just stops, making the character appear to "slide" around. I tried a couple of the default characters, and the only one that didn't have this problem was the gaurd model, but he seems to only run. can anyone tell me what's wrong?

Josh


Re: Sliding characters #2856
04/26/01 18:17
04/26/01 18:17
Joined: Mar 2001
Posts: 1,825
London, England
Keith B [Ambit] Offline
Expert
Keith B [Ambit]  Offline
Expert

Joined: Mar 2001
Posts: 1,825
London, England
If you're using the template movement.wdl, you need to set Skill1 of your player entity to 1 in the properties panel to enable frame-name based animation (or put my._walkframes=1; in the action script that calls player_move). Hope that helps...

Re: Sliding characters #2857
04/27/01 07:10
04/27/01 07:10

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



maybe, there's another problem. because when you beginn to walk, your walkmode is walk. but after a few steps your walkmode is run. when your animations are labeld with walk, in this momement, where the walkmode changes, there is no animation called run. Perhabs this is the problem. When you rename a few walk animations you have to see the animation also when you run.

Re: Sliding characters #2858
04/27/01 02:01
04/27/01 02:01

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



OK, I tried what you suggested, but the character was still sliding, so I tried just setting player_walk to him, which is basically just a smaller piece of player_move. he walks now, which means the problem was probably with one of the other parts of player_move. I have another problem now, however. My walk animation is too fast. I tried slowing down the FPS rate, but it reset as soon as I exited the model editor. Is there any way to make the new FPS setting permanent?
Thanks for all your help.

Josh


Re: Sliding characters #2859
04/27/01 04:41
04/27/01 04:41
Joined: Jul 2000
Posts: 2,037
Lafayette, LA USA
J
James Snydstrup Offline
Senior Expert
James Snydstrup  Offline
Senior Expert
J

Joined: Jul 2000
Posts: 2,037
Lafayette, LA USA
Josh:

One of the 'skills' will effect the speed at which the animation cycles through. I forget which one but it is there. It may not be documented but if you dig through the movement.wdl you should find it.


Re: Sliding characters #2860
04/27/01 08:09
04/27/01 08:09

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



The MY._DIST skill will effect the speed at which the animation cycles through.

Heinz


Re: Sliding characters #2861
04/27/01 11:53
04/27/01 11:53

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Thanks to both of you, that helps a lot. I'll try it and let you know if it works.

Josh


Re: Sliding characters #2862
04/28/01 00:06
04/28/01 00:06

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



the only thing like MY._DIST that I can see is my_dist, and when I change that, nothing happens. can you give me a hint as to where MY._DIST is?

Josh


Re: Sliding characters #2863
04/28/01 04:46
04/28/01 04:46
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
I think these are what you are looking for:

code:

var anim_walk_dist = 1; // dist per model width per walk cycle
var anim_run_dist = 1.5; // dist per model width per run cycle
var anim_crawl_dist = 0.8; // dist per model width per crawl cycle
var anim_wade_dist = 0.8; // dist per model width per crawl cycle
var anim_swim_dist = 1; // dist per model width per swim cycle




Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Re: Sliding characters #2864
04/29/01 10:06
04/29/01 10:06

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Thanks Doug, where do I need to put those in? or are they already there, and I just have to edit them? if so, where?

Josh

[This message has been edited by Josh (edited 29 April 2001).]


Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | 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