What's new
Roleplay UK

Join the UK's biggest roleplay community on FiveM and experience endless new roleplay opportunities!

Programmers

Dan

Well-known member
What do the RPUK arma 3 developers code in? For example the code that lets people lock doors or vehicles? 
 

I would be very interested in dedicating lots of time into learning this to solely help with the development of the RPUK arma 3 server!

 
Ahh, ok I was hoping it would be something like C but I will have a go tonight

 
If you can understand the intricacies of C and C++ (manual memory management, preventing use after frees etc) then SQF will be easy for you to learn - it's managed after all. The main advice I can give you regarding learning SQF is to research how ArmA's scheduler works [1], and how ArmA handles (or, the lack thereof) of Lazy Evaluation [2].

On top of this you will have to get accustomed to a significantly restricted language, no maps/key value/dictionaries (at least, not natively - you can emulate them), no classes etc.

The language is definitely showing it's age and Enforce is hopefully going to change that when the next game in the ArmA series comes out.

If you want a good starting point, I'd recommend checking out the public Altis Life repo and seeing how the built in scripts work, then try making modifications, then building up to creating new features / systems.

[1] https://community.bistudio.com/wiki/Code_Optimisation#Scheduled_and_unscheduled_environment
[2] https://community.bistudio.com/wiki/Code_Optimisation#Lazy_evaluation

 
Last edited by a moderator:
Back
Top