Jump to content
Sign in to follow this  
durga

How to spawn vehicles on a live server?

Recommended Posts

I have phpmyadmin for my dayz server.

I'm wondering if there's a way to spawn in a vehicle in live time, while the server is up.

I know that hackers can do it, but I'm interested in doing it without hacks.

Is it possible? If so, how?

Thanks

-Durga

Share this post


Link to post
Share on other sites

I don't think it's possible for admins to spawn vehicles without clicking "Spawn" then rebooting the box.

Share this post


Link to post
Share on other sites

I don't think it's possible for admins to spawn vehicles without clicking "Spawn" then rebooting the box.

Fair enough.

What about a vehicle that respawns itself, once it's been destroyed? Or perhaps on a cycle, it automatically spawns.

Share this post


Link to post
Share on other sites

The DB is read during server startup and the vehicles are then spawned in that way. Technically it is possible to spawn vehicles in while the server is up, but this will require knowledge of the scripting side of Arma and you would probably have to disable Battleye to avoid getting yourself banned from your own server.

So in short: the only way is through a custom script or "hack".

HTH

  • Like 1

Share this post


Link to post
Share on other sites

DayZ has no "Hax." There is no "1337 h4x1ng" involved in cheating in DayZ. It's a manner of running scripts from the client that the server then uses.

Can you hit shift + P without getting kicked from your server? That *should* open the dialogue for inputting live scripts. Then you'll have to do a, "getpos Unit," "Spawn -ID of vehicle-, pos Unit" or some other complicated coding line.

  • Like 1

Share this post


Link to post
Share on other sites

Fair enough.

What about a vehicle that respawns itself, once it's been destroyed? Or perhaps on a cycle, it automatically spawns.

Then you have to open the dayz.pbo and sync the vehicle to a trigger.

Name the vehicle A.

Trigger condition: "A damage 100"

Create an invisible H or some other object on the spawning location, named B.

Activation: "Spawn -vehicle ID, A- pos C"

Of course, because ArmA 2's scripting engine is very ... eh... complex/advanced, it takes a lot more than just that.

  • Like 1

Share this post


Link to post
Share on other sites

Fair enough.

What about a vehicle that respawns itself, once it's been destroyed? Or perhaps on a cycle, it automatically spawns.

In my experience, destroyed vehicles respawn at one of the spawnpoints it is supposed to.

I haven't seen any vehicles respawn at the place of its destruction lately.

Share this post


Link to post
Share on other sites

In my experience, destroyed vehicles respawn at one of the spawnpoints it is supposed to.

I haven't seen any vehicles respawn at the place of its destruction lately.

It would be relatively easy to do that on server reboot ... if it was a requirement and a private hive. :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×