Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

object id

Featured Replies

i can't find the object id for the pollice do not cross sign, can someone help me and how do you make a region were no Vehicle can spawn.

polcie cros.jpg

Edited by epicmrjuan

Thank you

  • Replies 28
  • Views 2.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • ToastinYou
    ToastinYou

    prop_ld_barrier_01 It may be that^ You can look on https://gist.github.com/leonardosnt/53faac01a38fc94505e9 and just click CTRL+F to search for "barrier".

  • No such thing in Rage as far as i know, you'll have to resort to natives

  • This does not affect peds no. NativeFunction.Natives.CLEAR_AREA_OF_VEHICLES(pos.X, pos.Y, pos.Z, 10000, false, false, false, false, false);

Posted Images

  • Author
1 hour ago, khorio said:

World.AddSpeedZone()

World.RemoveSpeedZone()

Does that make sure that no Vehicle  can spawn in that area if so what do you need to type behind: World.AddSpeedZone() -1 or 0

Thank you

3 minutes ago, epicmrjuan said:

Does that make sure that no Vehicle  can spawn in that area if so what do you need to type behind: World.AddSpeedZone() -1 or 0

public static uint AddSpeedZone(Rage.Vector3 position, float radius, float maxSpeed)
    Member of Rage.World

Summary:
Adds a new speed zone limiting the maximum driving speed of AI-driven vehicles in an area.

Parameters:
position: The position to add the speed zone at.
radius: The radius of the speed zone.
maxSpeed: The maximum speed allowed by the speed zone.

Returns:
An unsigned int representing the handle of the created speed zone.

use view>object browser

private uint SpeedZone;

SpeedZone = World.AddSpeedZone(Game.LocalPlayer.Character.Position, 15f, 0f);
World.RemoveSpeedZone(SpeedZone);

 

Edited by khorio

  • Author
1 minute ago, khorio said:

public static uint AddSpeedZone(Rage.Vector3 position, float radius, float maxSpeed)
    Member of Rage.World

Summary:
Adds a new speed zone limiting the maximum driving speed of AI-driven vehicles in an area.

Parameters:
position: The position to add the speed zone at.
radius: The radius of the speed zone.
maxSpeed: The maximum speed allowed by the speed zone.

Returns:
An unsigned int representing the handle of the created speed zone.

use view>object browser

i know but to what have you set speed to if you don't want to  Vehicle    spawning?

Thank you

2 minutes ago, epicmrjuan said:

i know but to what have you set speed to if you don't want to  Vehicle    spawning?

This does not stop vehicles from spawning, it makes their speed 0f (0meters/s) = stopped

Edited by khorio

  • Author
3 minutes ago, khorio said:

This does not stop vehicles from spawning, it makes their speed 0f (0meters/s) = stopped

What do you need to do if you don't want vehicle spawning in a certain area

Thank you

  • Author
11 hours ago, khorio said:

No such thing in Rage as far as i know, you'll have to resort to natives

And how do i do that?

And does this effects peds

World.AddSpeedZone()

World.RemoveSpeedZone()

Edited by epicmrjuan

Thank you

2 hours ago, epicmrjuan said:

And how do i do that?

And does this effects peds

World.AddSpeedZone()

World.RemoveSpeedZone()

This does not affect peds no.

NativeFunction.Natives.CLEAR_AREA_OF_VEHICLES(pos.X, pos.Y, pos.Z, 10000, false, false, false, false, false);

  • Author
16 hours ago, khorio said:

This does not affect peds no.

NativeFunction.Natives.CLEAR_AREA_OF_VEHICLES(pos.X, pos.Y, pos.Z, 10000, false, false, false, false, false);

Is it possible to loop that?

Thank you

  • Author
3 hours ago, LtFlash said:

This native looks tasty: http://www.dev-c.com/nativedb/func/info/c12321827687fe4d I'd play with it myself but got no time. One of the last 2 bools prolly set the generators ON/OFF

 NativeFunction.Natives.SET_ALL_VEHICLE_GENERATORS_ACTIVE_IN_AREA(649.95f, 565.22f,
  129.45f,(What do you have to fill in here x2,y2,z2?) float x2, float y2, float z2, false, false)

 

Thank you

  • Author

I have 1 other problem if i give peds task.aimweapon at not all peds doing that animation, see the image

and for the thing above this should work? NativeFunction.Natives.SET_ALL_VEHICLE_GENERATORS_ACTIVE_IN_AREA(474.19f,  565.63f, 185.40f, 986.80f, 617.79f, 100.00f, false, false);

 

@LtFlash

 

20160611183757_1.jpg

Edited by epicmrjuan

Thank you

Join the conversation

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

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.