Jump to content

Recommended Posts

Hello to all and Happy New Year.

Please, excuse me if i start this thread in the most wrong place.

 

I have just arrived and looking forward to learn Arma Script
so to start creating missions, terrains etc. Haven't check
anything yet in the present forum, but i think that my first
starting point will be to understand the fie/directory tree
structure that Arma uses. Off course any advise/direction
in my baby-steps from you, will be appreciated.

 

Thank you.
PS: LUA (dcs) scriting background.

Share this post


Link to post
Share on other sites

When you place items on the map give each item a name and a number.

Do not use box1, box2, box3.   If you place more than 9  then the sequence will be    box1,  box10,  box2

Instead it is best to use box01, box02 and box03.

 

On the left of the editing screen you will see a list of all the items you have placed on the map. Giving them names and numbers makes them easy to find later on.

 

Create a mssion and name the mission. Then search Windows Explorer and you will find the file structure. When you name a mission never use spaces.  "Red Widget Seven"  will come out as  "Red%Widget%Seven".  So a better name is "Red_Widget_Seven".

 

Learn how to get items and soldiers to start in random locations, but no too random as you don't want them starting miles away!

 

Learn how to use triggers.  You can specify who fires a trigger and you can specify what happens when a trigger fires.

 

Triggers and random are the centre of editing.

 

Change the weather, change the time of day, change the time af year as they all have an impact on the look and feel of the mission. At night a full moon adds atmosphere so you need to change the date to get a full moon.

.

 

 

 

 

 

  • Thanks 1

Share this post


Link to post
Share on other sites
10 hours ago, Joe98 said:

On the left of the editing screen you will see a list of all the items you have placed on the map.

10 hours ago, Joe98 said:

When you name a mission never use spaces.

10 hours ago, Joe98 said:

Learn how to get items and soldiers to start in random locations

 

10 hours ago, Joe98 said:

Learn how to use triggers.  You can specify who fires a trigger and you can specify what happens when a trigger fires.

an example of what you can do with triggers

 

PROF EAT A ROLL

Welcome to BI forums!

Take a look at my Scripting compilation list pinned in the mission editing and scripting section:

Scripting Guides & Tutorials Compilation List

https://forums.bohemia.net/forums/topic/229245-scripting-guides-tutorials-compilation-list/

 

That should help you out, ideally imo and as Joe pointed out some things, you want to know the basics of editing,

the editor, mission building, and as your interested in the file structure which is important especially for creating scripts

as scripts will go into the folder of a mission you create.

Hope that helps.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Joe98, Gunter Severloh,

thank you very much for your welcome and for your help.

