Приветствую Вас, Гость
[ Новые сообщения · Участники · Правила лен.команты · Поиск · RSS ]
  • Страница 2 из 5
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
Форум » Форум "Красных инженеров", тексты только по теме! » Основной форум » BlackGeorge meanings and thoughts (Everything from my brain)
BlackGeorge meanings and thoughts
gyuri004magyarДата: Пт, 2022-Апр-22, 00:28 | Сообщение # 16
Hungarian artillerist/inspector/tactic
Группа: Друзья
Сообщений: 31
Репутация: 3
Статус: Offline
Its a good idea.
Tonight i tired to do what i can. But finaly stop because first time the cfgSounds works well, but later arma brain went sleep and cant find my correct sounds...next time.

-I think in the plane easy change the lamps and we can do red or green lamps. The lights can be copied from the wings of the plane.

-3rd view disable if use player camcreate ["INTERNAL", 1]
Need to do loop script and this is very usefull thing.
Now i cant write loop commands so i just copied 700 times

player camcreate ["INTERNAL", 1]
~0.1
player camcreate ["INTERNAL", 1]
~0.1
......
biggrin

-Eject action will be better if the parashute doesnt open. I aded MC parashute but first opened the deafult.... need another exit command.

https://m.youtube.com/watch?v=vO3TbCwOfl4

Добавлено (2022-Апр-24, 17:00)
---------------------------------------------
I made a litle suprise while i practicse the things.... biggrin



Сообщение отредактировал gyuri004magyar - Пт, 2022-Апр-22, 00:30
 
EngineerДата: Пн, 2022-Апр-25, 00:16 | Сообщение # 17
Главный инженер острова
Группа: Администраторы
Сообщений: 110
Репутация: 5
Статус: Offline
You can try to use "AAHALO\jump.sqf" from mission. Call is as follow:
[jump_point, new_paratype, jump_price] execVM "AAHALO\jump.sqf".

New_paratype is string with parachute type. Types allowed are: "ACE_ParachuteRoundPack" (round one) и "ACE_ParachutePack" (glading one).

It can be use with or without __ACE__ definition. But I never tested it without #define __ACE__.
 
gyuri004magyarДата: Пн, 2022-Апр-25, 01:21 | Сообщение # 18
Hungarian artillerist/inspector/tactic
Группа: Друзья
Сообщений: 31
Репутация: 3
Статус: Offline
Yes i know that smile

Time to rest few days and test your complete DOSAAF system. You did good job whit that.
 
EngineerДата: Пн, 2022-Апр-25, 17:58 | Сообщение # 19
Главный инженер острова
Группа: Администраторы
Сообщений: 110
Репутация: 5
Статус: Offline
To test complete (beta version) DOSAAF system, including not detected vehicle map you have to finish current mission first)))
...
Mission is reloaded due to mulfunction of the pilots resque side misision flow.
Rokse lost control of pilots and they disappeared among the Sahrani trees))) So I was decided to reload.
 
gyuri004magyarДата: Вт, 2022-Апр-26, 00:08 | Сообщение # 20
Hungarian artillerist/inspector/tactic
Группа: Друзья
Сообщений: 31
Репутация: 3
Статус: Offline
Because the server was offline when i want to join(maybe i was too early or new mission started), i goes to thinking about 3rd person view commands.
Finally i can do whit tigers or waypoint(cycle loop)
For example a side mission is harder and u have to use a t72 with only first person view.

Condition field:(player distance t72 <1) and alive player
Activitation field:T72 switchcamera "Internal"

Its make first person view when we get in the tank.

Con.field:(player distance t72 >1) and alive player
Act. field:camDestroy T72
After this we can use again our own view settings.

Problem is i dont know yet why "if" "goto" "while" commands doesnt works and i cant loop this in script.
Maybe need to use sqf not sqm file hmm, i dont know, later......

I will try to write SQF script you can call in the SQM, e.g. create tank in editor and add script execution in the tank init code alike:
Код
this execVM "scripts\stop3rdView.sqf";

