Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[WIP]Military Mod

Featured Replies

Hello all,

 

I am a big military guy, Military tech, weapons and forces are just 3 of the many things i love about the military. So to the point, I have been playing gta v for a long time now and i noticed all these mods that allow you to play as a emergency services member, to me thats also cool and all but i wondered, what if there was a mod where we could play as a military guy in gta v and do military duties in the base without having to worry about cops or being shot by the tanks.

 

So, I started to learn how to code in C# and now here i am coding this mod and posting this topic for this WIP mod. Some of the features i plan to have in this mod are:

Military personnel getting into vehicles with you and assisting you in daily tasks on base

Ability to recruit Fighter Pilots to become a part of your Squadron for a dogfight (if in a jet)

Supply runs & Supply Drops using the Titan

Ability to command a squad and have them follow you into battle against threats that come into the base.

those are some of the features i wanna have for the first release. If anyone has any suggestions or comments feel free to post them in this topic all helpful comments and suggestions are welcome in this topic. Also if anyone has any answers to my questions as far as coding goes those are also welcome.

 

Hope to hear from you all real soon on this possibly new and great mod.

 

also here is some of the code i have done on this mod if anyone wants to take a look at it and give me some helpful constructive critisim

using System;
using System.Windows.Forms;
using GTA;
using GTA.Native;

public class MilitaryScript : Script
{
    bool nearbase = false;

    public MilitaryScript()
    {
        this.Tick += new EventHandler(OnTick);
    }

    private void Ontick(object sender, EventArgs e)
    {

        if (Game.Player.Character.IsInRangeOf(new GTA.Math.Vector3(-2138.234f, 3250.861f, 34f)/*military base*/, 200f))
        {

            if (!nearbase)
            {
            
            Function.Call(Hash.SET_DISPATCH_COPS_FOR_PLAYER, Game.Player.Handler, false);
            SetModel("Marine01SMM");
            nearbase = true;
            
            }
        }
    }
    else 

of course this is only some of the many lines of code i have already coded into the mod.

http://cadeptpublicsafety.com

 

Join California Department of Public Safety and become a part of the most realistic California policing experience in the GTA roleplay community.

Can't wait when this releases! Can you also make the player to drive military trucks for transporting military goods, etc. to the base? Could you also make supply drops using the cargobob? Could you also assist some military personnel attacked outside the base? like a convoy being attacked like in a mission in SP. Could you also have airborne and land-based escorts? Could you also have wars with rebels, etc? 

sig.jpg

Great idea! Flying a Titan from the Military Base to LSIA etc sounds good, perhaps driving the Barracks army truck to deliver weapons from a Ammu-Nation? (The Ammu-Nation at the docks area in LS has a warehouse with the Fort Zancudo star on the door, could be a weapon pickup to then drive back to the base) And driving the Military Truck Cab with Military Fuel Tank would be cool too!

Another cool thing would be driving the Army Jeep to a battle of some sort, or something in the country side that requires military involvement 

  • Author

Can't wait when this releases! Can you also make the player to drive military trucks for transporting military goods, etc. to the base? Could you also make supply drops using the cargobob? Could you also assist some military personnel attacked outside the base? like a convoy being attacked like in a mission in SP. Could you also have airborne and land-based escorts? Could you also have wars with rebels, etc? 

Great idea! Flying a Titan from the Military Base to LSIA etc sounds good, perhaps driving the Barracks army truck to deliver weapons from a Ammu-Nation? (The Ammu-Nation at the docks area in LS has a warehouse with the Fort Zancudo star on the door, could be a weapon pickup to then drive back to the base) And driving the Military Truck Cab with Military Fuel Tank would be cool too!

Another cool thing would be driving the Army Jeep to a battle of some sort, or something in the country side that requires military involvement 

​@ LSPDhotstuff i'll have to wait and see on those features. But those ideas are really cool

@RDWAIFU thanks for your suggestions and i will certainly try to incorporate both your's and hotstuffs idea into the mod since i think it would be a pretty cool idea. but there is a question i am wondering about.

 

edit: I have released the first alpha of the mod: for now it only contains the ability to change player model when in range of the military base.

here is the link for those who wanna download it and hopefully the next version will include the supply drop missions

 

what native commands are related to the AI being able to basically follow you as well as follow you. Is it Task_Set_Ped_Team or is it something completely different I wanna know darn it because its killing me here. I'll be providing another snippet of coding line soon. If any coders can answer this question for me i would really appreciate it.

 

https://www.gta5-mods.com/scripts/militaryscript

Edited by WarStrikeWolf117

http://cadeptpublicsafety.com

 

Join California Department of Public Safety and become a part of the most realistic California policing experience in the GTA roleplay community.

I would like it if you could add compatibility with Yard1's Military Enhancement Project when you spawn peds!

f5206360dd4e4e316b6c1f56c39f20d3.png

 

My Railmiles statistics: https://generic.railmiles.me/

I live in the UK. This means I will respond the most from 3-11pm BST/GMT. Do not contact for support here or through Discord.
Discord: generic train man#7633 --------------- Youtube: The Starmix

  • 1 month later...

Hello all,

 

I am a big military guy, Military tech, weapons and forces are just 3 of the many things i love about the military. So to the point, I have been playing gta v for a long time now and i noticed all these mods that allow you to play as a emergency services member, to me thats also cool and all but i wondered, what if there was a mod where we could play as a military guy in gta v and do military duties in the base without having to worry about cops or being shot by the tanks.

 

So, I started to learn how to code in C# and now here i am coding this mod and posting this topic for this WIP mod. Some of the features i plan to have in this mod are:

Military personnel getting into vehicles with you and assisting you in daily tasks on base

Ability to recruit Fighter Pilots to become a part of your Squadron for a dogfight (if in a jet)

Supply runs & Supply Drops using the Titan

Ability to command a squad and have them follow you into battle against threats that come into the base.

those are some of the features i wanna have for the first release. If anyone has any suggestions or comments feel free to post them in this topic all helpful comments and suggestions are welcome in this topic. Also if anyone has any answers to my questions as far as coding goes those are also welcome.

 

Hope to hear from you all real soon on this possibly new and great mod.

 

also here is some of the code i have done on this mod if anyone wants to take a look at it and give me some helpful constructive critisim

 

Hidden Content

Hey there!

It's strange. I have been thinking of making the exact same mod as this. You must certainly contact me if you need a partner to code this mod :D

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.