Page 3 of 16 FirstFirst 123456713 ... LastLast
Results 21 to 30 of 159

  Click here to go to the first Developer post in this thread.  

Thread: BIS Module Improvement Project

  1. #21
    Second Lieutenant Kremator's Avatar
    Join Date
    Jun 8 2007
    Location
    Cambridge, UK
    Posts
    4,956
    That's the one

    Good job Wolffy !

  2. #22
    Gunnery Sergeant Wolffy.au's Avatar
    Join Date
    Sep 29 2008
    Location
    Sydney,Australia
    Posts
    545
    Author of the Thread
    Well, quick update - 402 downloads so far, so really happy with that.

    Just a reminder to everyone, if you'd like to vote for features, or even request a few of your own, please do so at:
    http://dev-heaven.net/projects/mip/issues

  3. #23
    I think he meant like a really crowded city, not the usual "oh look there is a car"

    Isn't this possible with some variable?

    "...to boldly go where no one has gone before."

    Steam ID: Click me! | Origin ID: MrCharles9206

  4. #24
    Gunnery Sergeant Wolffy.au's Avatar
    Join Date
    Sep 29 2008
    Location
    Sydney,Australia
    Posts
    545
    Author of the Thread
    At the moment, its set to 3 cars. I could make that a variable - if this is what you guys are referring too, then log a Feature Request for me please.

    I can tell you now, all that happens is a massive traffic jam, with no cars moving - but hey, that might be what you guys are after!

  5. #25
    Wolffy,

    Great script tested it yesterday and works great really nice to see cars driving about!

    I would like to add a request please , at the moment I have a car bomb script that I use in the SILVIE module, which works great , especially when they drive the car alas which is not very often !

    So my request would-be - would it be possible to add this feature into your Traffic ? i.e a random % of traffic would be driving car bombs ?

    This is what I am using

    Code:
    _object = _this select 0;
    _value = random 100;
    
    if (_value < 15) then {
    _blowup = false;
    while {alive _object} do
        {
        // include vehicles
            _targetArray = nearestObjects [(getPos _object), ["MAN", "LandVehicle"], 10];
            if ((count _targetArray) > 0) then
            {
                {
                    if (str(side _x) == "WEST") then
                    {
                    _blowup = true;
                    };
                } forEach _targetArray;
            };
            if (_blowup) then
            {
    	   //HINT "DIE YOU BRITISH INFIDEL SCUM.....";  // just for trigger area
    	  if (isServer) then
    {
       [nil, nil, rHINT, "DIE YOU INFIDEL SCUM....."] call RE;  // for all
    };  
    	 sleep 6;
            _boom = "R_57mm_HE" createVehicle (position _object);
            }
            else
            {
            sleep 6;        // change to tweak wait time before checks
            };
        };
    };
    Also whilst writing is there a way to reduce the number of cars SILVIE uses as there are far too many !

    Cheers

  6. #26
    Gunnery Sergeant Wolffy.au's Avatar
    Join Date
    Sep 29 2008
    Location
    Sydney,Australia
    Posts
    545
    Author of the Thread
    To solve your two problems/requests, I suggest looking at:
    http://community.bistudio.com/wiki/A...ilian_Vehicles


    There is a file in the demo called init-silvie.sqf which you can edit. Take a look at it to understand how to implement these parameters.

    The two parameters you are after are:
    • vehicleInit = <code>; - custom init which is executed on every car. Vehicle can be accessed using _this variable. Init is executed as separate script, so sleep or waituntil commands can be used without limitations.
    Example: BIS_silvie_mainscope setvariable ["vehicleInit",{_this lock true}];

    and
    • vehicleCount = <string>; - formula on which basis system calculates number of vehicles for location. %1 is number of buildings (blacklisted objects are excluded) in 500 metres from location.
    Example: BIS_silvie_mainscope setvariable ["vehicleCount","round (%1 / 10)"]; Default value (and recommended): "round ((sqrt %1) * 1.5)"

    FYI - zGuba has asked to add some of his changes in this ticket, http://dev-heaven.net/issues/18339

  7. #27
    Sergeant Major Mosh's Avatar
    Join Date
    Feb 17 2002
    Location
    St. Louis, Missouri - USA
    Posts
    1,605
    Been messing around with this for a few days now and absolutely love it. I've always used these modules in my missions.

    I haven't had any problems, but if I do or have a suggestion I'll head over to dev-heaven.

    Thanks again!

    Windows 7 64-bit | AMD FX 8350 4.0 GHZ |
    GTX 570 (310.70) | 32 GB RAM
    OCZ Agility 3 120 GB SSD | OCZ Agility 2 120 GB SSD | OCZ Vertex Plus 60 GB SSD | Intel 80 GB SSD
    Logitech G500 G15 G930 | TrackIR 5 | Saitek X52 Pro + Pro Flight Rudder

  8. #28
    Gunnery Sergeant Wolffy.au's Avatar
    Join Date
    Sep 29 2008
    Location
    Sydney,Australia
    Posts
    545
    Author of the Thread
    Second Release - MIP20110331.ZIP
    http://dev-heaven.net/projects/mip/files

    Module Improvements

    New improvments to the modules are:
    • Garbage Collector
      • Added dedicated server support to Garbage Collector
      • Added optional auto scavenger every 5 minutes using:
        Code:
        BIS_GC setVariable ["auto",true];


    Installation Instructions
    If a mission maker wishes to use this replacement code, here are the instructions.
    • Simply copy the CA directory into your mission folder to over-ride the default BIS modules.
    • Place a BIS Garbage Collector module in the mission editor and add the following to your Garbage Collector module INIT to auto scavenge for dead bodies and destroyed vehicles every 5 minutes.
      Code:
      BIS_GC setVariable ["auto",true];

  9. #29
    Congratulations on the release Wolffy.

    Good to see you're making progress.

    Which module is next?

  10. #30
    Loving this, thank you for your hard work wolffy.
    [KH]Jman
    Kellys Heroes ArmA Clan Leader

    www.kellys-heroes.eu | KH Server Specs | Dedi Server Guide | PersistentDB
    My specs: Intel Core i7 920 D0 Stepping (SLBEJ) 2.66Ghz @ 4.00GHz / Gigabyte EX58-UD5 Intel X58
    Patriot Viper 6GB DDR3 PC3-12800C8 1600MHz / ATI HD 7970 3072 MB GDDR5 / Dell 2405FPW @1920 x1200 / Win7 x64

Page 3 of 16 FirstFirst 123456713 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •