-
Content Count
473 -
Joined
-
Last visited
-
Medals
Everything posted by pSiKO
-
How to create player unit from pure script
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
yep, I think so ! but since the hard part is done, I can deal with the rest ! I will manage the score by myself. again, thank for your help. -
How to create player unit from pure script
pSiKO posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello dear community, I would like to know if is it possible to create player unit from pure script ?? I mean without by placing a playable unit with Eden Editor. I want to be able to create the unit class by myself (B_medic_f / O_medic_f) how will the lobby work in this case? if anyone has a doc or a demo mission to explain to me. it will be super nice! Best regards, -
How to create player unit from pure script
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
update: I've just tested, everything work as expected ! I notice that the 'addscore' method not work any more, not a big issue ! -
How to create player unit from pure script
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hahaaaa, that do the tricks ! I keep all your ideas, [unit class, side,position] and deleteAt I update my mission with this logic, so I can freely spawn the player as the class/side I want. the player respawn with the same class as startup so it will be fine! Thanks you guys! -
How to create player unit from pure script
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hi PierreMGI, (the same greeting as for killzone_kid, you already help me so much) I don't see your post when I was replying. thanks for the snippet. I'll try your approach ! because of issue with sides (create B_xx unit in EAST side), I need to use the alternative call to ''createUnit" Thanks you all -
How to create player unit from pure script
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hi killzone_kid, first of all, thanks you!, I've read so many of your code/advice, that help me a lot ! Let's say, a playable unit placed with eden is "B_medic_F" and I want to spawn as "O_medic_F". so, I' do in initPlayerLocal.sqf and onPlayerRespawn.sqf _player = player; _group = createGroup [EAST, true]; "O_medic_F" createUnit [position player, _group, ""]; sleep 2; selectPlayer (units _group select 0); deleteVehicle _player; that work, but after several respawns the Arma3 client CTD. (memory violation) maybe it's not related, but I read many warnings on "selectPlayer". of course I see your comment that help me. but as I was not sure, so I'll try to find an alternative. can you tell me: is "selectPlayer" can lead to a CTD ? is this the right way to do it ? Best regards, Thanks -
How to create player unit from pure script
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
aaaargh ! dammit ! thanks a lot for your reply, it save me lot of time ! -
[Release] Liberation RX - PvP
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
when you are in the lobby, open "Parameters" (top right) and then you can chooses sides. like this:- 22 replies
-
- liberation
- multiplayer
-
(and 3 more)
Tagged with:
-
hi, yes, but by only changing "gameplay_constants.sqf" you just change color and 'side' (blu/red) but not the classname (otan/csat) nor the vehicles/buildings. now in LRX, you can choose the template you want for each side. (csat/otan/rhs/baf/etc...) independently you are always the WEST side and the enemy is always the EAST side. (in A3 the side is only used for relationship between faction) with the "mod_template" system, you can just add your template, and make it a playable side or just an enemy faction or both. and you can restart the same Island but with different units.
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
[Release] Liberation RX - PvP
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Available Side for LRX PvP Playable (blue/red) "A3 CSAT" "A3 NATO", "A3 AAF" "CP BAF Desert", "RHS USA" "RHS Russian F" "GM WEST" "GM WEST Winter" Defender (AI) "A3 AAF", "A3 CSAT" "A3 NATO" "A3 CSAT Urban" "CP Takistan" "RHS Russian F", "GM EAST" "GM EAST Winter"- 22 replies
-
- 1
-
- liberation
- multiplayer
-
(and 3 more)
Tagged with:
-
ok, I can extract one playable side USA and another one (RUSSIA) for AI. if some want make playable RUSSIA (classnames_west.sqf) and/or AI template for USA (classnames_east.sqf)
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
hi, this way of customize faction, is now very far from Liberation RX, now the template for faction are built in the game and you can choose them in lobby there is a folder for that (search on previous post about this) but your template will be very useful to add template for RHS_USA as playable side and RHS_RUSSIA for the enemies btw, did you make the opposite template ? RUSSIA vs USA
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
[Release] Liberation RX - PvP
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi folks ! an update is out on github + more playable units + add the Mod overlay system from RX + new side mission "Vehicle Capture" + new building "Outpost" (like a fob, cheaper and sooner but with some limitation) + Radio tower respawn + better startup error check + huge classname cleanup + various fixes !- 22 replies
-
- liberation
- multiplayer
-
(and 3 more)
Tagged with:
-
Hi folks ! an update is out on github + new side mission "Vehicle Capture" + new building "Outpost" (like a fob, cheaper and sooner but with some limitation) + Radio tower respawn + better startup error check + huge classname cleanup + various fixes !
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
hi, the RHS support is still very new, I don't test it by myself ! I copy the classname from a friend that customize my pvp with rhs. but unfortunately he just made playable classname (west) some info about files in mod folder: arsenal.sqf <- Definition of Arsenal White / Black lists classnames_r3f.sqf <- Definition of R3F logistics objects (come from classnames_west) classnames_civ.sqf <- Definition of civilians and vehicles classnames_west.sqf <- Class name when used as friendly (playable) side classnames_east.sqf <- Class name when used as enemy (AI) side The folder can only contain one 'classnames_east.sqf' if the template is just for an enemy side (AI). for string definition, look at "core.liberation\stringtable.xml"
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
Hi, great job, you just miss to update the file "mission_paras.hpp" with the same info a "mod_init.sqf" add your mod to the list class ModPresetWest { title = "MOD Preset - Friendly"; values[] = { 0,1,2,3,4,5,6 }; texts[] = { "A3_BLU", "A3_OPF", "A3_IND", "CP_BAF", "CP_CZ", "GM_WEST", "GM_WEST_WINT" }; default = 0; }; class ModPresetEast { title = "MOD Preset - Enemy"; values[] = { 0,1,2,3,4,5,6 }; texts[] = { "A3_OPF", "A3_BLU", "A3_IND", "CP_TA", "CP_RF", "GM_EAST", "GM_EAST_WINT"}; default = 0; }; (btw, if someone can explain to me how to pass variable to .hpp file) once your template are ok, could you share them with me ? so i can add them to the project
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
hi Yomot, RHS has not been added, yet ! it's pretty easy to define classname we need someone create it for RHS, (maybe you ?) then, I add it to Liberation template
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
hi, can you give me more detail please ?
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
hi, yes, that right ! all customisation (unit, vehicle, r3f ability and arsenal def list) are in a single folder to just define an enemy side, you have only one file to edit. I take a look on fob attack code
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
hi, LRX multi mod update, British Army vs Takistani I've just tested Cup BAF vs OPTRE, just crazy 🙂
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
hi, to use a carrier, the better is to copy/past object (carrier/marker) from Stratis pay attention to "respawn_west" marker, the game should respect the altitude of this marker
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
will be in the next release, I change my mind, initial stuff should be free. I made it the default, no options added
- 882 replies
-
- 1
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
[Release] Liberation RX - PvP
pSiKO replied to pSiKO's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I Update the mission with latest patchs. should be pretty good now 🙂- 22 replies
-
- 1
-
- liberation
- multiplayer
-
(and 3 more)
Tagged with:
-
nope directly, because it's linked to your stuff cost and this calculation is used everywhere. but, I can add a parameter to enable/disabled payments for initial loadout (and respawn). I don't want to alter the sell system , by adding a blacklist (which need to be updated, and different for each mod)
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with:
-
oookay ! not easy to balance with others players, free stuff break the economic model. (just sell the free stuff, to be millionar !!) even with a symbolic price you will end with zero ammo. managing your resource is a part of the game. I still can find a solution 🙂
- 882 replies
-
- liberation
- cti
-
(and 5 more)
Tagged with: