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

Stripper:Source (Updated 2011-04-15)


Post New Thread Reply   
 
Thread Tools Display Modes
Gixxer
Member
Join Date: Nov 2009
Old 12-02-2009 , 19:15   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #411

Damn, it keeps only spawning 1 gun, using that exact code.
Gixxer is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 12-03-2009 , 15:45   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #412

@Gixxer: Maybe this helps you, itīs from L4D1 (Airport Map1) but I use the same constructs for L4D2, just with other classnames. The only difference I see is the "spawnflags" you donīt use. Try it, maybe it works. cheers.

Code:
add:
{
"origin" "6878.312988 -505.852844 803.687134"
"spawnflags" "2"
"solid" "6"
"skin" "0"
"disableshadows" "0"
"count" "4"
"angles" "180 180 90"
"classname" "weapon_autoshotgun_spawn"
}
{
"origin" "6865.437988 -517.360748 803.687134"
"spawnflags" "2"
"solid" "6"
"skin" "0"
"disableshadows" "0"
"count" "4"
"angles" "180 180 90"
"classname" "weapon_rifle_spawn"
}
Quote:
Originally Posted by Gixxer View Post
Damn, it keeps only spawning 1 gun, using that exact code.
Skorpion1976 is offline
Gixxer
Member
Join Date: Nov 2009
Old 12-03-2009 , 16:01   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #413

Gun doesn't spawn with spawnflags 2 or 3, but will with one... But again, only one gun spawns.
Gixxer is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 12-03-2009 , 16:10   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #414

I noticed that weapon_x_spawn for CSS weapons doesnt spawn anything in L4D2, but individual weapon_x CSS weapons class will only spawn one instance, regardless of the count value. I had to copy/paste the same code (same position & angle) to get multiple instances of weapons.
anon666 is offline
Gixxer
Member
Join Date: Nov 2009
Old 12-03-2009 , 16:52   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #415

Quote:
Originally Posted by anon666 View Post
I noticed that weapon_x_spawn for CSS weapons doesnt spawn anything in L4D2, but individual weapon_x CSS weapons class will only spawn one instance, regardless of the count value. I had to copy/paste the same code (same position & angle) to get multiple instances of weapons.
Can I see your code for it?

Last edited by Gixxer; 12-03-2009 at 17:49.
Gixxer is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 12-03-2009 , 19:16   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #416

ive been going through the dumps today for a different reason but noticed something...
it doesnt seem as though they even use the same code for weapon spawns in l4d2. so perhaps it isnt possible to get more then 1 weapon pickup anymore with that format.

they seem to use a classname weapon_spawn or weapon_item_spawn (or both). the weapon_item_spawn looks to be a random weapon determiner (which gun can spawn at that spot). weapon_spawn uses a weapon_selection of something like any_pistol or tier2_shotgun.

so try looking into those.
dirka_dirka is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 12-03-2009 , 20:44   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #417

Quote:
Originally Posted by Gixxer View Post
Can I see your code for it?
This spawns 1 mp5:
Code:
add:
{
"origin" "10730 7900 -534.334"
"spawnflags" "1"
"solid" "6"
"count" "5"
"angles" "-2.99586 240.136 84.7991"
"classname" "weapon_smg_mp5"
}
but this spawns none:

Code:
add:
{
"origin" "10730 7900 -534.334"
"spawnflags" "1"
"solid" "6"
"count" "5"
"angles" "-2.99586 240.136 84.7991"
"classname" "weapon_smg_mp5_spawn"
}
So to get 5 mp5 spawns I just pasted the top code over and over:

Code:
add:
{
"origin" "10730 7900 -534.334"
"spawnflags" "1"
"solid" "6"
"count" "5"
"angles" "-2.99586 240.136 84.7991"
"classname" "weapon_smg_mp5"
}{
"origin" "10730 7900 -534.334"
"spawnflags" "1"
"solid" "6"
"count" "5"
"angles" "-2.99586 240.136 84.7991"
"classname" "weapon_smg_mp5"
}{
"origin" "10730 7900 -534.334"
"spawnflags" "1"
"solid" "6"
"count" "5"
"angles" "-2.99586 240.136 84.7991"
"classname" "weapon_smg_mp5"
}{
"origin" "10730 7900 -534.334"
"spawnflags" "1"
"solid" "6"
"count" "5"
"angles" "-2.99586 240.136 84.7991"
"classname" "weapon_smg_mp5"
}{
"origin" "10730 7900 -534.334"
"spawnflags" "1"
"solid" "6"
"count" "5"
"angles" "-2.99586 240.136 84.7991"
"classname" "weapon_smg_mp5"
}
anon666 is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 12-04-2009 , 04:04   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #418

But then there must have been a difference between l4d2 demo and l4d2 game. In the demo I spawned ALL NEW guns and all 4 players could even grab the same gun. When my server was updated to l4d final version I forgot to copy the stripper map config files to my PC, but itīs the same as I already posted, just with other weapon class names. So for me it was working in demo in both 1st and 2nd level of "parish". I tried this with the "first" L4D2 version from stripper. There was released another version shortly after first release, maybe thereīs a glitch now.. I really donīt know.


Quote:
Originally Posted by dirka_dirka View Post
ive been going through the dumps today for a different reason but noticed something...
it doesnt seem as though they even use the same code for weapon spawns in l4d2. so perhaps it isnt possible to get more then 1 weapon pickup anymore with that format.

they seem to use a classname weapon_spawn or weapon_item_spawn (or both). the weapon_item_spawn looks to be a random weapon determiner (which gun can spawn at that spot). weapon_spawn uses a weapon_selection of something like any_pistol or tier2_shotgun.

so try looking into those.
Skorpion1976 is offline
Gixxer
Member
Join Date: Nov 2009
Old 12-04-2009 , 04:28   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #419

Cool, I seem to have everything figured out.

Except for... Those extra medkits, even by filtering weapon_first_aid_kit_spawn, I still get a some medkits to spawn. If anyone can figure out how they're spawning I would really appreciate it.
Gixxer is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 12-04-2009 , 16:04   Re: Stripper:Source (1.2.1, L4D2 + Perf Improvements)
Reply With Quote #420

Quote:
Originally Posted by dirka_dirka View Post
they seem to use a classname weapon_spawn or weapon_item_spawn (or both). the weapon_item_spawn looks to be a random weapon determiner (which gun can spawn at that spot). weapon_spawn uses a weapon_selection of something like any_pistol or tier2_shotgun.
Thats explained in commentary mode. weapon_item_spawns are spots in which the Director has complete freedom to spawn nothing or any item or weapon there.




Out of curiosity, whats the other weaponnames for the german "cut" guns? Do they work already in the map theyre spawned in first?

Last edited by AtomicStryker; 12-04-2009 at 16:14.
AtomicStryker 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 13:14.


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