UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Anybody script-master can help?

broken avatar :(
Created 7 years ago
by artsergo
0 Members and 1 Guest are viewing this topic.
3,764 views
broken avatar :(
×
broken avatar :(
Location: rusiberia
Date Registered: 3 January 2017
Last active: 7 years ago
Posts
78
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Goodluck for all !
Signature
Believe in your strength, anytime, anywhere!
Only you can force yourself to change something in your life!
But In general, the world itself is beautiful if  you be optimist :)
×
artsergo's Groups
artsergo's Contact & Social Linksartsibsergeiartsergoartsergo
Hi everybody!  :)

I have idea. I want to do for map.  :)
I want put in a few locations on map ravens.
I have seen, there is an example on the map (the first map about Berlin).
I tried to understand how I using this scripts but I could not understand.

I found another (a variant script to animate the model raven).
But it is not exactly what need, I tried to change it to your map, but then it does not work and the game freezes or other moment it working so: 



But this is not what is required, besides, there is errors in the animation.

the script itself is as follows (in _anim.gsc file):

Code Snippet
Plaintext

main()
{
 //other main scripts
crow_anim_setup();
}

#using_animtree("ber1_crows");
crow_anim_setup()
{
    level.scr_anim["crow_move"]["crow"] = [];
    level.scr_anim["crow_move"]["crow"][0] = %o_berlin1_courtyard_crow6_loop;
     self playsound("amb_raven");

    wait 7;

    level.scr_anim["crow_move"]["crow"][0] = %o_berlin1_courtyard_crow6_outtro;
     self playsound("amb_raven");

//////////// How make that the Raven fly out from the place where Raven stay? /////
//
//  wait 10; // wait when Raven fly out
//  level.scr_anim["crow_move"]["crow"][0] = %o_berlin1_courtyard_crow6_outtro;
//  level.scr_sound["crow_move"]["crow"] = "amb_raven";
//  wait 5; // wait When Raven model is deleted /// How this make? ///
//
///////////////////////////////////////////////////////////////////////////////////

    crows = GetEntArray("crow", "targetname");
        for(i=0;i<crows.size;i++)
        {
                crows[i] thread crow_loop_anim();
        }
}
crow_loop_anim()
{
    self.animname = "crow_move";
    self UseAnimTree(#animtree);
    self maps\_anim::anim_loop_solo(self, "crow");
}



I want make such:
http://www.mediafire.com/view/q6avl4gmc65jl41/Untitled-1.jpg

When Revans get script origin then its delete and this process return after 20 second
( i.e. ravens get location on stone brush and animation set again in there until player shoot in trigger ).   ::)

sit animation for raven - o_berlin1_courtyard_crow6_loop

fly animation for raven - o_berlin1_courtyard_crow6_outtro

