Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Mods (http://forum.fulqrumpublishing.com/forumdisplay.php?f=187)
-   -   How to restrict an unit? (http://forum.fulqrumpublishing.com/showthread.php?t=184984)

mhroczny1337 05-10-2014 01:04 PM

How to restrict an unit?
 
Hello, I'm working on little modification - just to learn something and maybe start something bigger, I'm creating new unit (just scripts, not textures...), that summons another new unit; but i have a problem:
1. First unit need to be unique, I mean, it should not appear in enemy armies, or in shops other than I'll specify (it's already added to one place). I don't know how to do it.
2. Second unit should behave like summoned griffins - appear only in game, when summoned by first unit. I think that line
arenaonly=1
will do that, right?

(sorry for possible problems with my English)

ecania 07-30-2014 01:47 PM

Quote:

Originally Posted by mhroczny1337 (Post 659954)
Hello, I'm working on little modification - just to learn something and maybe start something bigger, I'm creating new unit (just scripts, not textures...), that summons another new unit; but i have a problem:
1. First unit need to be unique, I mean, it should not appear in enemy armies, or in shops other than I'll specify (it's already added to one place). I don't know how to do it.
2. Second unit should behave like summoned griffins - appear only in game, when summoned by first unit. I think that line
arenaonly=1
will do that, right?

(sorry for possible problems with my English)

You have to add unit to ignorecp.txt file, then it will be unique, and will not show in enemie units or shops.

second question is correct.

ecania

mhroczny1337 07-31-2014 08:52 PM

Thanks for the answer :)


All times are GMT. The time now is 12:40 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.