View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002664 | Spring engine | Unit Scripting | public | 2011-09-21 17:44 | 2011-10-09 18:46 | ||||
Reporter | user744 | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.82.7.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002664: Explode (piece) emits from wrong position | ||||||||
Description | Sometimes when you explode a piece the debris does not appear at the correct position. For examples compare this two units: http://www.abload.de/img/a_lot_of_debrislfmp.jpg The blue cube dude to the left has its head float into the air while it constantly explodes. The crane spins and has the container in the claw constantly explode. Its red boom/hut thingy also explodes. The dude's head explodes correctly. The containers explosion emits somewhere else. Here is a gif: http://h4.abload.de/img/5mb_exploding_piece_bulqvu.gif (5 MB sorry but otherwise it is hard to see what is going on) emit points for the exploding container spins wrong direction red crane piece from crane explodes at left side while actual piece is at right side. | ||||||||
Additional Information | the script for the crane is like this: function script.Create() Spin (boom, y_axis, math.rad (90)) Move (gantry, z_axis, 0) Move (gantry, x_axis, 200,15) Turn (rope1,z_axis, math.rad (50)) local a = 50 Move (rope2,y_axis, a,100) Move (rope3,y_axis, a,50) Move (rope4,y_axis, a,50) local i = 0 while (true) do i=i+1 Sleep (100) Explode (cc_blue, SFX.SHATTER) --the blue container if (i%10==0) then Explode (boom, SFX.SHATTER) end--the red boom end end script for the cube dude: function script.Create() Move (head, y_axis,500,10) while (true) do Sleep (10) Explode (head, SFX.SHATTER) end end | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
2011-10-03 17:21 |
oh noez it is happening again: http://www.abload.de/img/strange_explode_part2xfz4.gif The hay bale's origin is in the object, notice how it spins around itself. But Explode makes it fly up somewhere else. What is going on here? Attaching the .s3o file..just add any texture so it does not crash on load. script: http://pastebin.com/gZ3XhBFv screenshot from Upspring: http://h4.abload.de/img/upspring_cow8plg.png |
hoijui (reporter) 2011-10-03 22:09 |
related forum thread: http://springrts.com/phpbb/viewtopic.php?p=501888 |
2011-10-08 15:17 |
fixed by jK http://springrts.com/phpbb/viewtopic.php?f=14&t=26891&start=14 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-09-21 17:44 |
|
New Issue | |
2011-10-03 17:21 |
|
Note Added: 0007456 | |
2011-10-03 22:09 | hoijui | Note Added: 0007457 | |
2011-10-08 15:17 |
|
Note Added: 0007461 | |
2011-10-09 18:46 | jK | Status | new => resolved |
2011-10-09 18:46 | jK | Resolution | open => fixed |
2011-10-09 18:46 | jK | Assigned To | => jK |