Command & Conquer Communications Center

keeping the classics alive!

Author Topic: Nyerguds' ini files  (Read 1448 times)

Offline Myg

  • Grenadier
  • *****
  • Posts: 250
    • View Profile
Nyerguds' ini files
« on: March 13, 2012, 11:22:58 AM »
Yo Nyer, would like the submit the following for your ini file set:

[Facing]
0=N
1=NE
2=E
3=SE
4=S
5=SW
6=W
7=NW

- The index, which is stored as a byte, is the actual value contained in the unit data that determins In which direction it will leave a cell and is facing when it has arrived in the destination cell. It also seems to determine which index in the selected animation file for each weapon to use. At first I thought "FLAME-N" was a bit off because it would always point north, but taken in context of this; it makes sense. I also tested out the value 8, which seems to signify a U-Turn of sorts, but I can't confirm it right now.

The [TurretFacing] Values are similiar to this, but use the values between 0-31; so I don't know exactly how to classify each one.
« Last Edit: March 16, 2012, 10:24:34 PM by Nyerguds »

Online Nyerguds

  • C&C1 H4x0r
  • Global Moderator
  • *
  • Posts: 2702
  • Green Forum Alien
    • View Profile
    • C&C95 Project 1.06
Re: Nyergud's ini files
« Reply #1 on: March 14, 2012, 12:37:47 AM »
uhh, as far as I know, the facings simply add to the animation index. so setting an animation to "FLAME-N" for something using facings would simply take the following indexes as next facings. There doesn't seem to be any other way to explain the logics.

Remember, the names of the animations are made by ME. Internally they're simply handled as indexes, and if you look at the Minigun, the graphic is really just  "MINIGUN" for all facings.


Overall, I don't really understand your explanation. which unit data is this, then?

Offline Myg

  • Grenadier
  • *****
  • Posts: 250
    • View Profile
Re: Nyergud's ini files
« Reply #2 on: March 14, 2012, 10:36:48 AM »
Have you never looked at one of the files generated when you get an OOS in C&C95? I suggest you do and look at the "facing:" data for any of the units listed.

Offline Myg

  • Grenadier
  • *****
  • Posts: 250
    • View Profile
Re: Nyergud's ini files
« Reply #3 on: March 14, 2012, 02:43:16 PM »
Concerning the animation names, take a look at this enum I contructed from one of the exe's:

public enum Effects
    {
        FBALL1,
        VEH_HIT2,
        FRAG1,
        FRAG3,
        VEH_HIT1,
        VEH_HIT2_,
        VEH_HIT3,
        ART_EXP1,
        NAPALM1,
        NAPALM2,
        NAPALM3,
        SMOKEY,
        PIFF,
        PIFFPIFF,
        FLAME_N,
        FLAME_NE,
        FLAME_E,
        FLAME_SE,
        FLAME_S,
        FLAME_SW,
        FLAME_W,
        FLAME_NW,
        CHEM_N,
        CHEM_NE,
        CHEM_E,
        CHEM_SE,
        CHEM_S,
        CHEM_SW,
        CHEM_W,
        CHEM_NW,
        FIRE3,
        FIRE2,
        FIRE1,
        FIRE4,
        GUNSITE,
        SMOKE_M,
        BURN_S,
        BURN_M,
        BURN_L,
        BURN_S1,
        BURN_M1,
        BURN_L1,
        SAMFIRE,
        SAMFIRE7,
        SAMFIRE6,
        SAMFIRE5,
        SAMFIRE4,
        SAMFIRE3,
        SAMFIRE2,
        SAMFIRE1,
        MINIGUN,
        MINIGUN7,
        MINIGUN6,
        MINIGUN5,
        MINIGUN4,
        MINIGUN3,
        MINIGUN2,
        MINIGUN1,
        SMOKLAND,
        IONSFX,
        ATOMSFX,
        DEVIATOR,
        DOLLAR,
        EARTH,
        EMPULSE,
        INVUN,
        MINE,
        RAPID,
        STEALTH2,
        MISSLE2,
        ARMORD,
        HEALTHD,
        LITENNGD,
        MORTARD,
        RADARD,
        TIMEQK2,
        UNCLOAKD,
        RELOAD,
        ATOMDOOR,
        MOVEFLSH,
        FLMSPT,
        TRIC,
        TREX,
        STEG,
        RAPT,
        CHEMBALL,
        TELEFX
    };

Look fimiliar? Your naming system is pretty accurate I must say.

Online Nyerguds

  • C&C1 H4x0r
  • Global Moderator
  • *
  • Posts: 2702
  • Green Forum Alien
    • View Profile
    • C&C95 Project 1.06
Re: Nyergud's ini files
« Reply #4 on: March 16, 2012, 10:20:56 PM »
Constructed? How was this "constructed" then?

This is basically just the list of the SHPs linked to each animation. I'm just wondering what made you decide to put _ behind the second occurrence of VEH_HIT2, while putting numbers behind the MINIGUN, SAMFIRE and BURN_S / BURN_M / BURN_L ones.


Oh, and seeing as I generally don't play online, I've never really looked at these crash reports.


Really Myg, I just have no idea where you're going with this :|
« Last Edit: March 16, 2012, 10:24:10 PM by Nyerguds »

Offline Myg

  • Grenadier
  • *****
  • Posts: 250
    • View Profile
Re: Nyerguds' ini files
« Reply #5 on: March 17, 2012, 11:38:04 AM »
lulz,

I ain't trying to sell ya corn bro, just want you to add it to your ini files (if you want to), cause it seems your collecting a compendium of knowledge concerning the inner connectivity of the game bro and was thinking it might fill some gaps for ya :-)
« Last Edit: March 17, 2012, 12:58:09 PM by Myg »

Online Nyerguds

  • C&C1 H4x0r
  • Global Moderator
  • *
  • Posts: 2702
  • Green Forum Alien
    • View Profile
    • C&C95 Project 1.06
Re: Nyerguds' ini files
« Reply #6 on: March 19, 2012, 12:02:55 AM »
Right. But I still have no idea where this is used by the game. It doesn't use those N/NE/E/SE/etc. strings anywhere.

Offline Myg

  • Grenadier
  • *****
  • Posts: 250
    • View Profile
Re: Nyerguds' ini files
« Reply #7 on: March 19, 2012, 12:39:16 AM »
True, thats because its not part of a database of shps or other files, its a representation of an internal value used further inside the engine.

The N/NE/E is exactly what it means, it means the unit is currently facing that direction.

Online Nyerguds

  • C&C1 H4x0r
  • Global Moderator
  • *
  • Posts: 2702
  • Green Forum Alien
    • View Profile
    • C&C95 Project 1.06
Re: Nyerguds' ini files
« Reply #8 on: March 19, 2012, 12:40:16 AM »
Well my project is kinda only aimed at extracting info from the exe to then make the exe read those inis. So, again, I don't see how this would have any use in that.

Offline Myg

  • Grenadier
  • *****
  • Posts: 250
    • View Profile
Re: Nyerguds' ini files
« Reply #9 on: March 19, 2012, 12:43:57 AM »
cool, no worries  8)