Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > King's Bounty > King's Bounty: Crossworlds > Mods

Mods King's Bounty: Crossworlds Mods

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2014, 01:04 PM
mhroczny1337 mhroczny1337 is offline
Approved Member
 
Join Date: Jul 2011
Posts: 4
Question 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)
Reply With Quote
  #2  
Old 07-30-2014, 01:47 PM
ecania ecania is offline
Approved Member
 
Join Date: Mar 2012
Posts: 127
Default

Quote:
Originally Posted by mhroczny1337 View Post
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
Reply With Quote
  #3  
Old 07-31-2014, 08:52 PM
mhroczny1337 mhroczny1337 is offline
Approved Member
 
Join Date: Jul 2011
Posts: 4
Default

Thanks for the answer
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:24 AM.


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