Urban Wars
October 11, 2024, 09:05:12 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
Forever
Login with username, password and session length
News
: Welcome, here you will find all the information on Urban Wars
Home
Help
Search
Staff List
Login
Register
adding a new set of animation frames?
Urban Wars
>
Forum
>
Help
>
Programming/Coding
>
adding a new set of animation frames?
>
Message #323
Pages: [
1
]
« previous
next »
Print
Author
Topic: adding a new set of animation frames? (Read 243 times)
Mexicouger
Lieutenant
Posts: 111
Re: adding a new set of animation frames?
«
on:
April 28, 2010, 09:19:59 pm »
I did the first animation thing. I made a function called player_shot_throw. Then I put
self.weaponframe += 1;
if (self.weaponframe >= 62)
{
pull finished();
return;
}
superdamagesound();
self.attack_finished = time + 0.2);
self.impulse = MSG_BROADCAST;
};
That is my code. I also put
startwframe (self, 51);
So if I want this animation to be played every time I switch weapons, where would I put it? Would I put it in cycleweaponcommand? How do I actually view this animation in game?
«
Last Edit: May 04, 2010, 09:55:08 am by Mexicouger
»
Report Spam
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Urban Wars
-----------------------------
=> Urban Wars Suggestions
=> Urban Wars Updates
=> Urban Wars Discussion
=> Apply for the Team
-----------------------------
Off Topic
-----------------------------
=> General Discussion
-----------------------------
Rules
-----------------------------
=> The Rules
-----------------------------
Help
-----------------------------
=> Programming/Coding
=> Mapping
=> 3d modeling
Get your own Chat Box!
Go Large!
Loading...