View Issue Details

IDProjectCategoryView StatusLast Update
0007462Source patchesMulti Theft Auto : San Andreaspublic2013-02-06 15:33
ReporterJusonexAssigned Toryden 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target Version1.3.2Fixed in Version1.3.2 
Summary0007462: Patch for issue 4893: Implement events and functions for the manipulation of breakable objects
Description

This patch contains several functions and events:

  • breakObject ( object theObject )
  • respawnObject ( object theObject )
  • isObjectBlown ( object theObject )
  • onClientObjectDamage (Parameter: loss)
  • onClientObjectBreak

Both events are cancelable.

TagsNo tags attached.

Activities

LooooP

2013-01-12 23:16

reporter   ~~0017949

Great, but if it isn't request too much: Could you give a look at #5537 too?

Jusonex

2013-01-13 12:32

administrator   ~~0017952

Last edited: 2013-01-13 12:34

New version: https://dl.dropbox.com/u/53602417/mta/objectBreakStuff_fixedExplodableObjects.patch

Now onClientObjectBreak will also be triggered by exploding objects. (Thanks to ryden for the notification)
(This patch fixes some laggs if colliding with an explodable object, too)

@LooooP: When do you think should those objects be respawned? To fix this issue, we need something like "toggleObjectRespawn", too. But I'll try.

ryden

2013-01-13 13:43

manager   ~~0017954

Applied in http://code.google.com/p/mtasa-blue/source/detail?r=4924.

Good job!

LooooP

2013-01-13 14:02

reporter   ~~0017956

@Jusonex: Maybe when the broken object is streamed out for everyone? Thank you :)

Dragon

2013-01-25 23:11

reporter   ~~0018017

Last edited: 2013-01-25 23:12

Amazing! Thanks for that, I really appreciate it.

If you are looking for something to work on this #0003522 might be something of interest. ( also sync of dynamic moving objects would be neat :) )

Issue History

Date Modified Username Field Change