.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
  #211  
Old October 18th, 2006, 04:58 PM
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 Re: Plague extension

I’m a little confused here, I see this descriptor however how does SE5 know to only place one per ship?

Ability 3 Type := Description Only
Ability 3 Description := Only 1 Survey Instruments per vehicle effective.
Ability 3 Scope := Space Object
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula:= 0
Ability 3 Amount 2 Formula:= 0

Is there another entry that controls this, there must be but what is it? What is the limit for how many I can place; as in SE4 where I could place up to 10 per?
__________________
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
  #212  
Old October 18th, 2006, 05:00 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Plague extension

That is not any sort of restriction, it is just a tag to inform the player that the other abilities of the component do not stack. The AI is generally set up to only add one such component per ship, since extras are redundant.

Adding a max per ship can be done via the vehicle hulls, as in that LCX thread, or you could probably work something into the placement requirements of the component.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #213  
Old October 18th, 2006, 05:03 PM
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 Re: Plague extension

Ya the “Description Only” thing was kind of a dead give away.

What I was asking is where is the control for this? What line?
__________________
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
  #214  
Old October 18th, 2006, 05:10 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Plague extension

You can control how many are placed by the player by using restrictions. Controlling how many the AI places requires messing with the AI scripts, which I haven't done much of yet.

(and if you think components.txt is weird, the AI scripts are going to make your head explode).

If you mean the controller for how many actually work, that's defined by the ability itself IIRC.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #215  
Old October 18th, 2006, 06:01 PM
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 Re: Plague extension

I’m looking to control how many the player can put in. For example in SE4 if I wanted to keep the player from using more than four I would add the restriction “Four Per Vehicle”. In SE5 I am not seeing this except I have noticed that when the description says “Only 1 _blank_ per vehicle effective” another ability will have a number “2” in the Amount 2 Formula line. I will check to see if they are connected.

If it is controlled by hard coding now why did Aaron remove it? More importantly can he add it back in?

OMG I haven't even thought about the AI.
__________________
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
  #216  
Old October 18th, 2006, 06:05 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Plague extension

You control the number per vehicle with requirements. Just look at the engine limits in VehicleSize.text and apply that to the actual components.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #217  
Old October 18th, 2006, 06:14 PM
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 Re: Plague extension

Quote:
President_Elect_Shang said:
In SE5 I am not seeing this except I have noticed that when the description says “Only 1 _blank_ per vehicle effective” another ability will have a number “2” in the Amount 2 Formula line. I will check to see if they are connected.
Nope that’s not it; suppose it’s time to write Aaron and ask him? Thoughts?
Ops, need to READ before I write. My bad Phoenix-D
__________________
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
  #218  
Old October 18th, 2006, 06:20 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Plague extension

Try again:
Requirement 5 Description := This vehicle can only have a maximum of 12 movement.
Requirement 5 Formula := Get_Design_Ability_Component_Count("Movement Standard") <= 12

"Movement Standard" is the ability used in the component in question. If your component doesn't use an ability, just give it a useless ability or an AI-Tag and refer to that, instead.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #219  
Old October 18th, 2006, 06:24 PM
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 Re: Plague extension

Quote:
Phoenix-D said:
You control the number per vehicle with requirements. Just look at the engine limits in VehicleSize.text and apply that to the actual components.
I see what you are saying. So if I want to keep a player from putting more than one Burger King on a battleship I would have to include the restriction in the battleship section of the vehiclesize.txt. Wow, now that’s nifty and has lots of potential!

Edited I posted before I read your answer then took off to teach consonant diagraphs. Then came back read your first reply and wrote this one.
__________________
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
  #220  
Old October 18th, 2006, 06:28 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Plague extension

If you want to do it just for the battleship, yes. You can do it for all ships by putting the requirement on the component itself, I think.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
Reply

Bookmarks


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 08:04 AM.


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