Results 1 to 12 of 12

Thread: How to; allow officers to keep weapons on precursor units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: How to; allow officers to keep weapons on precursor units

    I solved it by simply cloning the weapon twice and renaming them as secondary weapon and fakeweapon. I hope nobody will look so closely to my models.

  2. #2

    Default Re: How to; allow officers to keep weapons on precursor units

    I solved it by renaming the primary weapon to weapon so the engine won't recognise it as a weapon and just as another part of the model

  3. #3
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: How to; allow officers to keep weapons on precursor units

    I doubt that that 'solves' it as the game somehow uses the primairy weapon to determine when a units strikes an other other unit .. at least something like that has to be in the game as when you increase the size of say a spear the units can do damage from a greater distance ...

    There is good chance your officers now no longer actually damage anything but their own pride :D

  4. #4

    Default Re: How to; allow officers to keep weapons on precursor units

    The primary/secondary weapon labels are only used by the game to decide which weapon is being shown.
    Hit and miss/damage is calculated using the stats from all the txt files, so it doesn't really matter what you name the weapon (if the model only has one weapon). The spear thing is because of collision detection, units with short spears will even back up if they bump into another unit when they aren't attacking it. Try changing the soldier model for a unit with one that doesn't have primary/secondary weapon labeled and you'll see what I mean.

  5. #5
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: How to; allow officers to keep weapons on precursor units

    So the title of the topic should be changed to "how to do it a little bit harder: ... " :D

    Well, it was a nice find for as long as it lasted :) (havent tested what you said, but assume you are correct)

  6. #6
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: How to; allow officers to keep weapons on precursor units

    Quote Originally Posted by Monkwarrior View Post
    I solved it by simply cloning the weapon twice and renaming them as secondary weapon and fakeweapon. I hope nobody will look so closely to my models.
    Actually, just clone the weapon, call one "primary weapon" and the other "secondary weapon". All this does is make the file slightly larger by a few bytes. In-game the model will only show either primary or secondary weapon. Of course, you also have the option of not labelling the weapon either primary or secondary weapon. The downside to this is the weapon stays with the model even when the soldier/officer dies.

  7. #7
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: How to; allow officers to keep weapons on precursor units

    Quote Originally Posted by wlesmana View Post
    Actually, just clone the weapon, call one "primary weapon" and the other "secondary weapon". All this does is make the file slightly larger by a few bytes. In-game the model will only show either primary or secondary weapon. Of course, you also have the option of not labelling the weapon either primary or secondary weapon. The downside to this is the weapon stays with the model even when the soldier/officer dies.
    Iirc, that doesnt work. The game removes the primairy weapon from officers when pilum trowing units run out of ammo, but doesnt swap it to a secondairy weapon .... iirc .. (I remember I tried that and it didnt work, but it has been some time that I messed around with this ...)

  8. #8
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: How to; allow officers to keep weapons on precursor units

    I've never tested it on pilum units so I can't say. I tested it on bow units and the officers keep their weapons (more like, they swapped one for another but they look the same). I personally never bothered with it and labeled officer's weapons as "weapon" so they are never swapped.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO