Home   Help Search Login Register  

Author Topic: BIS startegy map 4 da masses (ACCEPTED)  (Read 3755 times)

0 Members and 1 Guest are viewing this topic.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
BIS startegy map 4 da masses (ACCEPTED)
« on: 15 Aug 2007, 00:20:20 »
[edit] I updated da file with a readme and have everything with da prefix LCD 2 upload dis into da ed dept :D


i spent my last 8 hrs at work doin da next script (4 of it was just getin da dialogs 2 show in da right order :P)

dis is basicly BIS strategic map... but usin map type dialog instead of da pic... its still not finished... but i run outta ideas 4 new functions... so list ny ideas u got... in da meantime here is da stuff u got

instalation...

1)create a folder in ur mision called LCD_map
2)2 da folder copy da 3 files (LCD_map.sqf,LCD_map.hpp,m1_icon.paa) 2 da LCD_map folder... im not yet usin da last file... but im gonna find somin 2 do w/ it soon... in da meantime it will just show st00pid pic in da midle of da dialog :P
3) in ur description.ext have da next line
Code: [Select]
#include "LCD_map\LCD_map.hpp"
Usage :

2 start da map dialog u need 2 input da next line
Code: [Select]
["init"] execVM "LCD_map\LCD_map.sqf"
in case u wanna use ny of da functions at da start of da map u cud use
Code: [Select]
[[function array],"init"] execVM "LCD_map\LCD_map.sqf"
e.g
Code: [Select]
[[veh,0.1,"stick"],"init"] execVM "LCD_map\LCD_map.sqf"
note : u can put as many function arrays in da init exec so it cud b
Code: [Select]
[[function array1],[function array2],....,[function arrayn],"init"] execVM "LCD_map\LCD_map.sqf"
available functions

1) "stick"... sticks da map 2 an object

syntax :
Code: [Select]
[VehicleName,Zoom,"stick"] execVM "LCD_map\LCD_map.sqf"
eg
Code: [Select]
[player,0.1,"stick"] execVM "LCD_map\LCD_map.sqf"
zoom standes 2 da scale da map is on....

2) "singleclick" a quick onMapSingleClick option... resaults in exactly da same thing

syntax :
Code: [Select]
[_code,"singleclick] execVM "LCD_map\LCD_map.sqf"
eg
Code: [Select]
["hint ""hi""","singleclick"] execVM "LCD_map\LCD_map.sqf"
3) "RSCtext" helps u manage da dif RSCtext ctrls da dialog has

syntax :
Code: [Select]
[control,fade,committime,[i][text,color[R,G,B,A],font][/i],"RSCtext"] execVM "LCD_map\LCD_map.sqf"
note : italic text is optional

eg
Code: [Select]
["Intel",1,0,["helo world",[1,0,0,0.5],"TahomaB"],"RSCtext"] execVM "LCD_map\LCD_map.sqf"
control = name of da control u wanna manage
fade = amount of transparcy control has
committime = times it takes changes 2 occur

names of difrent controls

"Intel","MissionName","Overview","Consequences","SelectText","Info"

4) "video" closes nd shuts da video window bis used 4 deir small ingame videos....

syntax :
Code: [Select]
[bool,"video"] execVM "LCD_map\LCD_map.sqf"
eg
Code: [Select]
[true,,"video"] execVM "LCD_map\LCD_map.sqf"
true opens da window... false shuts it down.

5) "bottuns" manages da two botuns bis had there

syntax :
Code: [Select]
[bottunname,fade,committime,enabled,[text,color[R,G,B,A],font],code,"bottuns"] execVM "LCD_map\LCD_map.sqf"
eg
Code: [Select]
["SitRep",0,1,true,[i]["helo world",[1,0,0,0.5],"TahomaB"],"hint ""hi""",[/i]"bottuns"] execVM "LCD_map\LCD_map.sqf"
bottuname = name of bottun 2 manage
fade = transparcy of bottun
committime = times it takes changes 2 occur
enabled (TorF) = true if bottun is clickable
code = da action da bottun does

6) "background" changes da background defenitions

syntax :
Code: [Select]
[control,ifshow(TorF),[i]color[R,G,B,A],[/i]"background"] execVM "LCD_map\LCD_map.sqf"
eg : ["map",true,[1,0,0,0.5],"background"] execVM "LCD_map\LCD_map.sqf"

control = name of background control
ifshow (TorF) = if true it shows background, if false background disapears
color = sets da backgrounds color nd transperacy

difrent background names
"Background","BackgroundR","BackgroundU","BackgroundB","map"
---------------------

dats all 4 now... play w/ it nd gimme sugestions

LCD OUT
« Last Edit: 25 Sep 2007, 23:24:39 by Mandoble »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: BIS startegy map 4 da masses
« Reply #1 on: 15 Aug 2007, 01:12:49 »
May you try to attach a mission with more of the listed functionality working ?  ;)

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: BIS startegy map 4 da masses
« Reply #2 on: 15 Aug 2007, 02:06:31 »
Well, i'm kinda "virgin" when it comes to dialogues. It looks really good...but...i don't get it, what is it good for? What can i do with? Actually it shows me my position on the map...nothing else.

Some more info what i can do with would be nice because it looks really interesting as far as i can judge.


Myke out  :D

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
@ mandoble... not it shows beter wat it can do.... stil not perfect demo but...

@myke... bah u lack imagination... it can b da perfect strategy map 4 campaigns nd da like... ;) :P

also ill tel u wat its gonna b in my next mision... its gona b da player laptop :D  :cool2: hel get inmision briefings on it... hell get intel... video... sound everything... :P

also hell chose were 2 get his weapon droped wen he buys em usein it... actualy hel chose which weapon 2 order w/ it :D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline myke13021

  • Contributing Member
  • **
  • Myke
@LCD

i surely do not lack of imagination but for sure of knowledge  :D

As i said, it looks really good and i can imagine a lot of useful stuff for it....but my prroblem remains (which is surely not your problem) that i can't do dialogue stuff for my life.

And, but this is no critic and surely not intended as offence, you style to write makes it not easier for me to understand what you explained.

Don't take it as offence, i did read the post about your so called "leet" speak (which is incorrect, should be called LCD-speek) and i do agree with those wh say "LCD is LCD and if he would write proper english, it wouldn't be LCD anymore", so keep up your style. Just saying, as i'm not native english (german i am) i might miss some points and the lack of dialogue knowledge makes it for me even more complicated to handle.

As i saw you uploaded a new demo mission, i'll give a look at it, hoping to see clearer with this.


Myke out

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
dis exactly it... dis mision saves u all da messin w/ dialogs... instead u do everything simple usin my function... nd da ready dialog inside :D  :cool2:

what part of germany r u from ?

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline myke13021

  • Contributing Member
  • **
  • Myke
hehe...didn't meant "german" as location but as language...i'm from switzerland.

I'll give it another go, hoping this time i get it how to use it. If not, be prepared of an "questionattack"  :D


Myke out

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
im alwayz ready... also if u wanna see a small workin example... i just updated my guardian angel mision 2 use it (check link in my sig line)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Nixer6

  • Members
  • *
Wow!

Can't wait to check it dude. Thanks.  :cool2:
Why do I have to be a Rocket Scientist to make a good mission?

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
One example of using this map resource is you could combine it with my findnearesttowns/findnearestairport function and you could place an arrow/marker pointing to the town on the map.
Xbox Rocks

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
updated da file 2 include a readme :D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta