Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Pages: 1 ... 17 18 [19] 20

Author Topic: CARsim  (Read 139094 times)

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #270 on: June 02, 2016, 09:17:58 am »

Hi cameni!

Code: [Select]
// cabin camera move
this.register_axis("car/weapons/turret", {minval:0, maxval:0.45, center:2, vel:2, acc:2}, function(v) {
var cond = this.get_camera_mode() == 0;
if (cond) {
this.player.moveCamPos.y = v;
this.player.moveCam = 1;
this.log_inf("action start");
}
}, 0);

// cabin camera strafe
this.register_axis("car/weapons/mantlet", {minval:-0.3, maxval:0.3, center:2, vel:2, acc:2}, function(v) {
var cond = this.get_camera_mode() == 0;
if (cond) {
this.player.moveCamPos.x = v;
this.player.moveCam = 1;
this.log_inf("action start");
}
}, 0);

Events are activated only once when the object is initialized. Most of these events are not caused, keystrokes "Up", "Down", "Left", "Right", no effect.
Logged

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #271 on: June 26, 2016, 07:03:35 pm »

Abrams really wants a gift from Сameni.
New shoes.
Then it will become a desert storm.
"Steel Rat Desert" :)

« Last Edit: June 26, 2016, 07:06:15 pm by SteelRat »
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: CARsim
« Reply #272 on: June 27, 2016, 04:23:36 am »

Events are activated only once when the object is initialized. Most of these events are not caused, keystrokes "Up", "Down", "Left", "Right", no effect.

Did you resolve this? What have you bound to the controls? (car.cfg)
Logged

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #273 on: June 27, 2016, 08:15:01 am »

Events are activated only once when the object is initialized. Most of these events are not caused, keystrokes "Up", "Down", "Left", "Right", no effect.

Did you resolve this? What have you bound to the controls? (car.cfg)

I do not come back to this issue.
Logged

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #274 on: July 01, 2016, 07:46:35 pm »

Hi cameni!

Code: [Select]
// cabin camera move
this.register_axis("car/weapons/turret", {minval:0, maxval:0.45, center:2, vel:2, acc:2}, function(v) {
var cond = this.get_camera_mode() == 0;
if (cond) {
this.player.moveCamPos.y = v;
this.player.moveCam = 1;
this.log_inf("action start");
}
}, 0);

// cabin camera strafe
this.register_axis("car/weapons/mantlet", {minval:-0.3, maxval:0.3, center:2, vel:2, acc:2}, function(v) {
var cond = this.get_camera_mode() == 0;
if (cond) {
this.player.moveCamPos.x = v;
this.player.moveCam = 1;
this.log_inf("action start");
}
}, 0);

Events are activated only once when the object is initialized. Most of these events are not caused, keystrokes "Up", "Down", "Left", "Right", no effect.

 :facepalm: :facepalm: :facepalm:
https://yadi.sk/i/iJ1k1EbKswaMN
Logged

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #275 on: September 16, 2016, 08:10:10 pm »

Logged

aWac9

  • Hero Member
  • *****
  • Posts: 2538
  • newbie
Re: CARsim
« Reply #276 on: September 17, 2016, 06:13:18 am »

great job. nice touches. We appreciate your contribution
Mr SteelRat, I have a question for you. I have seen that also models in arma3 (youtube" arma3 HDU 006 " and in one of his videos the effect of fuel gases is. Is it possible to add in the nozzles of Mig29 (outerra) this effect?
Thank you

« Last Edit: September 17, 2016, 06:22:09 am by aWac9 »
Logged

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #277 on: September 17, 2016, 09:29:08 am »

Quote
I have seen that also models in arma3 (youtube" arma3 HDU 006 " and in one of his videos the effect of fuel gases is. Is it possible to add in the nozzles of Mig29 (outerra) this effect?

I do not know how to do this effect in Outerra.
Logged

HiFlyer

  • Hero Member
  • *****
  • Posts: 1788
  • newbie
Re: CARsim
« Reply #278 on: September 17, 2016, 10:59:39 am »

Particle system?
Logged
Spex: Intel Core i7 6700K @ 4.6GHz / 32.0GB G.SKILL TridentZ Series Dual-Channel Ram / ASUS STRIX GeForce GTX 1080 / Sound Blaster Z / Oculus Rift VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 2x Samsung SSD 850 EVO 500GB / Windows 10 Pro

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #279 on: September 17, 2016, 08:41:05 pm »

Particle system?

In fact, it does not matter, you still do not have information on how to create a Particle.
Logged

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #280 on: December 18, 2016, 04:14:21 pm »

Do not correct a collision? Or so it works?

Logged

KW71

  • Outerra Developer
  • Hero Member
  • *****
  • Posts: 760
  • Love OT!
Re: CARsim
« Reply #281 on: December 18, 2016, 06:01:53 pm »

Mhh... Seems that (at least for now) only the lower point of the wheel detects the collision...
Logged
"A man who is contented with what he has done, will never become famous for what he will do".

Acetone

  • Hero Member
  • *****
  • Posts: 963
    • Youtube channel
Re: CARsim
« Reply #282 on: December 22, 2016, 05:58:15 am »

Actually, if you have debug keys and press Alt + 9, you'll have a new neat collision debug menu. Wheel collision detection is visible:




One solution to improve collisions would be additional rays to detect wheel collision. Two or more slightly angled ones would be enough to improve detection of small objects.

Logged

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #283 on: December 31, 2016, 10:44:44 am »


Logged

SteelRat

  • Sr. Member
  • ****
  • Posts: 380
  • newbie
Re: CARsim
« Reply #284 on: March 24, 2017, 04:44:26 pm »

« Last Edit: March 24, 2017, 05:18:47 pm by SteelRat »
Logged
Pages: 1 ... 17 18 [19] 20