GithubHelp home page GithubHelp logo

AI driving speed about antistasi-1.x HOT 8 CLOSED

a3antistasi avatar a3antistasi commented on August 22, 2024
AI driving speed

from antistasi-1.x.

Comments (8)

7akata avatar 7akata commented on August 22, 2024

From the wiki (this is old but I bet the syntax still works, I just dont know about how to apply it to the current civilian spawning system).

// Adjust "speedLimit" variable to change limited speed. (A3 1.24 we don't need loop for a continus effect, limitSpeed alone is enough.)
_this setVariable ["speedLimit", 200];
_nul = _this spawn {
	while {canMove _this} do {
		_this limitSpeed (_this getVariable "speedLimit");
		sleep 0.1;
	};
};

Might be a start. While I have experienced the sometimes erratic driving, I just chalk it up to Arma and have yet to have a gameplay experience hindered by it. I feel like the 'updated driving ai' of past was maybe haphazardly implemented by bohemia.

from antistasi-1.x.

StefArma avatar StefArma commented on August 22, 2024

Can you make a pull request for this?

from antistasi-1.x.

IrLED avatar IrLED commented on August 22, 2024

@StefArma
Another spawn with short pause - performance eater. Better leave civ-AI on foot and use saved CPU for mil-AI. I don't like this particular solution.

from antistasi-1.x.

StefArma avatar StefArma commented on August 22, 2024

https://forums.bistudio.com/forums/topic/191515-ai-driving-feedback-topic/

This article suggest for test purpose to do:
driver vehicle forceSpeed 40;

so the driver only has frocespeed and when the vehicle is taken by player it won't have any limit.

from antistasi-1.x.

IrLED avatar IrLED commented on August 22, 2024

The actual code in AS
https://github.com/A3Antistasi/antistasiofficial/blob/master/AntistasiOfficial.Altis/CREATE/createCIV.sqf#L127
Also from the forum post looks like forceSpeed is applied to AI driver, limitSpeed is applied to vehicle. We've been applying limitSpeed to vehicle.
Description and examples on wiki are confusing
https://community.bistudio.com/wiki/forceSpeed
https://community.bistudio.com/wiki/limitSpeed

from antistasi-1.x.

IrLED avatar IrLED commented on August 22, 2024

Also observing AI for some time (including civ) i don't see the need to any additional limitations (driving speed is ok imho)

from antistasi-1.x.

StefArma avatar StefArma commented on August 22, 2024

yes after last update they looks way smarter

from antistasi-1.x.

StefArma avatar StefArma commented on August 22, 2024

Not a thing anymore

from antistasi-1.x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.