UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Adding bots margwa robot help

broken avatar :(
Created 8 years ago
by dkamasta
0 Members and 1 Guest are viewing this topic.
4,235 views
broken avatar :(
×
broken avatar :(
Location: nlamsterdam
Date Registered: 15 April 2016
Last active: 7 years ago
Posts
7
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
dkamasta's Groups
dkamasta's Contact & Social LinksDKAMasta
Seen some videos with 40 margwa or 40 robots on bo3.
So decide to take a look into scripting of this.

found the files share/raw/scripts/shared/ai

archetype clone.gsc
archetype robot.gsc
margwa.gsc

now I have a map and mod running with custom box upgraded with only camou guns in it.,
so know a bit how to add stuff, really would be awesome if someone explains the first steps how to add bot/margwa/robot
cause they are all in same map, so must be same script.

thnx in advance
:confused-smiley:1
broken avatar :(
×
broken avatar :(
Location: usGarrett, IN
Date Registered: 4 May 2014
Last active: 6 years ago
Posts
164
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Signature
The world will always underestimate me...until i show them what my creativity is capable of.
×
Erthrock's Groups
would love to see this myself, just make sure your including those script files in your mapname.gsc
broken avatar :(
×
broken avatar :(
Pragmatist
Location: us
Date Registered: 9 May 2015
Last active: 2 months ago
Posts
451
Respect
Forum Rank
Perk Hacker
Primary Group
UGX Site Moderator
My Groups
More
My Contact & Social Links
More
Personal Quote
Fish. That is all
Signature
×
Sidzzz's Groups
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
Sidzzz's Contact & Social LinksSidzzzsidzzzsidzzzTheSidzzzTheSidzzz@TheSidzzz
This topic has been moved to the Help Desk.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 4 October 2016
Last active: 8 years ago
Posts
10
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Xylozi's Groups
Xylozi's Contact & Social Links
You need to use the spawnActor function.

Code Snippet
Plaintext
SpawnActor(<AIType>, <origin>, <angles>, [targetname], [forcespawn], [fullyaware], [spawnerEnt])

For a Margwa you'd pass "spawner_zm_zod_margwa" as the AItype. For a G.I. Unit, you'd pass "spawner_bo3_robot_grunt_assault_mp".

Do be aware the aitype needs to be loaded, so you'll only be able be spawn Margwa in Shadows of Evil since the aitype is not loaded for any other map. You can check which aitypes are loaded by doing /listassetpool 44 in the console.

 
Loading ...