Yes, but the functions of the base_playeranimstate.cpp are used nowhere in the whole rest of the source-code. How are the animations calculated in the standart Half-Life² Multiplayer?
-------- Original-Nachricht -------- > Datum: Fri, 12 Jun 2009 00:01:48 +0900 > Von: Minh <minh...@telus.net> > An: Discussion of Half-Life Programming <hlcoders@list.valvesoftware.com> > Betreff: Re: [hlcoders] HL-MP Third Person Mod > look at > base_playeranimstate.cpp > or > sdk_playeranimstate.cpp > > More specifically, you want to look at > CalcMainActivity() > > That function decides which animations to play based on certain > conditions. > Be warned, it is quite confusing. > > > > Christian Rieß wrote: > > Hm, I can only find those commands in the in_main.cpp. But I can't find > a piece of code, where it is checked, if a certain key is pressed an then a > certain animation is played or a certain action is triggered. > > For example, I can't find the code which controls the player movement > and the corresponding animation. > > > > -------- Original-Nachricht -------- > > > >> Datum: Thu, 11 Jun 2009 15:00:19 +0100 > >> Von: Olly <oli...@gmail.com> > >> An: Discussion of Half-Life Programming > <hlcoders@list.valvesoftware.com> > >> Betreff: Re: [hlcoders] HL-MP Third Person Mod > >> > > > > > >> Do a search for either "+forward", "+left", "+right" > >> > >> 2009/6/11 "Christian Rieß" <e-mc2_ch...@gmx.de> > >> > >> > >>> Hello, > >>> > >>> I am (still) working with my team on a Third Person Multiplayer Mod. > At > >>> > >> the > >> > >>> moment I have the following problem: I don't know how the Input-Keys > are > >>> Mapped to a certain action. I want to have a set of walking > animations, > >>> > >> that > >> > >>> do not blend and go only in 4 directions. So I want to connect the > >>> > >> action, > >> > >>> that the player walks left or right with the left/right walk animation > >>> > >> of my > >> > >>> player model. > >>> But I can't find the parts of code, where this could be changed. > >>> Any Idea what I am talking about or even how my problem can be solved? > >>> > >>> Greets > >>> > >>> Christian > >>> -- > >>> GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und > >>> > >> Telefonanschluss > >> > >>> für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 > >>> > >>> _______________________________________________ > >>> To unsubscribe, edit your list preferences, or view the list archives, > >>> please visit: > >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>> > >>> > >>> > >> -- > >> Sent from Olly's SEGA Game Gear > >> _______________________________________________ > >> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > >> > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders -- GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders