1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Star Sign modmod

Discussion in 'C2C mod mods' started by strategyonly, Apr 21, 2013.

  1. strategyonly

    strategyonly C2C Supreme Commander

    Joined:
    Mar 13, 2006
    Messages:
    20,465
    Gender:
    Male
    Location:
    MN

    OK i just tried this and it does NOT work at all the way it is supposed to yet, it does NOT settle down when you click on "fortify." It just fortifies, and nothing else????

    Look and try out the original first and see what i mean, thx.
     
  2. platyping

    platyping Sleeping Dragon

    Joined:
    Oct 22, 2010
    Messages:
    4,626
    Location:
    Emerald Dreams
    Didn't bother to test the modified file because I don't use BUG.
    BUG screws up in game python testing for me...

    Anyway testing the original, first of all, there isnt a fortify mission in the first place.
    Making it sleep will just change its animation thats all.
    So what is different from the modified one?
     
  3. strategyonly

    strategyonly C2C Supreme Commander

    Joined:
    Mar 13, 2006
    Messages:
    20,465
    Gender:
    Male
    Location:
    MN

    My bad,
    i meant "sleep" The modified one does not do this, it just sits there, and not in the "camp" mode.

    I was also just wondering IF it could be made to NOT be located on an island/continent by itself, because this unit "Camp" needs to be WITH another civ located on the same continent with another civ, otherwise it wont work correctly? It needs to INVADE that civ and take over its normal "palace." WithOUT razing it, of course:confused:
     
  4. platyping

    platyping Sleeping Dragon

    Joined:
    Oct 22, 2010
    Messages:
    4,626
    Location:
    Emerald Dreams
    Nothing has changed regarding the sleep code.
    Thus whatever went wrong will be all in the other files.
     
  5. strategyonly

    strategyonly C2C Supreme Commander

    Joined:
    Mar 13, 2006
    Messages:
    20,465
    Gender:
    Male
    Location:
    MN
    But how can it, its exactly the same really. Just in module form.

    I cant figure any of this out, the Star Signs, i have no idea what to do, the Camp, doesnt work, HELP!!:help:

    btw DH when are you getting back??
     
  6. strategyonly

    strategyonly C2C Supreme Commander

    Joined:
    Mar 13, 2006
    Messages:
    20,465
    Gender:
    Male
    Location:
    MN
    @ DH

    are you around, i cant make heads or tails out of what PT wrote, can you please HELP thx.
     
  7. Dancing Hoskuld

    Dancing Hoskuld Deity

    Joined:
    Jul 5, 2004
    Messages:
    23,323
    Gender:
    Male
    Location:
    Canberra, Australia
    I am back, I fell down the stairs exiting the plane so am a bit sore, but I am back. I am not sure about all this "camp" mod stuff is, but as far as I know I got the Star Sign mod working for you OK. Is the current one in the first post?

    As far as I have tested onUnitCreated does not happen onUnitBuilt but does on some of the other instances mentioned. I'll recheck. If you only want the Star Sign to occur on newly built units and units created via buildings (eg crusaders) then we will need to change the code a bit.

    So what sort of units don't get Star Signs (workers, ships, treasures)?

    When don't units get star signs
    - created by building (crusaders, tamed/subdued animals...)
    - captured units (including war prizes, captives, missionaries)
    - hero generated units eg Sparticus/gladiators
     
  8. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,253
    Gender:
    Male
    Location:
    Las Vegas
  9. blovdubb

    blovdubb Chieftain

    Joined:
    Feb 4, 2006
    Messages:
    71
    Location:
    Charlotte,NC
    link is dead i could use this anyone have the component by itself?
     
  10. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,253
    Gender:
    Male
    Location:
    Las Vegas
    It's already in C2C as a core non-optional feature now.
     
  11. blovdubb

    blovdubb Chieftain

    Joined:
    Feb 4, 2006
    Messages:
    71
    Location:
    Charlotte,NC
    yeah i tried to take it from there, I put the starsigns file in python, and the art and xml in a module, didnt work, tried adding it directly to my mod also did not work, I dont really know what im doing so probably missed something, my python skills are limited to trying to copy paste stuff in the right places, so it helps if i dont have to try and find all the seperate components.
     
  12. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,253
    Gender:
    Male
    Location:
    Las Vegas
    Ah... we have not designed C2C with the ideal of making all elements capable of being easily ported to another mod, quite the opposite. It's not to protect Intellectual property or anything, just something we have optimized our efforts and thus made greater progress by not going out of the way to provide that. Particularly since much of the platforms we're built on require special programming considerations, like BUG, for example. You can try to take anything and we'd support you in doing it, but it may require some serious depth of programming insight to do it.
     
  13. MattCA

    MattCA Warlord

    Joined:
    Jan 25, 2019
    Messages:
    151
    Gender:
    Male
    ya, toffer does this with PPIO. Star signs is integrated more with PPIO. Regular C2C starsigns u can copy paste the file, then you would just need to do the config folder stuff. But that config stuff comes from BUG I think. Are you gonna have the BUG mod?
     
  14. blovdubb

    blovdubb Chieftain

    Joined:
    Feb 4, 2006
    Messages:
    71
    Location:
    Charlotte,NC
    I just thought that it was in FFH first obviously, so somebody took it from there, and the post here had a download so maybe I could just get it by itself.
     
  15. MattCA

    MattCA Warlord

    Joined:
    Jan 25, 2019
    Messages:
    151
    Gender:
    Male
    Ya, probably.
    I thought about it for another minute last night and I changed my mind. Copy/paste PPIO is easier. So if u want and if toffer don't mind, you can try this.
    overwrite the 1 in your bts python fold with this and copy PPIO's starsign file. Might work, havn't tested at all.
    Here's toffers comment: # Enabled in PythonCallbackDefines.xml (USE_ON_UNIT_CREATED_CALLBACK = True)
    if it doesn't work and u don't get error, u might wanna check for that file.
    also remove that .txt I added.
     

    Attached Files:

  16. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,253
    Gender:
    Male
    Location:
    Las Vegas
    It's not a copy from another mod. SO and DH worked it out together along with some tags programmed into the DLL in use on some of the promos. That programming was largely a merge but there were lots of bugs in that merge at first.
     
  17. Dancing Hoskuld

    Dancing Hoskuld Deity

    Joined:
    Jul 5, 2004
    Messages:
    23,323
    Gender:
    Male
    Location:
    Canberra, Australia
    We already use the BUG mod. I think I have even moved it to BUG 4.4; since we started with the Revolutions mod (we had no dll programmers and many modders) which used an earlier version.
    I think the idea came from elsewhere but was merged by SO & me. One problem is that it is totally European. It uses the idea from "7th son of 7th son" as its chance of happening and is based on the European Zodiac. Other cultures have differing sets of star signs and their "effects". Another is that it would be nice to have a cut-off point for the promotions where they go obsolete. Naturally this would be later for seafaring units than for land or air based units.
     
  18. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    26,253
    Gender:
    Male
    Location:
    Las Vegas
    You speak as if it's a purely cultural thing and has no innate truth to it and that the effects of these promos are based not on some mystical forces but on the belief in them alone and the behavioral differences that creates in those who believe they act under these auspices... I tend to think the cultural spin that was placed on it is simply the degree of our inaccuracy of understanding the reasons for the reality in these forces. Eventually, science will catch up and figure out how these cyclic essences to have some bearing. ;)

    The Chinese have focused on annual essences while the Greeks were recapturing Sumerian knowledge about the monthly essences.
     
  19. tmv

    tmv Emperor

    Joined:
    Nov 24, 2015
    Messages:
    1,223
    Gender:
    Male
    Location:
    Germany
    raxo2222 likes this.
  20. raxo2222

    raxo2222 Time Traveller

    Joined:
    Jun 10, 2011
    Messages:
    6,254
    Location:
    Poland
    No its us - hyperspace beings from future messing with Earth in distant past according to C2C verse :p

    Jokes aside I agree that this stuff has absolutely no basis in science.

    There are buildings and techs in Transcendent era, that allows to influence stuff in ordinary spacetime from hyperspace.
    With those reality is whatever you want :D
     
    Last edited: Jun 2, 2019
    tmv and KaTiON_PT like this.

Share This Page