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 0 users and 171 guests online.

Languages

  • English English
  • French French

Browse archives

« December 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

Disallowing a specific component from being used in a Mount.

Submitted by Lector Rae on Mon, 2007-10-01 17:58. SE:V MODs

Alright, I've got a hangup here.

I designed a mount that works on all components BUT the weapon types. I disallowed Direct Fire, Seeking, Point Defense, no problem. However, I can't seem to disallow Boarding Parties. Here's what I tried:

Get_Component_Weapon_Type() <> "Boarding Attack" didn't work.
Get_Component_Weapon_Type() <> "Boarding Parties" didn't work.
Sys_Get_Component_With_Name() <> "Boarding Parties" wasn't appreciated by SEV, and I was unceremoniously dumped back to the main screen.

Any ideas?

‹ How do you determine 'balance'? Quick question about the AI ›
» 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.
Mod Designer

Re: Disallowing a specific component from being used in a Mount.

Submitted by Fyron on Mon, 2007-10-01 20:22.

Sys functions are for the AI and event scripts, not for data files. All of the functions available in the data files are in Docs\SE5_Modding.pdf. The Docs\SE5_Script.pdf file lists functions available to AI and event scripts.

The function "Does_Component_Have_Ability()" might be of use.


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments

Re: Disallowing a specific component from being used in a Mount.

Submitted by Lector Rae on Mon, 2007-10-01 21:28.

I'll give that a shot tomorrow, thanks. I went over the script.pdf, but wasn't able to nail down something to use.

How would I code that line, same as with the weapons? Does_Component_Have_Ability() <> "Boarding Attack"?

» login or register to post comments

Re: Disallowing a specific component from being used in a Mount.

Submitted by Lector Rae on Tue, 2007-10-02 05:28.

Alright, that didn't work. Here's what I tried:

Does_Component_Have_Ability("Boarding Attack") = FALSE
Does_Component_Have_Ability("Boarding Attack") <> TRUE
Does_Component_Have_Ability("Boarding Parties") <> TRUE

Any other ideas?

» login or register to post comments
Mod Designer

Re: Disallowing a specific component from being used in a Mount.

Submitted by Fyron on Tue, 2007-10-02 12:12.

Without the full context of the requirements you used, it is difficult to give any further suggestions...


SpaceEmpires.net | Space Empires Wiki

» 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:

  • Research By Percentage SUCKS
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • What does Environmental Resistance do?
  • OK Ship Mod
  • Space Empires V

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:

  • Need help with design creation file
  • alagence converters (or whatever they are called)
  • New Engine System
  • Asteroid Slow Down
  • Meeting new empires with a rebel ship
(c) Strategy First, Inc. All rights reserved.