.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEV Modders Knowledge Base

Reply
 
Thread Tools Display Modes
  #1  
Old December 5th, 2006, 11:23 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default ComponentEnhancement.txt Knowledge Base Thread

As work on my TC continues I find new challenges which lack examples in the few mods and single other TC out at this time. Yes these are the early days (for those reading this years from now) and most of the work I am doing seems to groundbreaking for SE5. Not that I am saying I’m the first one to think of this stuff. No, that would be very conceited and that is not me! I just appear to be the first one posting info on it. So what have I gone and done now?

If you are building a component enhancement (mount) which you only want to affect certain weapons (or non-weapon) components here is how you need to set it up:

Code:

Number Of Requirements := 1
Requirements Evaluation Availability := AND
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Describe what components this affects.
Requirement 1 Formula := Does_Component_Have_Ability("AI Tag 01")



This is obviously an edited version of what I was trying to accomplish. So let me describe my dilemma. I wanted to create a component enhancement that would only work on certain weapons. I couldn’t use the Get_Component_Weapon_Type() =”?” because I didn’t want it to affect all of the weapons of the types in question. Yes two types can be done very easily so I won’t bore you with the how… By giving the weapons I want affected the AI Tag 01 ability the mount will only work in them and poof problem solved. An example of the AI Tag 01 ability maybe:

Code:

Number Of Abilities := 1
Ability 1 Type := AI Tag 01
Ability 1 Description :=
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 0
Ability 1 Amount 2 Formula := 0



The AI Tag ability can range from 01 to 20. To the best of my knowledge no one has tested outside this range.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:17 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.