Talk:Laserweapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Cleanup Discussion: new section)
 
Line 13: Line 13:


Hi all, I was looking at this page and decided to fix it up so that I could read it more easily. It still needs checking for correctness and it needs more style work. Cheers. [[User:Kp.2012|Kp.2012]] 20:16, 2 May 2012 (PDT)
Hi all, I was looking at this page and decided to fix it up so that I could read it more easily. It still needs checking for correctness and it needs more style work. Cheers. [[User:Kp.2012|Kp.2012]] 20:16, 2 May 2012 (PDT)
== Source 2013 Problems ==
I've put in your code and I've seemed to get this error:
<source>
Error 2 error C2039: 'Weapon_ShootPosition' : is not a member of 'C_BaseCombatCharacter' d:\github\lonk-sauce\testing-ground\src\game\server\weapon_sniper.cpp 565 1 Client (HL2MP)
</source>
It seems like some code you're using that's reliant on basecombatcharacter.cpp doesn't actually exist. So... how do I make it exist?
Thanks! [[User:Lonkfania|Lonkfania]] ([[User talk:Lonkfania|talk]]) 23:28, 13 April 2017 (UTC)

Latest revision as of 16:29, 13 April 2017

Try wrapping your code in the code tags: <source lang=ini> Insert code here </source> It makes it a little more readable and organized. --cheesemoo0 03:56, 9 November 2009 (UTC)

I have added the code tags. MLSTRM 17:47, 7 January 2010 (UTC)

This is the old way, too. Since the OB you'd make a particle effect using render_rope and Position Along Path Sequential. --TomEdwards 17:13, 10 November 2009 (UTC)

Cleanup Discussion

Hi all, I was looking at this page and decided to fix it up so that I could read it more easily. It still needs checking for correctness and it needs more style work. Cheers. Kp.2012 20:16, 2 May 2012 (PDT)

Source 2013 Problems

I've put in your code and I've seemed to get this error:

Error	2	error C2039: 'Weapon_ShootPosition' : is not a member of 'C_BaseCombatCharacter'	d:\github\lonk-sauce\testing-ground\src\game\server\weapon_sniper.cpp	565	1	Client (HL2MP)

It seems like some code you're using that's reliant on basecombatcharacter.cpp doesn't actually exist. So... how do I make it exist? Thanks! Lonkfania (talk) 23:28, 13 April 2017 (UTC)