Raised This Month: $51 Target: $400
 12% 

Stripper:Source (Updated 2011-04-15)


Post New Thread Reply   
 
Thread Tools Display Modes
dani1341
BANNED
Join Date: Feb 2010
Old 03-10-2010 , 10:25   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #571

Ok thanks for info
dani1341 is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 03-10-2010 , 12:19   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #572

Quote:
Originally Posted by Jane View Post
Thanks for your reply.

Unfortunately, i already tried to add the "solid" property but it doesn't change a thing:
Code:
add:
{
"origin" "115 150 -130"
"classname" "weapon_grenade_launcher"
"solid" "6"
}
This code will still spawn a Grenade Launcher with only one grenade on it


EDIT:
Ok i'm still struggling with that issue.

I found how to spawn a fully loaded Grenade Launcher by using "weapon_grenade_launcher_spawn", but the result is not what i'm looking for.
The spawned weapon is sticked to the ground, an explosion near the Launcher will not make it fly away.

That's why i have to use "weapon_grenade_launcher" (without the _spawn at the end), the spawned Launcher can fly away because of an explosion.
But i don't get why the weapon is not fully loaded then...
There should be a property for this, but how can i find it? Nothing helps on the properties i found on the dump files...
Ms.Jane what you want is "spawnflags" "1".

I'm pretty sure that is what you need. I found this same issue with my infected loot drop plugin. When I spawned things they were stuck until picked up and dropped. I found it by looking at the FGD file which contains the entities for the map editor with explanations of what the properties were.

Last edited by Thraka; 03-10-2010 at 12:27.
Thraka is offline
Jane
Junior Member
Join Date: Dec 2009
Old 03-10-2010 , 16:10   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #573

Thanks Thraka but it still doesn't work, even with "spawnflags" "1".
This is driving me crazy, i'm on that problem since too long now ^^

It'll be very kind of you if you could provide me a working little example.
Thank you!

EDIT:
Still investigating on this.
I decided to take a look at the sources files of some plugins that deals with weapons to find which property to use.
On the Weapon Spawner plugin i found this line of code:
Code:
SetEntProp(iWeapon, Prop_Send, "m_iExtraPrimaryAmmo", maxammo ,4); //Adds max ammo for weapon
So it looks obvious now that the spawned weapons have to be loaded.
I tried the "m_iExtraPrimaryAmmo" property on my Stripper add rule, but it still fails...

EDIT2 - The Solution:
The damned property to set is "ammo"...

Last edited by Jane; 03-11-2010 at 00:46.
Jane is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 03-10-2010 , 18:38   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #574

That is too bad. In my plugin, that was what I needed to get it to work.
Thraka is offline
untalented893
Senior Member
Join Date: Oct 2009
Old 03-18-2010 , 18:19   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #575

Quote:
Originally Posted by AtomicStryker View Post
Ive added some more tablets to the C2M5 Finale ... oh what the heck just take my entire config.
I know this was from a while ago, but I noticed that you were trying to create rain or a storm of some sort for the concert. Did you in fact get this to work?
untalented893 is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 03-19-2010 , 06:41   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #576

No. The 'rain area' entity is a brush and cannot be spawned using stripper or anything else.
AtomicStryker is offline
untalented893
Senior Member
Join Date: Oct 2009
Old 03-19-2010 , 14:02   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #577

Quote:
Originally Posted by AtomicStryker View Post
No. The 'rain area' entity is a brush and cannot be spawned using stripper or anything else.
That's a shame. That would've really made the concert more infected friendly. Good idea anyway. Thanks
untalented893 is offline
untalented893
Senior Member
Join Date: Oct 2009
Old 03-19-2010 , 23:54   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #578

Atomic, I was wondering if there is a way to make the notifications not public on the routing plugin you made? Maybe just for admins?
untalented893 is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 03-22-2010 , 06:48   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #579

Change the PrintToChatAll command to your liking?
AtomicStryker is offline
untalented893
Senior Member
Join Date: Oct 2009
Old 03-23-2010 , 22:13   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #580

Is that a cvar or would I have to edit the source? I don't know how to edit the source

EDIT: Never mind, While I don't know how to make it admin only, I was able to change the text to something more to my liking. Thanks for the help, awesome plugin. You rock Atomic

Last edited by untalented893; 03-25-2010 at 00:00.
untalented893 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode