Jump to content
crookedlungs

Help adding scripts to mission

Recommended Posts

Hey all,

 

I recently ported Kp Liberation to a new map for my unit to use and I wanted to add some scripts from the workshop, namely the Kamikaze script and the dust storm script. I've already downloaded both from the workshop, and I've unpacked the kamikaze one but I'm not 100% sure how to get these scripts added to my mission and get them working. 

 

Can someone point me in the right direction?

 

 

  • Like 1

Share this post


Link to post
Share on other sites
 
 
1
5 hours ago, crookedlungs said:

Hey all.... 

 

Can someone point me in the right direction?

 

 

Well, usually every script comes with detailed instructions on how to "install" it in your mission. Idnk in details the scripts you DL, but should go more or less like this:

 

-open your mission folder

-paste in the script file (or folder if the script has multiple files organized in folders)

 

-if you don't have already one, copy-paste the init.sqf file that comes with the script. (If you do have already one, paste in the content of the init.sqf of the script in your init.sqf)

(The most simple script usually use "[] execVm "mame_of_the file.sqf;"")

 

-if you don't have already one, copy-paste the description.ext file that comes with the script. (If you do have already one, paste in the content of the description.ext of the script in your description.ext)

(The most simple script usually use :

#include "name_of_the_file.hpp"

In every case, refer to the instructions that come with the scripts...

  • Like 2

Share this post


Link to post
Share on other sites
12 hours ago, crookedlungs said:

Can someone point me in the right direction?

 

Hello there crookedlungs !

 

12 hours ago, crookedlungs said:

namely the Kamikaze script and the dust storm script

 

 

 

If you want to learn though , you need to start from somewhere :

 

Initialization Order
https://community.bistudio.com/wiki/Initialization_Order

Event Scripts
https://community.bistudio.com/wiki/Event_Scripts

Code Optimisation
https://community.bistudio.com/wiki/Code_Optimisation

Array
https://community.bistudio.com/wiki/Array

  • Like 5

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

×