Talk:Dynamic Weapon Spawns (Advanced)

From Valve Developer Community
Jump to: navigation, search

The code is very long and I am very new to this syntax so edit whatever you have to. I found very annoying that "Upload file" doesnt allow me to upload txt files as uplaoding to a separate page then linking to it would be bettr than putting all the text in there, but meh...

Also, I have a working version of this, but while writing I just added another "feature" (customammostring) so it will need a small modification, also refactoring because I changed a few names...

On my current implementation there are 3 concommands that call 2 very similar functions (being one a subset of the other). Those 3 commands crash the game for reasons I can't understand being new to C++ AND the SDK too :) So once I get to put the code I'll be glad you fix it but also try to explain it to me on my user page or this discussion. Those commands would be the only bug. --gia 14:16, 19 Feb 2006 (PST)

Again, how do I add a zip file with the code here? I mean what's the "standard" --gia 19:49, 21 Feb 2006 (PST)
Here's the code <old link-removed> These things dissapear if they aren't downloaded I don't know of a better place to host the files so you put them on the article when you upload it to some better place --gia 14:44, 23 Feb 2006 (PST)

A few notes: The wiki upload is for media, not for assisting files. You'll have to put those on a remote site. --AndrewNeo 10:30, 27 Feb 2006 (PST)

I see, again, I'm using free rapidshare, so the link will die in 30 days, if you can place it somewhere with a permanent link then do it :) Is it possible to create a wiki page for the code?, because my original idea was that people edited it with improvements. --gia 10:48, 27 Feb 2006 (PST)

Sorry, there's a lethal error throughout the new code (the one you download from the bottom of the page): you've defined the 357 just by using the number 357, which confuses the compiler since variables can't begin with numbers. There's also a couple of include references to "item.h" which isn't included; am I right in thinking that it was meant to be itemdef.h which is in the .zip?

I'm trying to go through and debug the code, so I'll let people know if I get it working. --X6herbius 11:56, 17 Aug 2008 (PDT)

The link seems to be broken :P does anyone still have the rar ?--Filip 10:05, 24 October 2012 (PDT)