Jump to content

marki980908

Member
  • Content Count

    34
  • Joined

  • Last visited

  • Medals

Community Reputation

6 Neutral

About marki980908

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. marki980908

    Optical Camouflage material research

    The thing is I dont even know how to test it myself, I am not sure how to execute any of those commands you wrote in the original post. Thats what I need help with a bit. This above is literally perfect for me, and I wish I would know how to do it Edit: I figured out what rvmat is, do you have an rvmat file laying around by any chance? Edit, Edit: I made myself a rvmat file, but it gives me "line 13, ambient already defined error, it basically crashed to desktop
  2. 3 years ago, this code was posted I think it is suppose to be something called .RVMAT And it should be able to accomplish this: https://gyazo.com/1cf752018440e580a91a42c683f1cf6c and https://gyazo.com/69e19eb9a720b3acf19bb1734758d951 Anyone got any idea how to use it? I assume it is related to material command?
  3. You dont have to spawn it while in mission, I mean you can use archilles just to obtain the code, than you can put it in a trigger in eden
  4. marki980908

    Name a script group

    Thats it worked nicely
  5. This script makes a plane go to 0km/h in an instant This script should do the same thing, but add a bunch of Effects to make it look cooler and stuff, but it doesnt work for some reason... This is the script that adds effects: It works perfectly as a stand alone thing, however when I put it into addaction, it gives me error saying this: Any idea whats wrong? Why cant I execute it? I assume it might be too long or smth and I might need to group those scripts together and name them? (making sqf is not an option)
  6. My point is that the method I described auto generates a script, and all you need to do is paste it in and it auto spawns everything, it already has spawn "this" commands prewritten. I personally use archilles, so its easy for me and fast. I usually save the code in notepad file to use it later if I want to.
  7. Download (in steam workshop) archilles. Go to your mission, start it in editor. Go to zeus, developement tools, and "copy mission sqf" Place it next to buildings you want to save (make sure you add all those objects to zeus first by zeus -> add objects while in zeus) fill in all the parameters and press "ok" Than you will see a huge line of code, copy it and pasting it into a script will spawn those buildings for you.
  8. spark4 = "#particlesource" createVehicle (getpos _this); spark4 setParticleRandom [0, [0.25, 0.25, 0], [5, 5, 5], 0, 0.1, [0, 0, 0, 0.1], 0, 0]; spark4 setParticleParams [["\A3\data_f\proxies\muzzle_flash\mf_sparks_01.p3d", 1, 0, 1], "", "SpaceObject", 1, 2, [0, 0, 0], [0, 0, 0.75], 13, 10, 7.9, 0.075, [2, 0.5], [[1, 1, 1, 1], [1, 1, 1, 1], [0.5, 0.5, 0.5, 0]], [0.08], 1, 0, "", "", _this]; spark4 setDropInterval 0.002; spark4 = "#particlesource" createVehicle (getpos _this); spark4 setParticleRandom [0, [0.25, 0.25, 0], [5, 5, 5], 0, 0.1, [0, 0, 0, 0.1], 0, 0]; spark4 setParticleParams [["\A3\data_f\proxies\muzzle_flash\mf_sparks_02.p3d", 1, 0, 1], "", "SpaceObject", 1, 2, [0, 0, 0], [0, 0, 0.75], 13, 10, 7.9, 0.075, [2, 0.5], [[1, 1, 1, 1], [1, 1, 1, 1], [0.5, 0.5, 0.5, 0]], [0.08], 1, 0, "", "", _this]; spark4 setDropInterval 0.002; How to make them blue?
  9. Okay I am having some problems, and it didn't help that my arma decided to stop showing me script errors when those happen. _OBJ = GameLogicOne; _PS = "#particlesource" createVehicleLocal getpos _OBJ; _PS setParticleCircle [0, [0, 0, 0]]; _PS setParticleRandom [0, [0, 0, 0], [0, 0, 0], 0, 0, [0, 0, 0, 0], 0, 0]; _PS setParticleParams [["\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d", 8, 3, 1], "", "Billboard", 1, 3.0141, [0, 0, 2], [0, 0, 0], 1, 1.275, 1, 0, [6, 6], [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]], [1], 1, 0, "", "", _OBJ]; _PS setDropInterval 3.0; That doesnt work, I browsed other people mods and config files and found a few effects that might be of kinda interest like: "\A3\data_f\proxies\muzzle_flash\mf_sparks_01.p3d" "\A3\data_f\ParticleEffects\Universal\Refract.p3d" "\A3\data_f\blesk1" I am really not sure what I am doing wrong EDIT: I found a way to add distortion effect, and sparks..kinda....but for some reason it doesnt let me change their color
  10. marki980908

    Optical Camouflage material research

    I am sorry for being dumb, but I am currently a bit confused on how to get this work, could anyone let me how to get this to work? When I saw it I thought it was code I could put in for example; vehicles init, but that doesnt seem to be the case
  11. Thanks I will look into it
  12. Cant auto generate those lines using archilles "create mission sqf" command?
  13. I have 2 codes this addAction ["<t color='#FF0000'>Gravity Break","_veh = _this #0; _veh setvelocity [0 * (sin (getdir _veh )), 0 * (cos (getdir _veh )), 0]", [], 7, true, true, "", "_this == driver _target"];  this addAction ["<t color='#FFF800'>Gravity Boost","_veh = _this #0; _veh setvelocity [140 * (sin (getdir _veh )), 140 * (cos (getdir _veh )), 0]", [], 7, true, true, "", "_this == driver _target"];  First one makes the vehicle stop immediatly, other makes it go 500km/h immediatly. What I want to do is to attach effects to the vehicle, so for example once it stops (I activate "gravity break") maybe distortion effect, or electricity effect, or both, or shock wave effect would be attached to a vehicle, but would dissapear after like a second. I will probably add playSound3d of an explosion aswell or sonic boom. My question is, can someone help me with that, I am not really sure how effects or particle effects work in arma, I heard it is janky
  14. marki980908

    Speed Boost . Speed break

    Thanks it worked
  15. I am having problems with these 2 scripts _this addAction ["<t color='#FFF800'>Gravity Boost","_this setvelocity [140 * (sin (getdir _this )), 140 * (cos (getdir _this )), 0]", [], 7, true, true, "", "_this == driver _target"]; and _this addAction ["<t color='#FF0000'>Greavity break","_this setvelocity [0 * (sin (getdir _this )), 0 * (cos (getdir _this )), 0]", [], 7, true, true, "", "_this == driver _target"]; This script should give a scroll action to vehicle driver to either make vehicle go 500km/h or 0 km/h instantly. However I am getting an error saying that "getdir: got array expected object" I am executing this inside vehicle init
×