Так. Код и тутора, я только заменил модель.
Когда переключаешь на снайперку она не может стрелять и зумить некоторое время, но потом всё норм. Вобщем не проблема, но раздражает...Добавлено (04.04.2010, 16:38)
---------------------------------------------
Всем превед, и опять ЦГард!
Только теперь не пушка, а теперь НЕПИСЬ! Из бэты.
Сам непись вобщем-то компилится, но вот клиентская часть...
Code
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>c_combineguard.cpp
1>.\c_combineguard.cpp(176) : error C2039: 'SimulateAndRender' : is not a member of 'CSphereTrails'
1> d:\winter_ep2\game\client\fx_sparks.h(108) : see declaration of 'CSphereTrails'
1>.\c_combineguard.cpp(220) : error C2065: 'm_boneOrigin' : undeclared identifier
1>.\c_combineguard.cpp(327) : error C3861: 'GetModelView': identifier not found
1>.\c_combineguard.cpp(409) : error C2039: 'GetDynamicMesh' : is not a member of 'IMaterialSystem'
1> d:\winter_ep2\public\materialsystem/imaterialsystem.h(534) : see declaration of 'IMaterialSystem'
1>.\c_combineguard.cpp(662) : error C2039: 'Bind' : is not a member of 'IMaterialSystem'
1> d:\winter_ep2\public\materialsystem/imaterialsystem.h(534) : see declaration of 'IMaterialSystem'
1>.\c_combineguard.cpp(768) : error C2259: 'CCombineGuardBall' : cannot instantiate abstract class
1> due to following members:
1> 'void IParticleEffect::SimulateParticles(CParticleSimulateIterator *)' : is abstract
1> d:\winter_ep2\game\client\particlemgr.h(265) : see declaration of 'IParticleEffect::SimulateParticles'
1> 'void IParticleEffect::RenderParticles(CParticleRenderIterator *)' : is abstract
1> d:\winter_ep2\game\client\particlemgr.h(268) : see declaration of 'IParticleEffect::RenderParticles'
1>Build log was saved at "file://d:\winter_ep2\game\client\Release_episodic\BuildLog.htm"
1>Client Episodic - 6 error(s), 1 warning(s)
А вот сам код:
Добавлено (04.04.2010, 19:36)
---------------------------------------------
Сократил количество ошибок до 4
Code
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>c_combineguard.cpp
1>.\c_combineguard.cpp(176) : error C2039: 'SimulateAndRender' : is not a member of 'CSphereTrails'
1> d:\winter_ep2\game\client\fx_sparks.h(108) : see declaration of 'CSphereTrails'
1>.\c_combineguard.cpp(220) : error C2065: 'm_boneOrigin' : undeclared identifier
1>.\c_combineguard.cpp(327) : error C3861: 'GetModelView': identifier not found
1>.\c_combineguard.cpp(768) : error C2259: 'CCombineGuardBall' : cannot instantiate abstract class
1> due to following members:
1> 'void IParticleEffect::SimulateParticles(CParticleSimulateIterator *)' : is abstract
1> d:\winter_ep2\game\client\particlemgr.h(265) : see declaration of 'IParticleEffect::SimulateParticles'
1> 'void IParticleEffect::RenderParticles(CParticleRenderIterator *)' : is abstract
1> d:\winter_ep2\game\client\particlemgr.h(268) : see declaration of 'IParticleEffect::RenderParticles'
1>Build log was saved at "file://d:\winter_ep2\game\client\Release_episodic\BuildLog.htm"
1>Client Episodic - 4 error(s), 1 warning(s)
Добавлено (04.04.2010, 21:53)
---------------------------------------------
ОДНА ошибка осталась! Может поможете?
Code
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>c_combineguard.cpp
1>.\c_combineguard.cpp(766) : error C2259: 'CCombineGuardBall' : cannot instantiate abstract class
1> due to following members:
1> 'void IParticleEffect::SimulateParticles(CParticleSimulateIterator *)' : is abstract
1> d:\winter_ep2\game\client\particlemgr.h(265) : see declaration of 'IParticleEffect::SimulateParticles'
1> 'void IParticleEffect::RenderParticles(CParticleRenderIterator *)' : is abstract
1> d:\winter_ep2\game\client\particlemgr.h(268) : see declaration of 'IParticleEffect::RenderParticles'
1>Build log was saved at "file://d:\winter_ep2\game\client\Release_episodic\BuildLog.htm"
1>Client Episodic - 1 error(s), 1 warning(s)
Добавлено (04.04.2010, 21:54)
---------------------------------------------
Ругается на
m_pGunBall = new CCombineGuardBall ( "C_CombineGuard::ReceiveMessage 2", GetAbsOrigin(), 32, 1, 0, entindex(), attachment );
Добавлено (04.04.2010, 21:57)
---------------------------------------------
Ну вы блин, СУПЕР!!!!
Сделал уже все без вас >_>
Добавлено (04.04.2010, 22:08)
---------------------------------------------
Не, не сделал.
Code
1> Creating library .\Release_episodic/Client.lib and object .\Release_episodic/Client.exp
1>c_combineguard.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall C_CombineGuard::ReceiveMessage(char const *,int,void *)" (?ReceiveMessage@C_CombineGuard@@UAEXPBDHPAX@Z)
1>c_combineguard.obj : error LNK2001: unresolved external symbol "char const omg" (?omg@@3DB)
1>.\Release_episodic/Client.dll : fatal error LNK1120: 2 unresolved externals