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

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old January 15th, 2007, 06:59 PM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: SE5 Modding: Variable and functions wishes

By new vehicle types I mean adding new categories such as 'Base' or 'Ship'. What you're talking about is adding new ships.

The game already allows you to create new vehicle types, but they all end up with unit behaviour( i.e. they stack in system view, etc.), unfortunately.

As I mentioned, the biggest advantage of this would be that you could simply put your new vehicle type in the 'Vehicle Types Allowed' field in components.txt to easily restrict weapons/components to certain vehicles without using mounts or other complex formulas.
Reply With Quote
  #2  
Old January 15th, 2007, 07:04 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: SE5 Modding: Variable and functions wishes

It won't stop them from appearing in the components list, but you can stop a component from being usable for a vehicle size simply by adding a requirement to the hull.
__________________
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
  #3  
Old January 15th, 2007, 07:08 PM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: SE5 Modding: Variable and functions wishes

Yah, but that could mean creating a ton of extra requirements for each ship.

At any rate, being able to add new vehicle types would mean that we could more specifically specify which weapons can target which ships, too. Say you wanna make a special ship that can only be hit by a certain weapon, etc.

Not saying there aren't other ways to do this; there usually are. I'm just saying it would make the whole thing way easier and less formula'ish.

By the way, anyone know how the Range Formula for component abilities is supposed to be used?
Reply With Quote
  #4  
Old January 15th, 2007, 10:11 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SE5 Modding: Variable and functions wishes

We need supply and ordnance storage abilities to work on facilities too.
Reply With Quote
  #5  
Old January 15th, 2007, 11:46 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: SE5 Modding: Variable and functions wishes

I'll second that!
__________________
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
  #6  
Old February 7th, 2007, 02:51 PM

nesrall nesrall is offline
Private
 
Join Date: Oct 2003
Location: Mi.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
nesrall is on a distinguished road
Default Re: SE5 Modding: Variable and functions wishes

Examples of ideas

If (Does_Enemy_use_Component_With_Name("Shield Generators") then
set primary_weapon := "Phased - Polaron Beam"

If (Does_Enemy_use_Component_With_Name("Crystalline Torpedo")then
set AI_Design_Tonnage_Ship_Pct_Shields := + 5
set AI_Design_Tonnage_Ship_Pct_Armor := -5

// Does warp point already have units in sector?
Sys_Get_Number_Of_Units_In_Space_Sector does not seem to return correctly if at all over a warp point.

A function to list colonies in defense location systems as a defense location sector to protect.

A function to return colony date creation.

A function for a drone minister.

A function returning number of nonvisible sectors in a system.

A function returning a random nonvisible sector in a system.

A function returning if one player has violated his treaty with another empire.

My apologies here for straying a small bit off thread but stock SEV resupply depots are way off, a resupply depot at level 20 supplies(without bonuses) generates just 3000 supplies per turn. While a fleet of only 10 ships will use well over 5000 supplies in just one movement phase.
Reply With Quote
  #7  
Old April 4th, 2007, 01:31 AM

furloph furloph is offline
Private
 
Join Date: Apr 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
furloph is on a distinguished road
Default Re: SE5 Modding: Variable and functions wishes

I would like to see drop down menus in ship design and have weapons, armor, engines, shields and misc that way I dont have to wade through a large ammount of stuff to get that one component Im looking for.
Reply With Quote
  #8  
Old April 4th, 2007, 07:49 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: SE5 Modding: Variable and functions wishes

You can right click on the component header column to get a quick filter menu for components.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #9  
Old April 8th, 2007, 07:53 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SE5 Modding: Variable and functions wishes

Or better yet, just turn off the alpha sorting to get the components arranged as they are in the file.

(Which is much more like a hardware catalog, and infinitely more useful)
Reply With Quote
  #10  
Old April 11th, 2007, 11:42 AM

KilsonX KilsonX is offline
Private
 
Join Date: Jan 2002
Location: Chair by a desk in front of a computer
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
KilsonX is on a distinguished road
Default Re: SE5 Modding: Variable and functions wishes

I would like some over ride Functions for Component

Forced Target := Self ( Will apply weapon effect to target) Will not override the weapons target just what it affects)

Forced Range := ( Any Range Group)

Forced Range := [%Range%] = (3>= or 9<= )
So this weapon will only fire at targets that are 30ls - 90ls in range

Forced Range := "Point Blank" ,"Optimum Range", "Maximum Range", "Short Range"

Forced Fire := ( Self, Target, Friendly" ) (OnHit, Time,)(Damage, Range, Shield)

So it would look something like this

Forced Fire:= Self, Onhit =([%Damage%] = (25%,>=)) <--- this would check the total damage of Self When Hit, If Damage >= 25% Fire or Use Component

Really these are just for me to make a component I have been wanting since SE3

With these as viable options in the Component file, I can make a Component that will cause the ship to teleport if missiles are inbound and PD is not stopping them or if the Ship/Base/Fighter has taken Damage.
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 11:08 AM.


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