Jump to content
  • 0
Piloto_Spyke

How to start (first steps) [SOLVED]

Question

torials I made while helping people in Arma Discord


First Steps
Video:

 

Generic
1. Actions and Hints -https://discord.com/channels/105462288051380224/976155351999201390/980360446110494761
2. How to Kill object -https://discord.com/channels/105462288051380224/976155351999201390/995759928838996099
3. Delete Vehicle - https://discord.com/channels/105462288051380224/976155351999201390/995762975006785607
4. Get entities from world in area - https://discord.com/channels/105462288051380224/976155351999201390/1068605228653498398
5. Make a custom config -https://discord.com/channels/105462288051380224/976155351999201390/1069333335672885299
6. Hide item - https://discord.com/channels/105462288051380224/976155351999201390/1076409862101155850

Spoiler

IEntity myEntity = GetGame().FindEntity("helmet_0");
Print(myEntity.GetPrefabData().GetPrefabName());
ParametricMaterialInstanceComponent cloth = ParametricMaterialInstanceComponent.Cast(myEntity.FindComponent(ParametricMaterialInstanceComponent));
if (!cloth)
    return;
cloth.SetUserAlphaTestParam(255);
// NOTE: Some items like helmet and his attached entities are hidden when changint from Third person to First person.

 

7. Check if third person IsActive - https://discord.com/channels/105462288051380224/976155351999201390/1076470136632004618

Spoiler

// Option 1
CharacterControllerComponent::IsInThirdPersonView
  
// Option 2
bool isThirdPerson(IEntity pUserEntity)
{
    CameraHandlerComponent cameraHandler = CameraHandlerComponent.Cast(pUserEntity.FindComponent(CameraHandlerComponent));
    if (!cameraHandler)
        return false;
    return cameraHandler.IsInThirdPerson();
}

 

 

Edition

1. Change default loadout loaded when spawning on world editor (useful for test purposes). Change it on the Loadout Manager prefab that should be present on the world map.

 

Workbench
1. Connecting Script Editor Debuger to PeerTool Client  - https://discord.com/channels/105462288051380224/105465701543723008/998630810913607760


GUI
1. First steps - Button and Hint - https://discord.com/channels/105462288051380224/976159778965438494/980534472372019250
2. Lists - https://discord.com/channels/105462288051380224/976159778965438494/986701077846061066

 

GUI - Game master
1. Populating dropdown list getting the variables from a component placed in the edited entity (in his case the vehicle) - https://discord.com/channels/105462288051380224/976159778965438494/1030925491080802314
2.  Add new waypoint to GM - https://discord.com/channels/105462288051380224/976159778965438494/1038538873283805325

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

This list may or may not be updated in the future.

Hope it helps.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×