Search the Community
Showing results for tags 'replace'.
Found 7 results
-
GF Building Replacement Script - Mod
GEORGE FLOROS GR posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
GF Building Replacement Script - Mod by GEORGE FLOROS [GR] Description: GF Building Replacement Script - Mod , replace the buildings with your desired. You are free to do anything but i would like to give me Credits for this! Simple and easy to use and adapt . Have Fun ! Installation / Usage: For usage instructions and information of how to use the GF Building Replacement Script - Mod please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , in the initServer.sqf , to copy paste in your mission . https://community.bistudio.com/wiki/SQF_syntax Don't try to open this with the simple notepad. For everything that is with comment // in front or between /* means that it is disabled , so there is no need to delete the extra lines. You can open this ex: with notepad++ https://notepad-plus-plus.org/ ArmA 3 | Notepad ++ SQF tutorial https://www.youtube.com/watch?v=aI5P7gp3x90 and also use the extra pluggins (this way will be better , it will give also some certain colours to be able to detect ex. problems ) http://www.armaholic.com/page.php?id=8680 or use any other program for editing . For the Compilation List of my GF Scripts , you can search in: https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/ BI Forum Ravage Club Owner : https://forums.bohemia.net/clubs/73-bi-forum-ravage-club/ Notes: GF Building Replacement Script - Mod , replace the map's buildings with your desired. It is also included a mod version , posible to unpack and edit. Credits and Thanks to : Thanks to All script contributors Thanks to everyone who tries to do the best for this game! Thanks to BIS for such a great platform . Thanks to BIS Community and BIS Community Forums . Thanks to Armaholic Community and Forums . Changelog: v2.0 Added a distance check and blacklist zones Added more options v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40364 Armaholic GF Building Replacement Script - Mod -
https://github.com/jakehekesfists/DMD_BuildingReplace
-
Back again with another function, Not sure if there are other string replacement routines, but I've quickly put this one together. Source // // PX_fnc_stringReplace :: Replace substrings // Author: Colin J.D. Stewart // Usage: ["xxx is awesome, I love xxx!", "xxx", "Arma"] call PX_fnc_stringReplace; // PX_fnc_stringReplace = { params["_str", "_find", "_replace"]; private _return = ""; private _len = count _find; private _pos = _str find _find; while {(_pos != -1) && (count _str > 0)} do { _return = _return + (_str select [0, _pos]) + _replace; _str = (_str select [_pos+_len]); _pos = _str find _find; }; _return + _str; }; Example: ["xxx is awesome, I love xxx!", "xxx", "Arma"] call PX_fnc_stringReplace; // Output: Arma is awesome, I love Arma! -Colin
-
Replace reticule .paa in scope?
lawman_actual posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I took a launcher where the reticule didn't actually correspond to the ammo it was firing. I found the .paa file for the reticule. I fixed the lines on the .paa file - saved as a new one. Now i want to replace the texture on the launcher's scope with my new one. Only I can't find the line in it's config that points to the reticule texture. I was expecting something like scopeOptic = addon\data\myReticule.paa How do? Cheers, Law -
How would I go about replacing the splash screen with a custom one? The one that shows when the game starts (with the Arma 3 logo). I'm unable to find the proper config. Is it composed of several elements or is it just one image?
- 2 replies
-
- background
- loadscreen
-
(and 4 more)
Tagged with:
-
mdhClassReplace.jar is a simple javaprogram to replace classes in all ext, sqs, sqf, sqm files in the folder and subfolders of the toollocation. Set classnames in the mdhClassReplace.cfg file. i wrote it to replace all the A2 classnames of my arma 2 missions with the CUP ones. So the tool scans all ext, sqs, sqm, sqf files and replace the classnames with the ones set in the mdhClassReplace.cfg. mdhClassReplace.jar Source: how does it work: 1. create and write log messages into the mdhClassReplaceLog.txt 2. read the mdhClassReplace.cfg to get the old and new classnames for the replacement 3. check every ext, sqs, sqm, sqf file in the folder and subfolders of the toollocation for the old classnames and replace them with the new one how to use it, example to port A2 mission to A3 with CUP: 1. download the mdhClassReplace.7z 2. extract it to an empty folder 3. put your arma 2 missions into the same folder 4. doubleklick the mdhClassReplace.jar file 5. check the mdhClassReplaceLog.txt file to see what the tool has done 6. copy your arma 2 mission into your arma 3 missions folder and open it in the 3D editor (hopefully it works :D) attention, use this tool/mdhClassReplace.jar on your own risk Download: http://moerderhoschi.bplaced.net/public/tools/arma3/mdhClassReplace.7z my A2 -> CUP ClassnameMSExcelWar :D -> http://moerderhoschi.bplaced.net/public/tools/arma3/ArmAClassnames.png updates: v1.1 - fixed issue with case sensitivity at classname replace -> now the class replacement is case insensitiv - added more classes to replace to the mdhClassReplace.cfg v1.2 - added more replacements to the mdhClassReplace.cfg - update of Javaprogram .sqs and .ext files now also checked along with .sqm and .sqf kind regards moerderhoschi
- 12 replies
-
- 2
-
- moerderhoschi
- java
- (and 4 more)
-
Hi all, Have not found a function to change every occurrence of given string in deeply nested array to another string, so made it myself. Hopefully some one will find it usefull ;) Fill free to critic and/or improve, this way everyone wins :) Code will return positive number showing how many times string was replaced, zero if string was not found and -1 if input is wrong. This function WILL modify provided array, if this is not wanted, perform function with copy of array. Function will make CaSE SenSitivE check. Use showcase: myArray = ["BAD","fsgg",0,[0,5,3,"BAD"],"something",[[0,0,5,4,"BAD",["Bad"]]],["ddftest","BAD"],[],[]]; searchString = "BAD"; replaceString = "GOOD"; result = [myArray, searchString, replaceString] call fnc_replaceStringDeep; So here is output result == 4 myArray == ["GOOD","fsgg",0,[0,5,3,"GOOD"],"something",[[0,0,5,4,"GOOD",["Bad"]]],["ddftest","GOOD"],[],[]]