-
Content Count
10 -
Joined
-
Last visited
Posts posted by Brinkk
-
-
Well, as the second admin i would say thank you all for the words! :)
-
-
Okay, the "Chance Percentage" for spawns is in the table, which is smart and good coding. You will need to just check your "spawns" table and check the UH1H_DZ entries. If the entries are just "UH1H" that won't work, it has to be the dayz version "_DZ".
Also, since this is based on Guru Abdul's Sanctuary server, the spawn locations will not necessarily be standard. He put some on castles, on roofs, in the wilderness, etc. Some of his spawn locations were 'bad' locations to and would cause vehicles to phase through buildings, slide down hills, or be half in/half out of the ground. I found that I had to actually physically stand were I wanted the vehicle, copy my position and paste it in the spawns table to make sure I got a good spawn.
Well, if i copy this and put it in my folders, it should be ok? Or?
Kinda new to this :(
-
"my $limit = 0;
if ($vehicle->{otype} =~ /Old_bike.*/) {
$limit = 10;
} elsif ($vehicle->{otype} =~ /UAZ.*|S1203.*|.*boat.*/) {
$limit = 4;
} elsif ($vehicle->{otype} =~ /ATV.*|Skoda.*|TT650.*|UH1H.*|hilux.*|Ikarus.*|Tractor|Volha.*/) {
$limit = 3;
} elsif ($vehicle->{otype} =~ /V3S.*|Ural.*|PBX|SUV.*/) {
$limit = 1;
}
# Skip this spawn if the vehicle is over its per-type limit
if ($limit > 0 && $count >= $limit) {
print "INFO: Vehicle $vehicle->{otype} is at its limit of $limit spawns\n";
next;
}
# Skip this spawn if the spawn chance was not met
if (int(rand(100)) > ($vehicle->{chance} * 100)) {
next;
}
# Generate random damage value
my $damage = rand(0.75);
if ($damage <= 0.05 or $vehicle->{otype} =~ /Old_bike.*/) {
$damage = 0;
}
# Generate random parts damage
my $health = '';
if ($vehicle->{otype} =~ /Old_bike.*/) {
@parts = ();
} elsif ($vehicle->{otype} =~ /TT650.*|.*boat.*|PBX/) {
@parts = ('["motor",1]');
} elsif ($vehicle->{otype} =~ /UH1H.*/) {
@parts = ('["motor",1]','["elektronika",1]','["mala vrtule",1]','["velka vrtule",1]');
} else {
@parts = ('["palivo",1]','["motor",1]','["karoserie",1]','["wheel_1_1_steering",1]','["wheel_1_2_steering",1]','["wheel_2_1_steering",1]','["wheel_2_2_steering",1]');
}
$health = genDamage(@parts);
# Execute insert
$spawnCount++;
$insert->execute($vehicle->{uuid}, $vehicle->{pos}, $health, $damage, $vehicle->{otype}, $db{'instance'});
print "Called insert with ($vehicle->{uuid}, $vehicle->{pos}, $health, $damage, $vehicle->{otype}, $db{'instance'})\n";
}"
That's mine^
-
-
Who is your host brink?
If you are using HFB or Vilayer you should have access to the RPT report and you can see if the UH1H is on your server. (Should be under Blss)
Xtreamgaming.net!
-
Have you searched all the possible spawns?
Yeah, all the possible spawns that exists in public, on this script the spawns maybe differ
But how do people get like 5 choppers in private's?
-
Hey
My server that i started some days ago have 1 small prob, there's no chopper that ive seen (other vehicles have spawned). Is there any way to spawn in a chopper manually?
Thanks for reading.
-
Lol, why be scared? I run a superb little private hive server easily for 25 players, mostly clan mates but open to the public.
The box is a:
W7 64
Intel Dual Core @ 3.6ghz
5gb DDR2 ram @ 400mhz
8800GTX 512mb graphics
BT Infinity broadband @ 69mbs down & 29mbs up
There is a 0 cap on my usage & speeds are consistant with low pings all round from UK.
With 5 choppers & 15 players the server has performed extremely well, so don't be scared friend.
Well, how do i manually add more vehicles etc. chopper on privatehives if the chopper dosen't spawn?
Maybe this is a dumb question but im kinda new to this...
Random Crashes.
in DayZ Mod Troubleshooting
Posted
Same prob here, i connect-> can play for 2 mins->freezes-> then red chain and no message received.
Anyone?