Downloading most of the guides (+Gunter's 27 missing 2)

and then start reading/analyzing 😀

Thank you very much for your guidelines.

See you soon with my first attempts/experiments. Hope they not explode!

 

PS: I saw that there is an EventHandler mechanism.

In dcs i was working with events, and i am interesting

to learn more about how it works in Arma also.

  • Like 1

Share this post


Link to post
Share on other sites

Welcome!

This is another list that should help you out with the Eden editor, editing and mission building, along with tools.

Eden Editor, Editing, & Mission Building Guides, Tutorials & Tools Compilation List

https://forums.bohemia.net/forums/topic/229263-eden-editor-editing-mission-building-guides-tutorials-tools-compilation-list/

 

  • Thanks 1

Share this post


Link to post
Share on other sites

To create a soldier or vehicle with a particulair load out or equipment, go to:  Tutorial - Virtual Arsnel

 

This lsts every uniform, every weapon and every piece of equipment.

 

Create your soldier, save him then use the export feature to place him on your map.  Once he is there you can use "copy and paste" so a bunch of soldiers equiped the same can be placed on the map.

 

 

 

 

 

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Hello Gunter and thank you for the list.
Hello Joe98 and thank you for the tips.

 

Reconsidering myself after your advices, i will
start from scratch: learn and use Eden editor.
Once become comfortable with and understand the
limits, script requirement will be the next step.
I think is not wise for me to attempt scripting
without having knowliedge of Eden and Arma core.

 

Thank you for your advices & help,
all the best.

 

PS: Sirs, i have to say this:
Arma is still going after all these years
not just because its a great game, but of
what i saw here, it's the AMAZING forum
and community that is keeping it alive!
You and all the other guys, you have done
a great forum here. Everything (SDK) that
someone like me need to have to support
the game is here: codes, examples, tools.
But the most important: your help.

Share this post


Link to post
Share on other sites
5 minutes ago, PROF EAT A ROLL said:

I think is not wise for me to attempt scripting
without having knowliedge of Eden and Arma core.

 

Probably a good choice, but understand that sqf does not build upon knowledge of the editor. You can create full dynamic missions using just scripting (and without opening Arma), and vice versa.

 

My advice: play around until you find that you have a specific question, then ask it here.

 

The basics of sqf/scripting can be found in the links in my sig. Have fun!

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
2 hours ago, Harzach said:

You can create full dynamic missions using just scripting (and without opening Arma), and vice versa.

My advice: play around until you find that you have a specific question, then ask it here.

The basics of sqf/scripting can be found in the links in my sig. Have fun!

Hello Harzach and thank you.

 

I fully understand what you mean by scripting dynamic missions.
This is what i am pointing to. As you said too, i have to learn first😃.
In Arma things seems to be much more simple once scripts are in

the same container/location with the mission.


I do have a specific question:
In your opinion, which IDE can/shall i use for scripting ?

 

Thank you.

PS: Most of the links have been downloaded for offline reading 👍

Share this post


Link to post
Share on other sites
2 hours ago, PROF EAT A ROLL said:

In your opinion, which IDE can/shall i use for scripting ?

 

Personally, I just use Notepad++ with this plugin:

 

...which is sort of the bare minimum and what most scripters use. You should be familiar from editing LUA in DCS.

 

Here are a couple options that I'm aware of that may or may not still be relevant:

 

POSEIDON TOOLS:

https://community.bistudio.com/wiki/Poseidon_Tools (not free)

 

TYPESQF:

https://typesqf.azurewebsites.net/ (free)

 

Not sure if Sublime Text is still a thing with Arma scripters/devs. Hopefully others will chime in with recommendations.

 

 

  • Thanks 1

Share this post


Link to post
Share on other sites
2 hours ago, Harzach said:

Personally, I just use Notepad++ with this plugin:

 

Hello Harzach and thank you
very much for your time to reply.👍

 

Notepad++ with SQF.xml Syntax Highlighting will be.

 

If i may, one more question:
I've search in the forum for *.pdf of the documentation
but haven't found something. Can you please tell me if
exist in such a form, before i start a thread to get a "no" ? 😄

 

All the best.

Share this post


Link to post
Share on other sites
10 minutes ago, PROF EAT A ROLL said:

.pdf of the documentation

 

Sorry, documentation of what? 

 

And you wont find many pdfs of anything around here, except for some of the bigger mods and some older tutorials.

  • Thanks 1

Share this post


Link to post
Share on other sites
1 minute ago, Harzach said:

you wont find many pdfs of anything around here, except for some of the bigger mods and some older tutorials.

Hello.

I meant pdf that i can read everything from wiki offline instead online.

Thank you, i can go further now 👍

 

Share this post


Link to post
Share on other sites

No, the wiki is an online resource with thousands of pages.

  • Like 1

Share this post


Link to post
Share on other sites

Yes i understand. I may use an offline html downloader for "Introduction to Arma Scripting".

Thank you, thank you 🙂

Share this post


Link to post
Share on other sites

The wiki is a very useful resource for searching, but it's important to be selective about the content as it currently has a lot of contributors.

Share this post


Link to post
Share on other sites

Hello daroscomvn.

 

Yes it is and once Bohemia has all of the matterial in there
it is very useful to learn and find answers in many questions.
But it is not suitable for me as i am not all the time online.
That's why i prefer to download and print what is interest me
and i can read wherever i go. For this one i can use an app to
download all or specific Bohemia sections from wiki and then
make it a pdf to or just print it. I didn't mean to download the

whole wiki 😃

 

Thank you.

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

×