Scripts / snake animation script

Author
Message
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 10th Apr 2015 21:03
I made a animated snake see video, and a basic script.





How can i make it more alive, like attacking if you are to close.

Many Thanks.

Harry
Harry
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 10th Apr 2015 23:29
Did you make the strike animation also?

I would start with the AI_fastzombie script. The zombies only use a few animations to make them work, But they work on range from the player. Making it a great custom character script.

Copy it and change the name and that would be a great script to start with.

Let me know if that helps.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 11th Apr 2015 10:52
What snake model did you use? it looks great.
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 11th Apr 2015 11:32
The texture is from a rattlesnake
Then, added bones and skin, and animated it.

Gr
Harry
Harry
PM
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 11th Apr 2015 16:13
is it a stock model available anywhere....
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 11th Apr 2015 17:04
It is finnished, thanks to again the help of smallg for the scripting part.

There are some upload problems with the store right now. but as soon they are over i will put it in the store.
So i Think over the weekend.

Harry
Harry
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 16th Apr 2015 22:11
The snake and the script is finnished.

I uploaded it to the store and is awaiting approval now.



harry
Harry
PM
admles
9
Years of Service
User Offline
Joined: 16th Mar 2015
Location:
Posted: 3rd May 2015 10:42
Having problems with this.

It looks awesome, but it only animates while in edit mode. It sits there and wriggles away.

But when I'm testing the level, it doesn't animate, it just "slides" around in a static frame.

Have I missed something?
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 3rd May 2015 11:00
Nope it should work.
I tried the snake with the new build. and it is stll working for me.
restart game guru. place the snake in the new map and let me know if its still not animating.
And check the properties path of the script.

Thanks
Harry

Harry
PM
admles
9
Years of Service
User Offline
Joined: 16th Mar 2015
Location:
Posted: 3rd May 2015 11:22
Okay, I restarted Gameguru and still same issue - it slides around but doesn't animate.

However, if I start a new empty level and place it, it works fine. I added it to some of the sample games that come with GG, and it works in some, not in others.

I'm wondering if it's a GG issue.
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 3rd May 2015 12:01
Yeah i noticed the same.
It you place to many animations or collide, they stop and not animating anymore.
So i think thats a gg issue, and hope they get sorted that out quicly.

Harry
PM
admles
9
Years of Service
User Offline
Joined: 16th Mar 2015
Location:
Posted: 3rd May 2015 12:35
Yeah it's gotta be GG related; I just added 5 velociraptors to the game and they all worked fine.

I hope it's fixed soon, the snake is awesome!
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 3rd May 2015 16:49
open the script (snake.lua) and move
Quote: "LoopAnimation(e);"
into the main(e) part of the script, that should fix it
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 3rd May 2015 18:56
Thanks Smallg.
Harry
PM

Login to post a reply

Server time is: 2024-12-22 01:03:13
Your offset time is: 2024-12-22 01:03:13