Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: de
Location: South-West
Occupation:
Age:
In-game name: Syntax2k (on Steam)

 
#1 Posted at 2013-08-01 15:51        
     
Hey there,
this is my first post here, but I've been reading along on ArmaHolic for about 5 years now. Just managed to finally
register here. :-)

I've been making a mission for the Beta recently, and while the mission itself works fine I can't seem to manage
to get the mission image and description to work.

I defined my mission image and description like this, in description.ext:

author="Syntax2k";
onLoadName="Returning To Base";
OnLoadMission="blabla";
loadScreen="rtb.jpg";

This partly works, since the image, name and author name appear on the mission loading screen.
I want, however, the image and description to also appear here:

http://s1.directupload.net/file/d/3334/5rsc79y9_jpg.htm

As you can see, it partly works, the name and author name are there.

How can I set the image and description to also appear on the mission selection?



Additionally, I came across some questions when scripting some features for the mission.
I'm new to ArmA scripting, but not to programming in general.

As far as I understood the explanations on the Wiki, functions like
createVehicle pos
can be executed on one client, resulting in the created vehicle being synced via the network
and also appearing on all other clients.
This means, that the function should only be executed on one single client (or on the server) to prevent
multiple vehicles from being created.
When I execute a script using execVM, who actually executes the script? All clients (they seem to download
"mission data" when connecting)? The server? The client who is hosting, if there is no dedicated server?

I worked around the problem by making all clients exit the scripts right at the beginning if they are not the server,
but I would still like to understand this more thoroughly to prevent problems in the future.

Thanks very much for reading,
Phil


Author Message


Posts: 615
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 23
In-game name: BroBeans

 
#2 Posted at 2013-08-07 12:48        
     
rip apart a the mission folder and see how BIS did it.
for in the menus i think you have to use .html files