Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 945 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: mouse(animal!0 [Re: Iglarion] #454033
08/25/15 13:03
08/25/15 13:03
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hello Iglarion
I still have one problem:-
When I run Smartmouse the rat hops along - both front feet move together as do the back.
When I put ‘rat’ into Med and run the animations, it walks (as it should) left front and back legs come together and then move apart (as do the right pair).
I tried putting ‘walk’ into the script (instead of run) and ran the program in Wed - all motion stopped.!
Is there a way of making ‘rat’ walk please?
Kind regards, David

Re: mouse(animal!0 [Re: DAVIDMORETON] #454047
08/25/15 21:13
08/25/15 21:13
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline
User
Iglarion  Offline
User

Joined: Jul 2004
Posts: 785
Serbia
Sorry but i am not 100% sure what is the problem. This rat model have only run animation, if you want that your rat walk, you must make "walk" animations or use a model that has this animation. You can't call walk animation in the code if it does not exist in model.


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: mouse(animal!0 [Re: Iglarion] #454064
08/26/15 10:16
08/26/15 10:16
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hi Iglarion,
Thanks for your reply.
The rat in ‘the big one’ has a very good walking movement (I ran the animation in Med).
I do not understand how to get that animation into your smartmouse script.
I have tried replacing ‘run’ with ‘walk’, but it will not work - is there a way of doing this please? Is there a tutorial on putting animations into scripts? I have been through the manual, but it does not help.
Apologies for being a nuisance.
David

Re: mouse(animal!0 [Re: DAVIDMORETON] #454065
08/26/15 11:21
08/26/15 11:21
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline
User
Iglarion  Offline
User

Joined: Jul 2004
Posts: 785
Serbia
No, this rat do not have walk animation. Maybe you're in the MED saw something what looks like a walk animation but when you open MED go to: Object > Manage Frames, and you will see names of all frames. If you think that some of frames looks like walk animation, select them and rename in "walk". Now you can change in code "run" to "walk" and this is it.


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: mouse(animal!0 [Re: Iglarion] #454092
08/27/15 08:21
08/27/15 08:21
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hello Iglarion,
At last I have my mouse (rat) moving perfectly !!
THANK YOU VERY MUCH FOR YOUR PATIENCE AND HELP
I think your English is very good, and perfectly understandable.

END OF TOPIC (I hope!!)

Re: mouse(animal!0 [Re: DAVIDMORETON] #454137
08/29/15 14:00
08/29/15 14:00
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Sorry Folks - it's me again (David) Still got a problem !!!

The set up is as follows:-
Block of cheese on table. (with mouse inside)
If cheese is ‘touched’, mouse runs out of hole in side of cheese, runs around in a circle (going around obstacles), and enters cheese through hole on opposite side it came out of, ready to go again if cheese is touched.
I have spent three days, trying all sorts of code to make this happen - but it will not work !
I can stop the mouse movement by using ‘return’ after the ‘else’ in your code (Iglarion) - but that is all ! ( I can not get the ‘mouse’ to move again)
Even better if I have two paths, the mouse goes along one, and if activated again, goes along the other one - is this possible please?
Kind regards, David.

Re: mouse(animal!0 [Re: DAVIDMORETON] #454138
08/29/15 19:43
08/29/15 19:43

M
Malice
Unregistered
Malice
Unregistered
M



David it is very possible. Have i not posted path stuff these few months? Problem is c-script. I know how to do it, i don't know how to translate it down to c-script.

Read here http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=54424&Number=453602#Post453602

good luck with the translation

Last edited by Malice; 08/29/15 19:45.
Re: mouse(animal!0 [Re: ] #454142
08/29/15 23:06
08/29/15 23:06
Joined: Mar 2015
Posts: 23
Frankfurt
JcI_the_second Offline
Newbie
JcI_the_second  Offline
Newbie

Joined: Mar 2015
Posts: 23
Frankfurt
David, I think someone who use engine over teen years can not simply ask people to write codes for you, over and over again... so you'll never learn how to code, and without a basic knowledge of programming is impossible to finish any game. First, almost no one else uses the c-script, it's outdated. Move to lite-c and start with tutorials. For month or two you'll see that the things you're looking for can be made easily in a few minutes. Then when you get stuck with any part of the code you can ask for help here, otherwise, this belongs in User Requests forum.
Just a friendly advice wink

Re: mouse(animal!0 [Re: JcI_the_second] #454146
08/29/15 23:44
08/29/15 23:44

M
Malice
Unregistered
Malice
Unregistered
M




Re: mouse(animal!0 [Re: ] #454149
08/30/15 00:51
08/30/15 00:51
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline

Expert
Realspawn  Offline

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
Hey David what JCL told you are wise words.

As a non coder i tried to create what you need. All i do
is collect snippets and study them and try to use them myself.
is this what your looking for ?

https://youtu.be/wyVwV_s2_VY

all i used are my own workshops and the aum examples laugh
sometimes it takes forever but in the end you will make it work. I did this in lite-C as i begin to understand it little by little. This demo crashes sometimes but i will find the error. At least it showes it can be done. I did this in 2 hours laugh it uses as much paths as needed and thx to JCL i learned how to make the mouse disappear in the cheese again grin

I agree often its taking very long searching for answers but it's needed to get anywhere laugh



when i can fix this crash thing i will upload it to my workshops page.




Last edited by Realspawn; 08/30/15 00:53.

Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Page 2 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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