Jump to content
  • 0

NEED HELP WITH SCRIPTS


alexm561

Question

Hello everyone I just created a server and got to work yesterday but now I want to modify it with scripts im running it Vanilla all default on Chernarus map the latest version. Idk how to make the scripts work but i can follow really good i have good knowledge of computers but since every game or software has its own stuff idk much when it comes to messing with the server files.

 

here is a list of scripts I want to implement on my server

 

1-Auto refuel in all pumps in the map

2-blood goes back to full when player ate or drink 

3-auto reset set to a certain time

4-air lift and tow

5-change the day and night

6-Customize traeders?

7-cuztomoze loot respawn.

 

please I will donate for help :)

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Ok, your asking a lot in one forum post, and a reply answering all your questions would require multiple posts and work. Most people here who know what they are doing but are busy working on their own servers, and don't really have much time to get to the nitty gritty of your request. But, I have gotten a ton of help here so I will pay it forward.

 

This is a reply to it all.

 

1: Auto refuel in all pumps in the map

Kinda easy, but I cant remember if its by default on my server or through custom scripts, but, if you place a generator at a pump and run it, it will refuel your vehicles. More would need a custom script, go find one either here or on OpenDayZ and if you need help on installing it we can look at it together.

 

2: Blood goes back to full when player ate or drink

Kinda out there and I have never seen it implemented. You are going to need to configure your core client code probably, which is its own can of worms. You cannot change the client code directly or players will need to download your custom code, you will have to call compile script in your mission.pbo and edit it there. Not hard, but the actual edits are beyond me. Again, find the code/script that will do what you ask and I(perhaps we) will help you install it.

 

3: Auto reset set to a certain time

The auto restart (I assume thats what you mean) is handled by most servers through software called BEC (BattleEye Extended Controls). This is a RCon Bot, it passes commands from itself and the server to the RCon panel and allows you to do wild and crazy things. Like kick and ban from in game using the "side chat" or scheduling restarts and reboots. These "Scheduled Events" can happen after an amount of time has passed since BEC has started, or at scheduled times. We would need more info on your server set up to help you find it or install BEC.

 

4: Air lift and tow

This is relatively simple, with many tutorials here and on OpenDayz documenting its install and setup. I can help with its install but I am currently learning how to configure the finer details, like not allowing a CH-47D to lift a C-130. (Its 10x heavier than the maximum lift the Heli can provide in the real world) I believe if you look for the BTC Tow/Lift scripts on Armaholic they should come with install instructions. Again, if you have problems come back here and ask and we will try to help.

 

5: Change the day and night

Depends on what you want, it could be easy, or just outside my knowledge. The basic configuration can be found in the Hive.ini file in the Instance folder of your server directory. It can be configured so the server starts at same "in game time" every time it reboots, or it can be configured to follow real world time and set the "in game time" to the same real world time zone. My server is currently in testing so I have it set to start at 11am, and it usually reboots before it gets to dusk so its perpetually day time. But, when I go public I will set it to GMT-6 Central Time Zone and the time on the server will follow that of the time in the real world. So it will be day when its day out side and night when its night. Further Configurations can be looked at, but its beyond my experience.

 

6. Customize traders?

Do you want to add traders to the map, or configure what the current traders trade like adding and removing items, or a little of both? I am adding 9 new traders to my map, over 60 new weapons and vehicles, and shuffling around vender items to create some balance and differences to the stock Epoch server.

 

7. Customize loot re-spawn.

Are you asking how to setup custom spawn gear, when you load in you get a custom load-out. Or, custom loot tables, what you can find a certain places on the map?

 

 

For the sake of simplicity I (me personally) will only answer one question at a time. So pick one of the 7 above and reply with it below. From there I will try to help you implement it and ensure its working, once done I will try to help you with another one. But be wary, as I have explained my limitations and reservations with some of your requests.

Link to comment
Share on other sites

  • 0

hey man thanks for the help and time you've given me i appreciate it.

 

ok I tried installing first the lift/tow from armaholic this one http://www.armaholic.com/page.php?id=12356 but i get an error momissions\DayZ_Epoch_11.Chernarus\=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h line 11:.RscPicture already defined.

 

what can that be and how can I fix it?

 

and again thanks

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
  • Discord

×
×
  • Create New...