Of course this script must work differently on then server (it must exit immediatelly) and the client computers (it must do normal work).  Are you interested in such a script? I'm already interested :o)

You opened my mind for possibility to switch between 3rd view mode switch on/off!!! If it will work it could have the greate impact on the mission flow!

Of course it is possible to start such script from any place of mission, not only from SQM code. E.g. you can use in init.sqf(sqs) etc.
 
EngineerДата: Вт, 2022-Апр-26, 09:52 | Сообщение # 21
Главный инженер острова
Группа: Администраторы
Сообщений: 110
Репутация: 5
Статус: Offline
There are Arma vehicle events "getin" and "getout", working on vehicles only.
Such events are widely used by mission server code, e.g. to return back overturned vehicles. If you look to any other long playing mission, you will find everywhere multiple overturned AI vehicles. In our mission such vehicles are rarely found, may be only in Estrella.
And you can use events getin/out" on the client too.


That will be enough to switch camere off/on in event processing sqf files. Even more, you can use the same sqf to process both events. And you don't have to use loops in case of events usage.
In follow example code detects where is a player and what to do:

Код
if (vehicle player != player) then { // we are in vehicle
    camVeh camCreate ...
    ...
    camVeh switchCamera "Internal";    
    ...
} else { // we are out of  vehicle
    ...
    camDestroy camVeh;
    player switchCamera "External";
    ...
};

In mission itself there is an eternal sqf looping script, checkin where player is, in or out vehicle. So it is easy to add corresponding code over there.
 
gyuri004magyarДата: Вт, 2022-Апр-26, 10:43 | Сообщение # 22
Hungarian artillerist/inspector/tactic
Группа: Друзья
Сообщений: 31
Репутация: 3
Статус: Offline
At night i will check this code.
But not use player switchcamera external because after that u cant use first person view anymore.
Only need to destroy the target vehichle camera.
What is camVeh? Code or target name?


Сообщение отредактировал gyuri004magyar - Вт, 2022-Апр-26, 10:45
 
EngineerДата: Вт, 2022-Апр-26, 14:37 | Сообщение # 23
Главный инженер острова
Группа: Администраторы
Сообщений: 110
Репутация: 5
Статус: Offline
1. camVeh is the global name for the camera created when player getin vehicle
2.  wacko
Код
if (vehicle player != player) then { // we are in vehicle
    camVeh camCreate ...
    ...
    camVeh switchCamera "Internal";    
    ...
} else { // we are out of  vehicle
    ...
    camDestroy camVeh;
    ...
};
 
gyuri004magyarДата: Вт, 2022-Апр-26, 19:12 | Сообщение # 24
Hungarian artillerist/inspector/tactic
Группа: Друзья
Сообщений: 31
Репутация: 3
Статус: Offline

Код
if (vehicle player != player) then # {
Error Generic error in expression
I get this with ur code


Сообщение отредактировал gyuri004magyar - Вт, 2022-Апр-26, 19:13
 
EngineerДата: Вт, 2022-Апр-26, 23:35 | Сообщение # 25
Главный инженер острова
Группа: Администраторы
Сообщений: 110
Репутация: 5
Статус: Offline
Get me your full code, please. My code is a kind pseudocode, I not tested it against the Arma engine.

Sometimes the script code gives strange unexplained errors on nothing, which are incorrigible and can only be rewritten differently.
 
gyuri004magyarДата: Вт, 2022-Апр-26, 23:49 | Сообщение # 26
Hungarian artillerist/inspector/tactic
Группа: Друзья
Сообщений: 31
Репутация: 3
Статус: Offline
I just copy what u wrote and used that in sqs and sqf files.But smt other is the problem bcs after simple codes i get same error.I understand now what is the difference old sqs and arma sqf files but cant works...

Код
_timer=600

#loop
?condition: goto "end"
hint format ["Time remaining %1s", _timer]
~1
_timer=_timer - 1
? _timer <=0: goto "timeout"
goto "loop"

