Posted: Mon Jan 31, 2022 9:47 pm Post subject:
PrimaryFireFLH doesn't move firing postion center - Why?
Was making some experiments about adding turret to building. As i understood observing code of similar solutions, there are only few lines of code needed to be added to building:
Rules:
Primary=Sentry
Turret=yes
TurretAnim=NASNTYTUR
TurretAnimIsVoxel=false ;true
TurretAnimX=-30
TurretAnimY=-20
TurretAnimZAdjust=-200
HasRadialIndicator=yes
Art:
Recoilless=yes
PBarrelLength=200
PBarrelThickness=48
CanHideThings=True
CanBeHidden=False
PrimaryFireFLH=180,250,180
Thanks for this hint, never saw this command used, but it shifted the position!(though ModEnc is wrong in description = first number shifts left-right, second up-down).
But now new bug emerged that i couldn't notice before, while being bothered with turret problems = i was trying to add turret to vehicle factory, and after first vehicle is built, turret stops reacting to commands or enemies, moreover gates stay open and no new vehicles come out - freezes in this state forever. If mentioned above turret code in rules.ini is deleted, works again fine = seems like turret code has some problems with production buildings... May it happen you have some hint here too? QUICK_EDIT
Thanks for this hint, never saw this command used, but it shifted the position!(though ModEnc is wrong in description = first number shifts left-right, second up-down).
But now new bug emerged that i couldn't notice before, while being bothered with turret problems = i was trying to add turret to vehicle factory, and after first vehicle is built, turret stops reacting to commands or enemies, moreover gates stay open and no new vehicles come out - freezes in this state forever. If mentioned above turret code in rules.ini is deleted, works again fine = seems like turret code has some problems with production buildings... May it happen you have some hint here too?
Don't give vehicle factories weapon, vehicles would get stuck in it when it fires, as you have already known. That's all. QUICK_EDIT
Don't give vehicle factories weapon, vehicles would get stuck in it when it fires, as you have already known. That's all.
That's very sad news, i was inspired by this building conversion pack..
https://ppmforums.com/post-609346/#609346
And now i wonder why/how did author made WF and ConYard to have turrets?! QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum