Jump to content

Recommended Posts

Posted

NQ has live cam for mortar

http://et.clan-etc.de/noquarter_wiki/wiki/cvars_gameplay.html#column-one

 

jp_insanity (Changed in 1.2.8)


Description
No Quarter fun modes are controlled by this bitmask CVAR.

 

Parameters

 

Type: bitmask
1    Instant Spawn
2    Unlimited Ammo
4    Mortar Cam
8    Rocket Cam
16    Unlimited Charge
32    Guided Rockets
64    Homing Rockets
128    Unlocked Weapons (1.2.7 and lower)  -  Dog Tags Mode (1.2.8 and higher)
256    Venom Mode
512    Shows attackers HP left message (1.2.3 and higher)
1024    Shows attackers HP left message & distance (1.2.5 and higher)
2048    Kickable Dynamite (1.2.7 and higher)
4096    Killer Cam (similar to mortar cam) (1.2.8 and higher)
8192    Riflenade Cam (similar to mortar cam) (1.2.8 and higher)
Default: 0

Posted

You can change the omnibots to soldier and restrict their weapon choices too. Although you would need to allow more than 1 mortar per team if youre looking for a mortar war test.. :0

  • Like 1
Posted

to make omni-bots play a specific class

 

syntax: bot addbot <optional team> <optional class> <optional name>
example: /bot addbot 2 1 bob will add a soldier named bob to the allied team in ET

 

http://omni-bot.invisionzone.com/wiki/index.php?title=Omni-bot_Command_Reference

 

You can also do this by adding a custom.cfg to the omnibot folder it has to be set in that folder to execute the bot addbot

 

and execute it threw properties tab with +exec custom.cfg

 

and just have

 

bot addbot 1 1

 

and restrict weapons like Barnie described above

 

using 

 

set g_heavyWeaponRestriction "0"

set team_maxFlamers "0"

set team_maxMG42s "0"
set team_maxMortars "10"
set team_maxPanzers "0"

 

set maxMortars to the desired number of bots used and it will make them all use mortar

 

if you have problems with maxbots being limited you will need to open 

 

Wolfenstein - Enemy Territory\omni-bot\et\user\omni-bot.cfg

 

and set min and max there 

 

example from omni-bot.cfg 

 

[ServerManager]
MaxBots                        = 16    <--- you can up this number to as much as your pc can handle 32 is recommended max my opinion 
BalanceTeams                   = 0
SaveConfigChanges              = 1
CountSpectators                = 0
SleepBots                      = 0
MinBots                        = -1    <--- do note if your experience no bots loading up this number to make them appear use -1 if you plan on kicking bots best setting would be to set to server max for videos for instance 16
InitialDelayTime               = 2.1

 

in server.cfg in the mod folder being executed you will need to set these two to get bots to start

 

omnibot_enable 1
omnibot_path "C:\Program Files (x86)\Wolfenstein - Enemy Territory\omni-bot" 

 

set Omnibot_Flags 0  // flags aren't required by default it is 0

 

the omnibot_path is set using the location of the et.exe folder  if you want to shorthand this path just use  omnibot_path ".\omni-bot"

 

for example the one Im using to modify waypoints

 

This is editing the properties of a shortcut created of et.exe ink file

 

"C:\Program Files (x86)\Wolfenstein - Enemy Territory\" +set fs_game omnibot +set g_gametype 2 +set sv_pure 0 +exec server.cfg +exec custom.cfg +devmap egypt_v2

 

set fs_game omnibot <---- this is the mod folder being executed must set first

 

do note this is not omni-bot this mod will be created after the game loads the first time you may have to start the game first with +exec server.cfg and then add the set fs_game when you close it

 

set g_gametype 2       <---- Set server to 2 and make sure to edit server.cfg to //g_gametype marked out with //'s

set sv_pure 0               <---- So you can use /noclip and /god

if your going for a close recording only OB_DMS.pk3 has ignore player http://omni-bot.invisionzone.com/wiki/index.php?title=DMS

exec server.cfg           <---- Your server preferences for soldiers are set here

exec custom.cfg         <---- This is used for miscellaneous settings for bots

 

freecam is only used in etpro and etlegacy through demo's just so you know before asking how to get a external recording

 

sorry for not being more informative then before sometimes I got to much on my hands to write as much

 

