Jump to content


Photo

Is possible....?


  • Please log in to reply
10 replies to this topic

#1 Sindarin

Sindarin

    title available

  • Project Team
  • 281 posts
  • Projects:Tol Eressëa MOD - WOTE
  •  Skinner - Coder - Mapper - Modeler

Posted 31 October 2008 - 04:27 PM

Is possible make a hero buildable only if the faction have take an Upgrade?

Any kind of upgrade...

Tnx in advance!


Posted Image


#2 Sindarin

Sindarin

    title available

  • Project Team
  • 281 posts
  • Projects:Tol Eressëa MOD - WOTE
  •  Skinner - Coder - Mapper - Modeler

Posted 02 November 2008 - 04:19 PM

isn't possible?


Posted Image


#3 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 02 November 2008 - 04:22 PM

I dont know... I have never tried this kind of thing before...
Ridder Geel

#4 TheWickedOne

TheWickedOne

    The Unforgivable One

  • Project Team
  • 422 posts
  • Location:U.S.A
  • Projects:View "About Me" Page
  •  Game Coder

Posted 02 November 2008 - 07:02 PM

It is possible, i have seen it done in other mods, one of them is The wars of Arda.

#5 Kyross

Kyross
  • Hosted
  • 190 posts
  • Location:Kanadah
  • Projects:WotE

Posted 19 November 2008 - 04:50 PM

It's possible, in commandbuttons.ini add in a line for a rperequisite. You can see for example researches will have a line saying it reqires forge lvl 2 research, just put in something like that for whatever you wanted to unlock them.
Posted Image <-- Actually more like coder/mapper/modeller, but there's no bar for that.

#6 Puppeteer

Puppeteer

    title available

  • Global Moderators
  • 2,947 posts
  • Location:United Kingdom
  •  Faute de Mieux
  • Division:Community
  • Job:Magazine Staff/Global Moderator

Posted 19 November 2008 - 05:56 PM

Eg. The One Ring for Sauron... look there.

#7 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 21 November 2008 - 11:46 AM

Eg. The One Ring for Sauron... look there.


CommandButton Command_RingHeroReviveSlot
	Command				= REVIVE
	Options				= HIDE_WHILE_DISABLED CANCELABLE NEED_UPGRADE	;Hides button while disabled.
	NeededUpgrade		= Upgrade_RingHero Upgrade_FortressRingHero
	TextLabel			= CONTROLBAR:GenericReviveHero
;ButtonImage		= ***Filled in automatically! No need to specify a button image. 
	ButtonBorderType	= BUILD 
	DescriptLabel		= CONTROLBAR:ToolTipGenericReviveHero
	InPalantir			= No
	Radial				= Yes
End

I think the Ring hero button is hardcoded though (as in how it 'fills' it up) :blink:
Ridder Geel

#8 Puppeteer

Puppeteer

    title available

  • Global Moderators
  • 2,947 posts
  • Location:United Kingdom
  •  Faute de Mieux
  • Division:Community
  • Job:Magazine Staff/Global Moderator

Posted 24 November 2008 - 09:08 PM

NeededUpgrade = Upgrade_RingHero Upgrade_FortressRingHero

That seem it to you?

#9 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,436 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 24 November 2008 - 09:13 PM

Doesn't help if it's a "real" hero we want here... The Ringheroes are hardcoded, so you can't use that code for them, unless your planning on having them start at level 10 :p

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#10 Annullus The Grey

Annullus The Grey

    Historian... Master of Ages

  • Hosted
  • 269 posts
  • Projects:Twilight of the Republic

Posted 24 November 2008 - 10:03 PM

actually ring heros have a grant upgrade module in thier code forcing them tobe level ten on spawn remove it and they should level up normally may require an experiencelevels.ini entry however
If your reading this i probably am drunk in a ditch somewhere near you

the magical drunken teleporter

SELF PROCLAIMED FORUM DRUNK!!

#11 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 24 November 2008 - 11:11 PM

Yes indeed, i think it could be possible for a Ring Hero to level up, just give him his exp lvls and away he goes :thumbsupsmiley:
Ridder Geel




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users