Posted: Mon Mar 08, 2010 5:45 am Post subject:
.shp question
If I take and make a Heli into .shp instead of a voxel can it still have the turning rotors in flight? _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
OK I have the rotors working as a shp, I even have them spinning while landed "idle animation" But now the problem is it wont use the 8 facings. I made all 8 walking facings and 8 firing facings with 9 frames each. When it comes out of the warfac it has facing 1, and if I goto fly it somewhere it flys using facing 1 only, it wont turn It looks kinda funny flying backwards But anyway I have it set up like the Dolphin in art.ini The Dolphin dosent use a sequence, just walking frames and firing frames. But the Dolphin turns and mine dont Do I maybe have to make a sprite sheet like the voxels use?
[HUEY]
Voxel=no
Remappable=yes
Cameo=hueyicon
WalkingFrames=9 <----- 9 frames with 8 different facings
FiringFrames=9 <----- 9 frames with 8 different facings _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
where are the keys
Facings=8
StartWalkFrame=
StartFiringFrame=
?
In addition is it WalkFrames= and not WalkingFrames!
And remapable is written with one p! _________________ SHP Artist of Twisted Insurrection: Nod buildings
Niether of these use those other tags LKO and Facings= isnt even located on anything or even in the Art.ini _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
I have tried to do some thing like this in the past and found it had to many problems. I have posted my code and SHP for reference as a possible helping guide line. Though I do not remember how well it worked... I think it had big problems with the weapon.
**Note** the code is pretty messy... I tried many things and gave up before I had a chance to clean up the code.
Thanks for posting that up MadHQ, but I think I got er done already The rotors actually spin alot better ingame, but this crappy gif I put together with screen shots sucks. But you get the picture. These are landed with the Idle Animation.
[Edit] Crap I forgot to credit LKO for this, even though nothing else in the game uses Facings= I put it on anyway and, Whamo, it worked. Thanks a whole bunch LKO
FacingsIngame.gif
Description:
Filesize:
147.86 KB
Viewed:
1982 Time(s)
_________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
I'm not that familiar with RA2/YR, but IIRC are DLPH,SQD and DRON hardcoded with some special behavior or have special rules.ini keys which makes it clear for them when the frames start and how many facings they have.
Facings is used in TS on nearly every SHP unit and default value is AFAIK 1, thus your unit wasn't working correct. _________________ SHP Artist of Twisted Insurrection: Nod buildings
yea, the DLPH,SQD and DRON must be hardcoded as I didnt find anything in Rules or Art that specifically tells them how to move. _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
The back rotor dosent spin on this one here, I was just doing a test run to make sure I could get it to work. But yes both rotors can and will spin. _________________
The enemy shall be injected with toxic poison - Venom 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