Thatguy553 / TRA-Liberation

KP-Liberation Rewrite from scratch
0 stars 1 forks source link

Objective 1-[Improvement/Foundation]: Breaking the code into more functions #5

Open MohamedAlDeep opened 1 year ago

MohamedAlDeep commented 1 year ago

1: Making new fnc createUnit

2: Making new fnc createVehicle

MohamedAlDeep commented 1 year ago

What do you think @Thatguy553 i believe i have the knowledge to do it so

Thatguy553 commented 1 year ago

Rather than making a new fnc createUnit my plan is to do the following for civs and resistance

Likely ill make a function for each probably named similar to the following fn_manageCivPatrols.sqf will likely spawn in a specific number of civilians according to nearby zones. (if not civilian zones nearby, little to none spawn). The spawned in civilians will probably be given a patrol waypoint of some sort with a radius the size of the zones activation radius.

as for fn_manageResistance.sqf probably need to decide the conditions for when these guys spawn in later on but likely spawn according to Civilian reputation with friendly forces>

When friendly spawn them probably coming from the direction of friendly captured zones. (Need to also figure out how to decide what the size of the group is).

When friendly do the same as liberation, spawn them in friendly zones when friendly forces are nearby and have them waiting in ambush.