Jump to content

palota

Moderators
  • Posts

    115
  • Joined

  • Last visited

  • Days Won

    71

Everything posted by palota

  1. Hello Beer, thank you for giving me access to your Github project. I fixed the mg42 so that bots can use them and repair them.
  2. Only Beer knows why this is happening. He is the only one who can fix it. I can't do anything because I don't have Pub mod or cU engine. He refused to give them to me. I don't understand why he wants to keep his mods private. s4ndmod is free and open source. Everybody can download it. It works with Omni-bot 0.90, if you update the version number and recompile it from source code.
  3. Where have you found the waypoints ? Can you add them to the SVN repository ? You can use Server.MinClassCount to add more covert ops to the game.
  4. I added MP34. Other weapons don't need to be handled in et_weapontables.gm because they have the same ID as original weapons.
  5. Waypoints are rendered by this line: trap_R_AddPolyToScene( cgs.media.railCoreShader, 4, verts ); I don't know why they fade. Maybe it depends on the shader.
  6. We can't use ent->s.number because Omni-bot runs it its own DLL and does not have access to internal data structures of the game. You can use TraceLine function to get entity ID.
  7. If there is at least one bot, then OnMapLoad is called immediately before OnBotJoin. If there are no bots, then OnMapLoad is called from BotUpdate. It depends on mod when it sends GAME_CLIENTCONNECTED event and when it calls BotUpdate function. Your gm map script should not depend on specific time when OnMapLoad is called. It can be one time frame earlier in silEnT. The door lever is always moved at the beginning of the game. Your trigger function will be called only if it is registered by OnTrigger. The trigger is missed if OnTrigger is called after the lever has moved. You can fix it by moving line OnTrigger( "rocdoor_lever1_Moving", Map.rocdoor_Moving ) to the end of OnMapLoad and insert sleep(1) before it.
  8. I modified goal_mobilemortar.gm and commited it to SVN. Position in front of the tank is GetEntityWorldSpace( GetGoal("MOVER_tank").GetEntity(), Vec3(0,250,0) )
  9. Yes, you can disable combat movement in navigate and re-enable it in OnExit. But I think it would be better to create RegionTrigger.DisableCombatMovement.
  10. I decided to not rename the 0.8 folder because it would break everything for everybody. There are links to that 0.8 folder everywhere (on the wiki, forum or GitHub). We can't rename it now because it would cause a lot of trouble.
  11. SVN Assembla requires username and password, but it accepts anything (for example username: a, password: a).
  12. It's easy. Just add two use points. Bots will find the shortest path and automatically choose the best use point for them. Console command saveusepoint (or sup) can be used to add use points. It creates a TXT file in omni-bot/et/user folder. Then you have to copy and paste it into OnMapLoad.
  13. How many waypoints have you found ? Who are those people ? Omni-bot 0.9 can load both 0.8 and 0.9 waypoints, so it's OK to submit old 0.8 waypoints to incomplete_navs.
  14. You can disable/enable the ESCORT goal to immediately change indexes. ETUtil.SetExcludeIndexes( "ESCORT_neotics_tank", RegionsTriggers.ESCORT_TANK_LEFT_OFFSETS ); SetAvailableMapGoals( TEAM.AXIS, false, "ESCORT_neotics_tank"); sleep(0.1); SetAvailableMapGoals( TEAM.AXIS, true, "ESCORT_neotics_tank");
  15. I modified C++ code so that GetEntTeam works for spawns. It's in the mod. On Windows you need to compile qagame_mp_x86.dll from project GameInterfaces\ET\src\game\game_2013.vcxproj. GetEntTeam is used in many map scripts, but it should not break anything because it is used only in region triggers which are triggered for CLASS.ANYPLAYER.
  16. How can I download cu mod ? I tried to google it but i couldn't find anything.
  17. You can download Omni-bot 0.9 from GitHub. List of changes is in changelog.txt file inside the ZIP.
  18. What is cU engine ? How can I download it ? Why is it better than S4NDMoD ?
  19. You have to create some ATTACK or DEFEND goals. Then use function SetAvailableMapGoals to enable or disable these goals.
  20. I will add possibility to set multiple navigation flags in the next Omni-bot version.
  21. A table can't be passed to Wp.SetWaypointFlag. But you can use regular expressions. You can append .* to the parameter.
  22. I only set omnibot_enable and omnibot_path. Other cvars are default. I have installed iortcw-1.51c. When I compiled s4ndmod, I added RTCW_VERSION_0_83 into the header file code/game/Omnibot/rtcw/RTCW_Config.h. I only tested a dedicated server. I don't know how to build client binaries. There is no makefile in cgame folder.
  23. set m01 "set g_gametype 5; map mp_assault; set nextmap vstr m02" set m02 "map mp_base; set nextmap vstr m03" set m03 "map mp_beach; set nextmap vstr m04" set m04 "map mp_castle; set nextmap vstr m05" set m05 "map mp_sub; set nextmap vstr m06" set m06 "map mp_village; set nextmap vstr m01" vstr m01
  24. I installed s4ndmod on Linux and it works. Maybe you have some bad config.
×
×
  • Create New...