Accueil Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 1 utilisateur et 141 invités en ligne.

Languages

  • English English
  • French French

Parcourir les archives

« July 2008  
Mo Tu We Th Fr Sa Su
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Energy weapon-only mount?

Image de bearclaw
Soumis par bearclaw le Mer, 2008-04-16 16:24 SE:V MODs

I'm trying to create a mount that can only be used by energy weapons. Since there is no function to call the Delivery Type of a weapon, my thought was to add an AI tag to all energy weapons.

The problem I have with that is there doesn't appear to be a function to check for a specfic ability. Only totals or percents of an ability.

Any ideas on how to have a mount usable by only certain Delivery Types?

‹ Map Creator/Editor GUI .: Released :. Genesis - SE5 Map Editor ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.
Image de Captain Kwok
Mod Designer

Re: Energy weapon-only mount?

Soumis par Captain Kwok le Jeu, 2008-04-17 10:37

Have you tried You could also try Does_Component_Have_Ability()?

You could also try adding a value to amount1 for the AI tag and then check to see if the total for that ability is greater than zero for your requirement.


Space Empires Depot | SE:V Balance Mod

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de bearclaw
Mod Designer

Re: Energy weapon-only mount?

Soumis par bearclaw le Jeu, 2008-04-17 11:05

Hadn't thought of that. I had assumed that if the ability (AI Tag) didn't need a value that it wouldn't even check for it. I'll try that out!

I looked through the list of functions dozens of times and I still missed Does_Component_Have_Ability. huh.

Nick (bearclaw)

"You don't know the Power of the Dark Side. I must obey my Master"

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de bearclaw
Mod Designer

Re: Energy weapon-only mount?

Soumis par bearclaw le Jeu, 2008-04-17 11:31

Now that I think about it... if the Amount1 works for AI Tag, that could allow for a single AI tag being used for more than 1 purpose.

example: AI Tag 20, Amount1=1 for all Energy Beam weapons
Amount1=2 for all Energy Bolt weapons
Amount1=3 for all Projectile weapons
etc, etc.

Nick (bearclaw)

"You don't know the Power of the Dark Side. I must obey my Master"

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Energy weapon-only mount?

Soumis par Fyron le Jeu, 2008-04-17 11:41

Only for 1 per ship components; the function returns the total ability value, not the value per component.


SpaceEmpires.net | Space Empires Wiki

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de bearclaw
Mod Designer

Re: Energy weapon-only mount?

Soumis par bearclaw le Jeu, 2008-04-17 15:10

Fyron wrote:
Only for 1 per ship components; the function returns the total ability value, not the value per component.


SpaceEmpires.net | Space Empires Wiki

Ah, bummer..

Nick (bearclaw)

"You don't know the Power of the Dark Side. I must obey my Master"

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de bearclaw
Mod Designer

Re: Energy weapon-only mount?

Soumis par bearclaw le Lun, 2008-04-21 11:55

FYI:
I added the AI Tag ability to all energy weapons and the mount to check for that ability and it works perfectly!

Nick (bearclaw)

"You don't know the Power of the Dark Side. I must obey my Master"

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Contenu populaire

Aujourd'hui :

  • Research By Percentage SUCKS
  • Cloaked Warp Points
  • Capturing suicidal colony ships of Balance Mod AI empires
  • Space Empires V 1.74
  • Space Empires V

Depuis toujours :

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Dernier accès :

  • Access Violation Error
  • I wonder if...
  • Babylon 5 Space Empires V mod?
  • P&Nism Mod & Variants
  • Unit Scrapping Minister Upgrade
(c) Strategy First, Inc. All rights reserved.