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

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 5 users and 156 guests online.

Online users

  • GambitUK
  • Darth Ruinus
  • solanrix
  • p3 d
  • Thy Reaper

Languages

  • English English
  • French French

Browse archives

« August 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
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Energy weapon-only mount?

bearclaw's picture
Submitted by bearclaw on Wed, 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 ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Captain Kwok's picture
Mod Designer

Re: Energy weapon-only mount?

Submitted by Captain Kwok on Thu, 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

» login or register to post comments
bearclaw's picture
Mod Designer

Re: Energy weapon-only mount?

Submitted by bearclaw on Thu, 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"

» login or register to post comments
bearclaw's picture
Mod Designer

Re: Energy weapon-only mount?

Submitted by bearclaw on Thu, 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"

» login or register to post comments
Mod Designer

Re: Energy weapon-only mount?

Submitted by Fyron on Thu, 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

» login or register to post comments
bearclaw's picture
Mod Designer

Re: Energy weapon-only mount?

Submitted by bearclaw on Thu, 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"

» login or register to post comments
bearclaw's picture
Mod Designer

Re: Energy weapon-only mount?

Submitted by bearclaw on Mon, 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"

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

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

Popular content

Today's:

  • Very disappointed
  • Babylon 5 Wars SEV Mod Update
  • SE5 Interface Issues v1.74
  • Fate Shrine sabotage protection
  • Babylon 5 Space Empires V mod?

All time:

  • 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

Last viewed:

  • Space Empires V Deutsch
  • If Malfador ever fixes shields...
  • components taking more than one slot
  • ship question
  • Ship Designs
(c) Strategy First, Inc. All rights reserved.