Always remember there is no omnibot folder until after the game has been played the first time then it is created if bots are enabled then you can modify the bots to anything you want using

a omni-bot.cfg in that mod folder under etmain not in the omni-bot folder only modify the files in the omni-bot folder if it is necessary or you may corrupt your bots configuration and will have to do a fresh install

  • Thanks 1
  • Love 1
Posted (edited)

I was going to suggest modifying et_classmanager.gm in omni-bot/et/scripts to change class weapons available.
Works OK on Home ET Server, But crashed Rental VirtualServer when We tried to disable Panzerfaust for bots.

You could ask Omnibot Forums how to make all bots Mortarhttp://omni-bot.invisionzone.com/index.php?/index:

Edited by Buckwild
addition
Posted

I was going to offer a different solution but for NQ there's no panzerwar command can't take that path

 

But there is a way to define each bot to use mortar by defaulting it's weapons

 

It's a cheesy way of doing it but a temporary work around in omni-bot\et\scripts\def_bot.gm

 

change Primary to WEAPON.MORTAR

 

on line 102

 

this.SelectWeapons = function()
{
    Primary = this.ClassPrimaryWeaponChoice();
    Secondary = this.ClassSecondaryWeaponChoice();

    if ( Primary )
        { this.ChangePrimaryWeapon( Primary ); }

    if ( Secondary )
        { this.ChangeSecondaryWeapon( Secondary ); }
};

 

and in et_autoexec.gm

 

slash out 

 

//global ClassManager = import("et_classmanager");

 

this will remove the callstack error

or set

global DisableClassManager = 1;

 

defualt is 0

 

and bots should all be using mortar I think 

 

now there could be a bug with bots running around with single pistols just remove 

 

    if ( Secondary )
        { this.ChangeSecondaryWeapon( Secondary ); }

 

also to disable panzers for bots you set the omni-bot\et\scripts\et_weapontables.gm

 

tbl1[WEAPON.PANZERFAUST] = false

 

the weapons table defines the bot available usage if you want bots to use just smg's you set them all to false

Posted (edited)

glider_panzerduel.gm contains PanzerMap = true

 

NQ doesn't support panzerwar being on

 

If I come up with something it'll be posted

Edited by DoubleDragon
Posted

I was almost frustrated until I realized something even if setting a perfect script up for mortars the maps will require goals that support x-amount of mortars

 

example; there are only 5 on this map I was working on and they work fine with these settings below

MOBILEMORTAR_mortar1axis = 
    {
        CreateOnLoad = 1,
        GoalType = "MOBILEMORTAR",
        GroupName = "",
        MinRadius = 32,
        MortarAim = 
        {
            [0] = Vec3(0.944, 0.268, -0.191),
        },
        Name = "MOBILEMORTAR_mortar1axis",
        Orientation = Vec3(-1.294, -0.192, -0.000),
        Position = Vec3(-6227.221, 5188.964, -1246.728),
        Radius = 0,
        TagName = "mortar1axis",
        TeamAvailability = 30,
        Version = 1,
    },

 

 2019-08-26-012454-mlb_egypt.thumb.jpg.816f6032ef649fd2e85305a0912db8e4.jpg

 

If you know anything about map waying then you would be in for a hurt to place bots in maps with no waygoals for mortars

 

I'd be glad to assist even further with the maps as well this was modded directly for NQ 

 

But I have no set up killcam or mortarcam because I am using the latest version not sure exactly which one has the mortar cam that will take a few days to figure out unless someone knows specificly which one it is

 

if you decide you want to continue here is what I had to do to get this far

 

sense the mod folder is NQ I will be showing cvars for nq.cfg some of these you don't need but I want to be complete with a whole cfg the rcon is not set

if you need it just use set rconpassword "password" anywhere

 

nq.cfg in nq mod folder

  Reveal hidden contents

 

This is using Omni-Bot 0.86 http://omni-bot.invisionzone.com/index.php?/files/file/27-omni-bot-enemy-territory/

 

et_utilities.gm

  Reveal hidden contents

 

et_classmanager.gm

  Reveal hidden contents

 

et_weapontables.gm

  Reveal hidden contents

 

 

  • Like 1
Posted

Whoops /jp_insanity 4 turns the mortarcam on my bad 

 

The above should be all you need for setup besides way points being modded for map.goals for mortar

 

 

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.