and no woking sound of raven.
Please help with this script.  ::)
Last Edit: January 22, 2017, 06:53:11 pm by artsergo
broken avatar :(
×
broken avatar :(
Location: kh
Date Registered: 9 August 2013
Last active: 5 years ago
Posts
503
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
×
codmoddd1234's Groups
codmoddd1234's Contact & Social Links
https://www.mediafire.com/download/f2ow3xxcr25ddew

Its old but should work as an example.
I have a better version i will send when i find it.
broken avatar :(
×
broken avatar :(
Location: rusiberia
Date Registered: 3 January 2017
Last active: 7 years ago
Posts
78
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Goodluck for all !
×
artsergo's Groups
artsergo's Contact & Social Linksartsibsergeiartsergoartsergo
hi!

thaks. i try this example )
and if i can to us for my idea then i include full archive source on this post

my idea here: http://www.mediafire.com/view/q6avl4gmc65jl41/Untitled-1.jpg
with sound for ravens
Last Edit: January 23, 2017, 02:28:17 pm by artsergo
broken avatar :(
×
broken avatar :(
Location: kh
Date Registered: 9 August 2013
Last active: 5 years ago
Posts
503
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
×
codmoddd1234's Groups
codmoddd1234's Contact & Social Links
This gsc has all the crow anims setup and the sound csv entry i used.
The crow anims are idle hopping/pecking and flying away. I don't think they have an "stationary fly" for going between point "a" and "b".

https://www.mediafire.com/download/lrss4i6m9hngds5
broken avatar :(
×
broken avatar :(
Location: rusiberia
Date Registered: 3 January 2017
Last active: 7 years ago
Posts
78
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Goodluck for all !
×
artsergo's Groups
artsergo's Contact & Social Linksartsibsergeiartsergoartsergo
Ok, Thanks! )

i try this. But example, for stuka can fly to the script_origin (xmodel flying to point)
i try and talk you, and if raven able to fly for need point -  i include all this post)

and interesting, is it possible to make for this example that it working with trigger damage or multiple and ravens fly out from this place
a like effect as in life, when we go to a birds then the birds fly away in fear
that's something like, I want to do))
Last Edit: January 23, 2017, 05:06:53 pm by artsergo
broken avatar :(
×
broken avatar :(
Location: rusiberia
Date Registered: 3 January 2017
Last active: 7 years ago
Posts
78
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Goodluck for all !
×
artsergo's Groups
artsergo's Contact & Social Linksartsibsergeiartsergoartsergo
Hi codmoddd1234 !  :)

test example:


Why it get this error?  ::)
When ravens stand, they stand in air and they walking through the air.
How can fix this error? Do you know?   ::)



Double Post Merge: January 25, 2017, 05:56:08 pm

And why crows placed in the game is not such how I placed the nodes scripted in Radiant (for crows).
How to make that crows placed where they should stand.
Suppose, in our map the crows should be:
in the location place, and we made a special small ruins of building for the crows and it is necessary that they stood in the game where we came up and need to.
how fix the script, do you know?

Double Post Merge: January 25, 2017, 06:15:55 pm
What you think about - ber1_asylum.gsc:
Code Snippet
Plaintext
setup_crows()
{

trigger_wait( "trig_spawn_crows", "targetname" );

level thread atrium_crow_damage_trig();
level thread atrium_crows();
level thread indoor_crow_damage_trig();
level thread indoor_crows();

}

Maybe Crows need that us script_model, but not node_scripted?  :)
and this using a trigger ( that i need for map)  ::)
Code Snippet
Plaintext
....	
trigger_wait( "trig_spawn_crows", "targetname" );
.....
Last Edit: January 25, 2017, 06:15:55 pm by artsergo
broken avatar :(
×
broken avatar :(
Location: kh
Date Registered: 9 August 2013
Last active: 5 years ago
Posts
503
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
×
codmoddd1234's Groups
codmoddd1234's Contact & Social Links
I cant load the picture or video so i dont know what the error is.
//
The anims are made by treyarch and they are for certain sp maps. They prob made them in maya using the exported radiant geometry so they fit perfectly.

I used scripted nodes because that's what treyarch used in the atrium stuff. The ber atrium crow is where i got the example. The script i posted is that exact same script except i used an array and 1 function instead of 8 identical functions.
If you want to wait till a trigger is hit or damaged then add the waittill in the script before the outro anim and add the trig and kvp in radiant.
//
Its prob easier to make a custom flying anim to fit your map in maya using the crow xmodel.
broken avatar :(
×
broken avatar :(
Location: rusiberia
Date Registered: 3 January 2017
Last active: 7 years ago
Posts
78
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Goodluck for all !
×
artsergo's Groups
artsergo's Contact & Social Linksartsibsergeiartsergoartsergo
this is view as:


Crows should walking on grey box only, not walking in air  :)   ))
Last Edit: January 27, 2017, 04:28:50 pm by artsergo
broken avatar :(
×
broken avatar :(
Location: rusiberia
Date Registered: 3 January 2017
Last active: 7 years ago
Posts
78
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Goodluck for all !
×
artsergo's Groups
artsergo's Contact & Social Linksartsibsergeiartsergoartsergo

  may be anybody more know how find solve that the crows will be stand on a ground.  ::)
  just i don't understand until in this point
  how crows stand on a grounds place or somewhere on brush (where it need)  ???
broken avatar :(
×
broken avatar :(
Location: kh
Date Registered: 9 August 2013
Last active: 5 years ago
Posts
503
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
×
codmoddd1234's Groups
codmoddd1234's Contact & Social Links
Thats how they work. The anims tag_ origin stays at 0,0,0 and the rest of the joints move the mesh. The distance it moves is decided in maya.

I think it's much easier to make new anims in maya and import them in asset manager. The crow doesn't have many bones and its movement is simple. And you can use the same script and replace the anims as you make them.
//
You can also use the bird panic fx but it doesnt look as good as a crow model.
//
U can also look online and maybe find free idle bird animations and model and use them.
broken avatar :(
×
broken avatar :(
Location: rusiberia
Date Registered: 3 January 2017
Last active: 7 years ago
Posts
78
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Goodluck for all !
×
artsergo's Groups
artsergo's Contact & Social Linksartsibsergeiartsergoartsergo
Quote
U can also look online and maybe find free idle bird animations and model and use them.
where such a site, i dont see)
and about Maya. i can't make and don't know in this soft )  :D
but thanks.
i a few make in 3Dmax and modeling only..
I don't know how to do an animation in 3D))
Last Edit: January 31, 2017, 07:21:09 pm by artsergo

 
Loading ...