I'm using RHS, SEM and A3EAI mods. A3EAI is using Russian stuff, SEM is using USA stuff. I want to add armed vehicles to server, like HMMWV with M2 gun. Want to add 1 more convoy mission in to SEM 0.8.3 from KiloSwiss, with crate that can fill vehicles ammo, same like in Editor box_NATO_ammoveh_f. I spent 1 week for testing, learning and serching in google, but actually i'm not native english speaker, and my scripting skill is 0, it's very hard for me. That's my last stand to ask from here. I serached in topics, didn't found something same.
I like SEM from KiloSwiss, becouse it's not load server too much and working good, thanks a lot to KiloSwiss, he did very good work.
Here is his code of mission for eg. (i just changed vehicles, deleted calling script that clearing ammo from vehicles and changed [_box1] call SEM_fnc_crateLoot; to [_box1] call SEM_fnc_crateLootUSA; ) (name of mission and description translated in to russian)
And i copied and renamed fn_cratelootUSA and added class name to config.cpp, I changed all stuff to USA. it's working well. Changed {_loadout = ceil(random 4) to {_loadout = ceil(random 7), for random all cases.
Question
Kensai
Hello to everybody.
I'm using RHS, SEM and A3EAI mods. A3EAI is using Russian stuff, SEM is using USA stuff. I want to add armed vehicles to server, like HMMWV with M2 gun. Want to add 1 more convoy mission in to SEM 0.8.3 from KiloSwiss, with crate that can fill vehicles ammo, same like in Editor box_NATO_ammoveh_f. I spent 1 week for testing, learning and serching in google, but actually i'm not native english speaker, and my scripting skill is 0, it's very hard for me. That's my last stand to ask from here. I serached in topics, didn't found something same.
I like SEM from KiloSwiss, becouse it's not load server too much and working good, thanks a lot to KiloSwiss, he did very good work.
Here is his code of mission for eg. (i just changed vehicles, deleted calling script that clearing ammo from vehicles and changed [_box1] call SEM_fnc_crateLoot; to [_box1] call SEM_fnc_crateLootUSA; ) (name of mission and description translated in to russian)
And i copied and renamed fn_cratelootUSA and added class name to config.cpp, I changed all stuff to USA. it's working well. Changed {_loadout = ceil(random 4) to {_loadout = ceil(random 7), for random all cases.
But i'm stucked with adding crate with vehicles ammo.
It's easy for troops, but i realy don't know how to make it for vehicles.
How to make same box box_NATO_ammoveh_f with ability to refill vehicles ammo like in Editor.
I will appreciate if anybody can help me.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now