
palota
-
Posts
122 -
Joined
-
Last visited
-
Days Won
74
Content Type
Forums
Profiles
Events
Gallery
Downloads
Articles
Posts posted by palota
-
-
Revived bots are useless because they cannot hit any enemy. They will be like a meat shield. But if you really want to enable revive in NQ, then it's easy. Just delete file omni-bot/et/scripts/goals/goal_respawn.gm.
-
If you revive a bot in NQ, then all his bullets are bent 90 degrees. The revived bot can only shoot himself in the foot or kill teammates who are standing next to him. Do you really want team killers on your server ?
I would recommend to use legacy mod which is newer with more features and less bugs.
-
-
This project has been inactive for 10 years. Are developers still alive ? The problem is that there are many bugs in silEnT mod. Nobody can fix the bugs if the source code is not available.
-
-
-
-
Engineers don't fire garand grenades when they are going to PLANT goals. Do you need to disable it for BUILD goals too ? Maybe I could add a new optional property to the BUILD goal which would be used for objectives that need a lot of charge.
If you want to disable grenades in some narrow corridors, you can create a region trigger and use function ETUtil.DisableRifleNade.
Function WeaponTable.SetWeaponAvailability can be used to set weapons for team/class, but it's not possible to set a weapon for a role.
If you want to change weapons manually in triggers, you should set Map.DontSelectWeapons=true. That will solve the problem of spawn self killing, but it completely disables weapon selection globally for all bots.
-
-
The trigger distance is not from the target goal, but from a grenade. If somebody is standing just beside a bot, then his thrown grenade immediately enters the radius. It would be necessary to calculate trajectory of a grenade and predict coordinates of explosion. Maybe I could use some code from the mortar goal.
I agree with your other suggestions and I added them to my to-do list.
-
Good morning,
Which map is it ? Does the target entity have health information which could be used to calculate exact amount of grenades needed to destroy it ?
We can't ignore EVENT.ENT_ENTER_RADIUS if distance is greater than AvoidRadius. If a bots is moving towards a grenade or a grenade is moving towards a bot, then the event is triggered once at distance 400.
If you want bots to go to ammo cabinets, you can change priority:
global OnBotJoin = function( bot ) { wpn = bot.GetWeapon(WEAPON.ALLY_GRENADE); if(wpn) { wpn.PrimaryFire.LowAmmoPriority = 0.82; } };
-
-
That wiki page was written 20 years ago. Maybe DrEvil did it.
-
-
It would be too slow to search waypoints network every second for every bot. You can set a role for the goal and then assign the role to bots in triggers.
-
0x1005a is number 90 converted to hexadecimal.
You can use command /entitylist which prints all entities and their script names and target names. GetEntityByName searches target names.
Where can we download pk3 file of this map ?
-
Where can we download pk3 file of this map ?
You should never use entity numbers because they depend on mods. You should use GetEntityByName instead of GetGameEntityFromId. If the entity does not have any name, then you can use TraceLine.
Functions GetEntityByName and GetGameEntityFromId return null if the entity is invalid. Correct condition is:
if(ent1) { print("Entity is valid"); }
You must not use GetEntTeam in OnExit because it returns null if a player disconnected. Players can also change team when they are inside the region. See wiki how to count players in a region.
-
-
On 12/14/2024 at 5:06 PM, vargatom said:
When I follow a BOT in spectator mode and BOT sprints why doesn't show that his stamina is running out?
This is not related to bots. The same problem happens if you watch human players. There are a lot of bugs in the omnibot mod because it is based on the original game from year 2001. The spectator stamina is displayed correctly in newer mods (legacy, nitmod, noquarter, silent). It does not work in jaymod and etpub.
-
-
-
Hi, welcome to the Omni-bot forum.
If you have scripted a lot, where are your scripts ? Could you please share a link to your scripts and waypoints ?
Util.EnableGoal and Util.DisableGoal can be used to activate ROUTE nodes. You can do this in a while loop in a thread.
-
-
Navigation = { stop = { navigate = function() { this.Goto(this.Bot.GetPosition()); sleep(3); }, }, },
/bot waypoint_setproperty paththrough Navigation_PT:stop
Revive.gm Version 0.92
in Omnibot - Development, Discussion & Support
Posted
No, it's different file. The RELOAD goal is implemented in omnibot_et.dll. But this problem with medic has already been fixed in version 0.92.
Omni-bot 0.83 does not work. Revived bots cannot hit enemies. I tested it now. I stood just in front of a soldier with mobile MG42. I saw him shooting hundreds of bullets, but he did not hurt me.
I've recently updated goal_respawn.gm so that engineers can be revived. I think it's a good strategy to keep engineers alive so that they can build and destroy objectives while others are covering them. I've also enabled it for bots that have heavy or sniper weapons.