#timeout
whatever
exit

#end
whatever
exit

It is working,old sqs form,simple hint counr down.
But when i try something harder my arma dost like that.

Код
@ not alive vvv: goto #aa
#aa
hint "ezbizony"

OR

Код
? not alive vvv: goto #aa
#aa
hint "ezbizony"

Its is not work just if i use in game tiggers.But why when is it a simple code for sqs script......
https://community.bistudio.com/wiki/SQS_to_SQF_conversion

Really strange


Сообщение отредактировал gyuri004magyar - Вт, 2022-Апр-26, 23:56
 
EngineerДата: Ср, 2022-Апр-27, 10:28 | Сообщение # 27
Главный инженер острова
Группа: Администраторы
Сообщений: 110
Репутация: 5
Статус: Offline
I never write sqs code, only sqf. May be it is time for you too go to the sqf))) In such case I could help you much more then in case of sqs code.
Of course sqs code is really simple language to write and understand. But having not enough experience it is not so easy for me as read and undersnadn sqf one.

In one of your example:
Код
@ not alive vvv: goto #aa
#aa
hint "ezbizony"

As seems to me the code must be (but not sure))):

Код
; wait until vvv dead
@ not alive vvv

; inform player about vvv fate
hint "vvv is dead, baby"
In any case to say something on code problems programmer have to see whole file and knew input parameters too, not only see partial code where propably error is situated.
 
EngineerДата: Ср, 2022-Апр-27, 11:34 | Сообщение # 28
Главный инженер острова
Группа: Администраторы
Сообщений: 110
Репутация: 5
Статус: Offline
Why  you need to use such code 700 times?

Код
player camcreate ["INTERNAL", 1]
~0.1
player camcreate ["INTERNAL", 1]
~0.1

It seems to me that it is enough to creat camera 1 time and it will work all the time until you destroy it. Isnt it?

So your come may be as follow (I use test code from your sqs example and from BIS mwiki):

Код
exec "scripts\stop_3rd_view.sqs"
...
;
; stop_3rd_view.sqs: check if player in veehicle and switch view to internal if yes
;
? vehicle player == player: goto "exit"
_start_view = cameraView
#loop        
?(vehicle player == player ) OR (!alive player): goto "stop"

? cameraView != "External" : goto "next"
; set internal camera for the player in the vehicle
switchCamera"Internal"
#next
~0.1
goto "loop"

#stop
; return to external camera view
switchCamera _start_view

#exit
exit
Not sure it will work at all or from 1st run))
 
gyuri004magyarДата: Ср, 2022-Апр-27, 19:33 | Сообщение # 29
Hungarian artillerist/inspector/tactic
Группа: Друзья
Сообщений: 31
Репутация: 3
Статус: Offline
So yes the problem from the difference sqs between sqf really.
I have to use sqf in arma.
That 700 times was before i cant write normal code and just repeate the code 700 times whit ~0.1 command......

Your second code bad or i dont know bur cameraView,_start_view,simple switch comand doesnt works.
Finaly i solve the problem:

Код
_cam = "camera" camCreate (player modelToWorld [0, 0, 1])
_cam = cameraOFF

#loop
?(vehicle player == player ) OR (!alive player): goto "next"
_cam = cameraOn
_cam switchcamera "Gunner"

#next
~0.1
_cam = cameraOFF
goto "loop"

Created a camera and off that at the moment.Then when i am in a vehicle camera is on and switch,go to loop.In loop camera is off so when i am not in the vehicle the view is normal.

SQF is the future!! biggrin

Добавлено (2022-Май-03, 22:05)
---------------------------------------------
Last few days I practicse map editing with Visitor 3.I am done,made a litle Rahmadi modification......Now i can build my own map what is in my brain long time ago and was my arma main game island....

-sqf scripting is dumb,sometimes cant read a simple commands,but i will learn that

If {!not alive xx} do
{
hint "kjsdksdj";
};

sqs

?(!not alive xx)
hint "kjsdksdj"

