Raised This Month: $ Target: $400
 0% 

[L4D1&2] Spawn Alarmcars


Post New Thread Reply   
 
Thread Tools Display Modes
untalented893
Senior Member
Join Date: Oct 2009
Old 10-24-2010 , 20:33   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #31

Can we get the next version integrated into the admin menu?
untalented893 is offline
saldana
Junior Member
Join Date: Oct 2010
Old 10-26-2010 , 00:36   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #32

when I add the new truck into the "alarmcars_models.cfg" file, so I can use the console command sm_alarmcar_spawn_truck "1" to spawn one new truck in the game. last, I have save them to the file.but them haven't show up in round 2.



my "alarmcars_models.cfg"

PHP Code:
"alarmcars_models"
{
 
"trucks"
 
{
  
"info"
  
{
   
"count" "3"
  

  
"data"
  
{
   
"0"
   
{
    
"model_car"   "models/props_vehicles/cement_truck01.mdl"
    "model_glass"   "models/props_vehicles/cement_truck01_windows.mdl"
    "rotation"   "270.0"
    "distance_yellow"  "158.0 41.0 57.0"
    "distance_red"   "163.0 14.0 20.0"
    "distance_white"  "184.0 32.0 47.0"
    "description"  "Blue-White Cement Truck"
   
}
 
   
"1"
   
{
    
"model_car"   "models/props_vehicles/pickup_truck_2004.mdl"
    "model_glass"   "models/props_vehicles/pickup_truck_2004_glass.mdl"
    "rotation"   "0.0"
    "distance_yellow"  "120.0 45.0 45.0"
    "distance_red"   "150.0 45.0 45.0"
    "distance_white"  "120.0 35.0 45.0"
    "description"  "White Pickup Truck_2004"
   
}
 
   
"2"
   
{
    
"model_car"   "models/props_vehicles/longnose_truck.mdl"
    "model_glass"   "models/props_vehicles/longnose_truck_glass.mdl"
    "rotation"   "270.0"
    "distance_yellow"  "84.0 55.0 100.0"
    "distance_red"   "170.0 15.0 20.0"
    "distance_white"  "184.0 40.0 55.0"
    "description"  "Long Nose"
   
}
  }
 }
}
 
"cars"
 
{
  
"info"
  
{
   
"count" "3"
  

  
"data"
  

   
"0"
   
{
    
"model_car"   "models/props_vehicles/cara_82hatchback.mdl"
    "model_glass"   "models/props_vehicles/cara_82hatchback_glass.mdl"
    "rotation"   "0.0"
    "distance_yellow"  "86.0 30.0 20.0"
    "distance_red"   "80.0 29.0 30.0"
    "distance_white"  "83.0 30.0 29.0"
    "distance_lamp"  "25.0 0.0 39.0"
    "description"  "Small car with big hatchback"
   
}   
   
"1"
   
{
    
"model_car"   "models/props_vehicles/cara_69sedan.mdl"
    "model_glass"   "models/props_vehicles/cara_69sedan_glass.mdl"
    "rotation"   "0.0"
    "distance_yellow"  "114.0 37.0 27.0"
    "distance_red"   "120.0 24.0 32.0"
    "distance_white"  "114.0 34.0 27.0"
    "distance_lamp"  "37.0 0.0 42.0"
    "description"  "Car looking like a chevrolet impala ss"
   
}
   
"2"
   
{
    
"model_car"   "models/props_vehicles/cara_84sedan.mdl"
    "model_glass"   "models/props_vehicles/cara_84sedan_glass.mdl"
    "rotation"   "0.0"
    "distance_yellow"  "108.0 32.0 25.0"
    "distance_red"   "110.0 22.0 30.0"
    "distance_white"  "108.0 32.0 29.0"
    "distance_lamp"  "37.0 0.0 42.0"
    "description"  "Car looking like a 6. generation chevrolet impala"
   
}
  }
 }

alarmcars_location.cfg
PHP Code:
"alarmcars"
{
 
"c7m1_docks"
 
{
  
"info"
  
{
   
"count"  "1"
   "count_custom"  "0"
   "count_truck"  "5"
  
}
  
"data"
  
{
   
"1"
   
{
    
"position"  "13490.187500 1782.906250 -447.718750"
    "angle"  "0.000000 4.130859 179.912109"
    "color"  "222 92 86"
   
}
  }
  
"data_truck"
  
{
   
"1"
   
{
    
"modelname"  "models/props_vehicles/cement_truck01.mdl"
    "position"  "13453.562500 2656.656250 32.812500"
    "angle"  "359.692383 -174.506836 0.000000"
   
}
   
"2"
   
{
    
"modelname"  "models/props_vehicles/cement_truck01.mdl"
    "position"  "13432.187500 2829.687500 51.125000"
    "angle"  "346.508789 -156.577148 359.912109"
   
}
   
"3"
   
{
    
"modelname"  "models/props_vehicles/cement_truck01.mdl"
    "position"  "13132.937500 2531.531250 32.468750"
    "angle"  "359.912109 -180.659180 0.000000"
   
}
   
"4"
   
{
    
"modelname"  "models/props_vehicles/cement_truck01.mdl"
    "position"  "12879.406250 2916.750000 72.375000"
    "angle"  "359.780273 -176.923828 360.000000"
   
}
   
"5"
   
{
    
"modelname"  "models/props_vehicles/cement_truck01.mdl"
    "position"  "13827.218750 2342.968750 -13.062500"
    "angle"  "356.132813 -98.437500 331.347656"
   
}
  }
 }

what is wrong?

Last edited by saldana; 10-26-2010 at 04:43.
saldana is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 10-28-2010 , 19:08   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #33

In alarmcars_location.cfg the modelname of all trucks is cement_trucks. Therefore no new trucks are spawning.
__________________
DieTeetasse is offline
TastyCheese
Member
Join Date: Nov 2010
Old 01-01-2011 , 05:19   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #34

For some reason alarmed cars spawn only on c1m2 for me. No matter how many times I delete the config file and redownload it (or let the plugin create it itself), alarmed cars don't spawn when playing on other maps. Here's my alarmcars_location.cfg:

Code:
"alarmcars"
{
    "c1m2_streets"
    {
        "info"
        {
            "count"        "1"
            "count_custom"        "1"
            "count_truck"        "0"
        }
        "data"
        {
            "1"
            {
                "position"        "217.906250 2918.125000 478.562500"
                "angle"        "9.272461 184.833984 0.834961"
                "color"        "43 57 34"
            }
        }
        "data_custom"
        {
            "1"
            {
                "modelname"        "models/props_vehicles/cara_82hatchback.mdl"
                "position"        "-4280.968750 1280.718750 125.687500"
                "angle"        "353.276367 249.521484 3.955078"
                "color"        "222 92 86"
            }
        }
    }
    "c2m1_highway"
    {
        "info"
        {
            "count"        "2"
            "count_custom"        "1"
            "count_truck"        "1"
        }
        "data_custom"
        {
            "1"
            {
                "modelname"        "models/props_vehicles/pickup_truck_2004.mdl"
                "position"        "7649.312500 8053.375000 -608.156250"
                "angle"        "3.471680 166.552734 359.165039"
                "color"        "0 23 65"
            }
        }
        "data_truck"
        {
            "1"
            {
                "modelname"        "models/props_vehicles/cement_truck01.mdl"
                "position"        "3775.031250 7422.718750 -897.656250"
                "angle"        "5.581055 -171.650391 333.588867"
            }
        }
    }
    "c4m1_milltown_a"
    {
        "info"
        {
            "count"        "1"
            "count_custom"        "0"
            "count_truck"        "1"
        }
        "data_truck"
        {
            "1"
            {
                "modelname"        "models/props_vehicles/cement_truck01.mdl"
                "position"        "517.625000 6435.718750 108.812500"
                "angle"        "0.000000 -90.219727 357.363281"
            }
        }
    }
    "c4m4_milltown_b"
    {
        "info"
        {
            "count"        "1"
            "count_custom"        "0"
            "count_truck"        "1"
        }
        "data_truck"
        {
            "1"
            {
                "modelname"        "models/props_vehicles/cement_truck01.mdl"
                "position"        "536.843750 6423.906250 108.250000"
                "angle"        "358.330078 -96.635742 357.846680"
            }
        }
    }
    "c3m2_swamp"
    {
        "info"
        {
            "count"        "0"
            "count_custom"        "1"
            "count_truck"        "0"
        }
        "data_custom"
        {
            "1"
            {
                "modelname"        "models/props_vehicles/pickup_truck_2004.mdl"
                "position"        "4725.781250 1893.156250 0.156250"
                "angle"        "354.902344 122.387695 357.626953"
                "color"        "15 13 48"
            }
        }
    }
    "c3m4_plantation"
    {
        "info"
        {
            "count"        "0"
            "count_custom"        "0"
            "count_truck"        "1"
        }
        "data_truck"
        {
            "1"
            {
                "modelname"        "models/props_vehicles/cement_truck01.mdl"
                "position"        "-1604.187500 -3087.343750 0.781250"
                "angle"        "1.054688 -25.400391 360.000000"
            }
        } 
    }
}
My alarmcars_models.cfg is *almost* the same like the one saldana gave. With the default one cars STILL don't spawn on other maps, so... I don't know what's wrong
TastyCheese is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 01-09-2011 , 18:31   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #35

Its a plugin bug. I will fix it soon.
__________________
DieTeetasse is offline
Glide Loading
Member
Join Date: May 2010
Old 01-10-2011 , 06:19   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #36

Request.
Can you add a function to turn a random "usual" (prop_physics) cars in to alarm cars, by count (?)
Glide Loading is offline
TastyCheese
Member
Join Date: Nov 2010
Old 04-26-2011 , 08:16   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #37

Any news on the fix for cars not spawning outside dead center?
TastyCheese is offline
Acid_Monk
Member
Join Date: Mar 2010
Old 06-22-2011 , 10:08   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #38

hey, using it for L4D1, normal cars spawn, but the custom ones do not spawn ;\ after checking "props_vehicles" folder in both l4d1 and 2, i guess they can only used with L4D2 ?

is it possible to make a police car into a custom one ?
Acid_Monk is offline
irogue
Senior Member
Join Date: Jan 2011
Location: Australia
Old 10-03-2011 , 12:04   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #39

Quote:
Originally Posted by DieTeetasse View Post
Its a plugin bug. I will fix it soon.
Any chance you are still available to work on the bug mate?

thanks
irogue is offline
Jason Johns
Junior Member
Join Date: Sep 2011
Old 10-09-2011 , 23:53   Re: [L4D1&2] Spawn Alarmcars
Reply With Quote #40

hey, Mister dieteetasse. Would you tell me how to create a alarmcar truck? I really dont know how to type commands in consloe. Could you give me a example? Show it for everybody, plz, many thaks for your plugin, it is outstanding!!!!!
Jason Johns 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 05:04.


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