Adding level system to standard unit

Hello again,

i've seen recently a special property that seems to allow or not common ship to get level (hasLevels bool) and weapon damage increase considering his level.

When i set it on True, it seems a reference is not present (quite logic, where can i found / create the table /and how these tables?) and when the ship is created, it explode. I've search and found in the gameconstant the capitashipdata that seems to set the data for this type of entity.

Is anyone can help me and give me a little exemple to add this to a standard frigate?

I search also a database that contains all properties etc but just found a little post in the top of the modding forum? Is there any larger and more complete one?

Thanks a lot for your help and explanation.

2,659 views 9 replies
Reply #1 Top

Frigates cannot level up per say. The purpose of the hasLevels, hasBombingLevels and hasWeaponLevels on the Frigate Entity type is to allow Capital Ships to spawn frigates with up to three levels of stats. I'm personally not aware of anyway to utilize these settings outside of spawning a frigate from a capital ship ability.

For reference see:
FrigateCombatTurret.entity
FrigateSiegeTurret.entity
AbilityDeployCombatTurret.entity
AbilityDeploySiegeTurret.entity

Reply #2 Top

Someone one once tried to make frigates level up (Teal_Blue I believe), it was an epic failure :'(

Reply #3 Top

make another capital ship with frigate mesh and hitpoints, so some ships could maybe level (up to 9 caps IIRC)

Reply #4 Top

make another capital ship with frigate mesh and hitpoints, so some ships could maybe level (up to 9 caps IIRC)
End of quote

A good idea! But wont this use the capital ship factory to build it. Also wont this use up capital ship fleet slots, reducing the the amount of existing capitals that can be built?

Reply #5 Top

Quoting SuperZERO0, reply 4

make another capital ship with frigate mesh and hitpoints, so some ships could maybe level (up to 9 caps IIRC)
A good idea! But wont this use the capital ship factory to build it. Also wont this use up capital ship fleet slots, reducing the the amount of existing capitals that can be built?
End of SuperZERO0's quote

yes on the capital ship factory and no on the fleet slots as that is modifiable

Reply #6 Top

Yes I thought of that but it would only be a couple ships from Cap Ship Factory. Maybe some level up cruisers not frigates.

It was 9 max capital ships was it not?

Reply #7 Top

yes

Reply #8 Top

no on the fleet slots as that is modifiable
End of quote

How so, if I may ask? I know you can bump up the amount of capitals you can obtain each research level you go up. But that will still use slots that could be used for capital ships. I can't work it out. Is there a way to not use capital ship slots?

Yes I thought of that but it would only be a couple ships from Cap Ship Factory. Maybe some level up cruisers not frigates.

It was 9 max capital ships was it not?
End of quote

Yes, that's right. But that was not the issue that I am concerned about. I was wondering what would happen in the game if you have spent all you capital ship slots on frigates, and then you front up to an enemy who has all his spent on capitals.

Reply #9 Top

Good piont  X(