simple and correct and my game just write error message

-addon collecting from the internet
-main webpage at weekend coming,i think first just make a simple google site
-i dreamed something server what is close to Arma2 dayz.A survival 200x200KM map,looting and everything.Build building,infrastructures......many idea whit a main strorry.Every night i thinking about whit this.

I want to play whit this dear soviet server,but boring a bit.But when i am rest i will come to fight!

Добавлено (2022-Май-09, 00:21)
---------------------------------------------
Hmm i want to play on the server but i cant stop solve my problems.
Slowly i finish a script what is show us to our kills like in other fps games. I choosed hint format whit different colors, show the killer name and a new score.
For me it wasnt easy, few command but had to put a good position in a logical script.
1 more problem left. While got a high negative point, the script cant count down.
For example
Have 6 point and get - 1,the script write the hint correct. But when get - 2 3,4.... doesnt work now.
But yesterday worked.... Interesting sometimes, maybe everything is good jut i counted too many and game brain crashed.

Добавлено (2022-Май-09, 21:40)
---------------------------------------------
The score counter 90% done.That can count up down until 5000.It  can be usefull in this server,but will be main part in my dream game.
Still not works for me the sqf commands ........

Добавлено (2022-Май-17, 22:39)
---------------------------------------------
Last few days i practicse modelling and retake that dear blender.O2 too and odol explorer......
I think finaly i can convert old models from ofp ,arma cwa and maybe at weekend i can use that cool Maz transporter.
But i get a new idea again.Engineer said ,so big job rebuild the mission in a new map,cities etc.....but what if i can do a new map and not need to change anything in the mission files? Secret! biggrin

Добавлено (2022-Май-21, 17:39)
---------------------------------------------
BG Sahrani future map

So i spent a week with this. I got many problem but i solved all and i think i can solve more problems.
One of the bigest problem nobody left to me 'pew' files. I can edit and open old wrp files and trasfer them newest wrp form, but i cant open them. Big problem....

I can build new maps, the biges area around 1500 kmx1500 km. We can say that is open world like minecraft biggrin
I can build maps from pictures, not easy and very raw but 90% same the map what i make.

Easiest way
Original map 1024x1024,i can edit that, may add new some smaller island. Work time max a week.

Hardest but better way
In the video i tested can i resize the original map? Ofc yes. But i need to load original coordinates so i have to do many steps.
Rebuild the original island, retexturing, re place the objects.... Half i did.
I want to use Malden, Kolgujev, Everon around Sahrani.
I build raw malden island from the picture. Many many step to rebuild all island and will be my version. I cant copy 100%.or i can but is full sift job.
How many time? Maybe a month or a bit more. If i solve wrp problem max 2 week. Or can be place any other island, from games or from the real world....
So everything is original, engineer mission works well but same time get a new way to play smt else...
I stoping to editing because now i dont need this island. But if engineer and others want this version ofc i can work with this.
I dont know what is faster. Rebuild the mission or rebuild the map.
The future is here you choose biggrin

Добавлено (2022-Май-25, 23:16)
---------------------------------------------
Cup project #1
Was a long day and i got tired so just collected some model from the internet and checked ace objects.

Сообщение отредактировал gyuri004magyar - Пн, 2022-Май-09, 21:41
 
gyuri004magyarДата: Чт, 2022-Май-26, 23:56 | Сообщение # 30
Hungarian artillerist/inspector/tactic
Группа: Друзья
Сообщений: 31
Репутация: 3
Статус: Offline
Cup project #2Edited first deafult model part and textures. Size settings and placement in the world of arma. .Now have a part where can be change the sentence and a section that will hold the various trophies.

Sablon for the sentece texture.Next step to make different types of styles.
Прикрепления: 4830395.jpg (603.9 Kb)
 
Форум » Форум "Красных инженеров", тексты только по теме! » Основной форум » BlackGeorge meanings and thoughts (Everything from my brain)
  • Страница 2 из 5
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
Поиск: