Jump to content

Roaming AI in Towns Release


MisterT

Recommended Posts

Someone posted this error on page 3 but there was no answer to his problem. I am seeing this in my log:

19:59:43 Ragdoll - loading of ragdoll source "Soldier" finished successfully.
20:01:04 Error in expression < "civil";
_back = _back + [[_civiltype, _position, _civilrole]];

};

while { tr>
20:01:04   Error position: <_position, _civilrole]];

};

while { tr>
20:01:04   Error Undefined variable in expression: _position
20:01:04 Error in expression < "civil";
_back = _back + [[_civiltype, _position, _civilrole]];

};

while { tr>
20:01:04   Error position: <_position, _civilrole]];

};

while { tr>
20:01:04   Error Undefined variable in expression: _position
20:01:04 Error in expression < "civil";
_back = _back + [[_civiltype, _position, _civilrole]];

};

while { tr>
20:01:04   Error position: <_position, _civilrole]];

};

while { tr>
20:01:04   Error Undefined variable in expression: _position
20:01:04 Error in expression <iviltype = _x select 0;
_civil = _group createUnit [_civiltype, (_x select 1), [>
20:01:04   Error position: <createUnit [_civiltype, (_x select 1), [>
20:01:04   Error 0 elements provided, 3 expected
20:01:04 Error in expression <iviltype = _x select 0;
_civil = _group createUnit [_civiltype, (_x select 1), [>
20:01:04   Error position: <createUnit [_civiltype, (_x select 1), [>
20:01:04   Error 0 elements provided, 3 expected
20:01:04 Error in expression <iviltype = _x select 0;
_civil = _group createUnit [_civiltype, (_x select 1), [>
20:01:04   Error position: <createUnit [_civiltype, (_x select 1), [>
20:01:04   Error 0 elements provided, 3 expected
20:02:41 "DEBUG: lootContainer 1bb89d00# 1056324: coffee_table.p3d REMOTE"
Link to comment
Share on other sites

Does anybody have this script working and care to share what you did? MisterT (the script author) mentions clientside files in a post to my question above. I have set up the script serverside only as per the OP. I'm using the Chernarus map and the spawn points provided by KingRaymond795. I don't see the script loading in my server rpt. I have visited multiple towns and ran through them and waited for awhile, but I never have any AI spawn. I have tried both versions of the generate_zone.sqf to no avail. I would like to get the Roaming AI script going to spice up the game for my players. Thanks for any help.

 

:huh:   

Link to comment
Share on other sites

Does anybody have this script working and care to share what you did? MisterT (the script author) mentions clientside files in a post to my question above. I have set up the script serverside only as per the OP. I'm using the Chernarus map and the spawn points provided by KingRaymond795. I don't see the script loading in my server rpt. I have visited multiple towns and ran through them and waited for awhile, but I never have any AI spawn. I have tried both versions of the generate_zone.sqf to no avail. I would like to get the Roaming AI script going to spice up the game for my players. Thanks for any help.

 

:huh:   

 

My server did not even start with this script... Gonna wait for either a better tut or script... xD

Link to comment
Share on other sites

Does anybody have this script working and care to share what you did? MisterT (the script author) mentions clientside files in a post to my question above. I have set up the script serverside only as per the OP. I'm using the Chernarus map and the spawn points provided by KingRaymond795. I don't see the script loading in my server rpt. I have visited multiple towns and ran through them and waited for awhile, but I never have any AI spawn. I have tried both versions of the generate_zone.sqf to no avail. I would like to get the Roaming AI script going to spice up the game for my players. Thanks for any help.

 

:huh:   

Try the way I did it, worked out great. 

 

My server did not even start with this script... Gonna wait for either a better tut or script... xD

Same advice as above

Link to comment
Share on other sites

This is not a hard script to setup.  If you are having issues I have posted my Skype. I have already added Roaming AI to a couple peopls pbos who couldnt figure it out for them. free of charge. If you need help. MSG me on Skype.

 

Might take u up on that offer xD

Link to comment
Share on other sites

I have this installed and working perfectly, only thing I'd like is to be able to tweak how many spawn and the timer before more spawn after you've killed the first lot. Anyone know any easy way to do this?

OPEN UP INIT.SQF Edit this line to change how many AI spawn. If you want a timer till the next one. I will have to add that part in.

    // Civilians are in a group when they pop

    // Number max random of civilians in the group are x numbers

    DCLgroupsize = 3;    \\

    // civilian can move in houses around x meters

    // of theirs initial position

    DCLdistancemove = 200;

    // civilian side

    DCLcivilianside = resistance;

    // HC client

    DCLusehclient = false;

    // HC client name

    DCLhclientname = "HC";

    {

        garbage = [_x] spawn generate_zone;

        sleep 0.01;

    }foreach DCLaltistownpositions;

Link to comment
Share on other sites

With original code spawns 3 ai per coord location. 3 can be changed to 1 or whatever u like within init.  This script is basic and I have no care to get indepth. I rather smoke weed and get a blow job.

 

So is that what it is? There's more than one coord per town?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...