Posted: Wed Apr 06, 2016 8:59 am Post subject:
Problem with Mirage Tank
My mod use the Mirage Tank voxel creater by Stinger and with help of Mig Eater's FLH Finder i mange to find the tank firing position. But when i test is in-game is still fire the same way as old voxel so i want to ask what is the problem here? I also make the tank using the disguise logic by DeeZire. Here is the art code:
Do you use RTNK in rules.ini as well? Not that your actually tested unit ingame is using a different art
Check your art.ini if you added 2 RTNK sections. remove the duplicate
You sure 0,0,45 is correct? In the center of the voxel, only 45 leptons high, doesn't looks right to me.
Are you sure you fire the Secondary weapon, whose FLH seems more likely? _________________ SHP Artist of Twisted Insurrection: Nod buildings
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Wed Apr 06, 2016 10:32 am Post subject:
The default RA2 rules has
[RTNK]
Image=MGTK in the rules.ini IIRC. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Do you use RTNK in rules.ini as well? Not that your actually tested unit ingame is using a different art
Check your art.ini if you added 2 RTNK sections. remove the duplicate
You sure 0,0,45 is correct? In the center of the voxel, only 45 leptons high, doesn't looks right to me.
Are you sure you fire the Secondary weapon, whose FLH seems more likely?
E1 Elite wrote:
It is [MGTK] with Image=RTNK.
Try something like 200,0,70 for primary. You may not need secondary.
1. The secondary one is for the main gun while the primary is for is disguise one
2. I use the RTNK in the art and there are no duplicate QUICK_EDIT
Not sure if you changed this, but default is
Primary=MirageGun
DisguiseWhenStill=yes;gs I can no longer pick a disguise nor deploy
Disguise is a special logic and not a weapon.
Not sure if you changed this, but default is
Primary=MirageGun
DisguiseWhenStill=yes;gs I can no longer pick a disguise nor deploy
Disguise is a special function and not a weapon.
I use the DeeZire tutorial to give Mirage Tank ability to choose the object to disguise in a similar manner as spies and also allows the tank get a better weapon when at elite status. QUICK_EDIT
Can you show a screenshot of the wrong FLH ingame?
Is it using SecondaryFireFLH and the FLH just a bit wrong, or is it not using the FLH at all?
Please give more infos yourself and don't have us worm every information out of you. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Where did you get the terrain from? _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
attached an example how the FLH finder works when set on the unit center
Next time also be more precise in your questions
-Your FLH worked all along
-Your unit did not use the original value regardless what you set ("But when i test is in-game is still fire the same way as old voxel")
-all this trouble could have been reduced to 1 minute testing by yourself, if you simply took the time to set the FLH to a different value and compared the results. You would have noticed that the FLH is used and that you just set the value wrong.
So your actual question should have been,
"I found some FLH values, but for some reason the FLH finder isn't correct. How do i use FLH finder to find the correct values? See the attached screenshot"
Would have reduced all this trouble shooting by 8 people over the course of several hours to one simple answer
FLH_finder_on_center.png
Description:
-left, FLH finder on unit center (roughly sketched with GIMP)
Actually, there's another way to use the FLHFinder. Though you'd need a custom map for it.
Go to 'Trigger Editor' with your test map opened (SP-Mission is recommended and 'Beginner Mode' has to be OFF)
Hit 'New Trigger'
Go to 'Events'
Hit 'New Event'
Set 'Event Type' to 8 ('Any Event')
Go to 'Actions'
Hit 'New Action'
Set 'Action Type' to 41 ('Play Anim At...')
Select 'Animation' from 'Action Parameters'
Set it to XX (XX=FLHFind)
Select 'Value (waypoint or number)'
Set it to a waypoint already on the map
Place unit or structure on that same cell, save, run the game.
Each digit on the grid means n * 100 leptons. If Offsets are set, add/subtract the Offset.
_________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
Last edited by TAK02 on Sat Apr 09, 2016 8:13 am; edited 1 time in total QUICK_EDIT
hmm, might not work well with turreted units using turretoffset, since anim is cell center, while FLH starts from the offset-ed turret.
I would set FLH=0,0,0 and then simply use the FLH finder as muzzle flash firing anim.
rules.ini
[Weapon]
Anim=FLHFINDER
That tutorial needs Ares. I just posted the non-Ares tutorial incase you don't want to, or know how to use it. _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
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