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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old November 26th, 2006, 02:21 AM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: Space Empires V Editor 1.4 Released

Quote:
Elsemeravin said:
I still get an erroneous error message as follow:

CG_Claws:
* Illegal Weapon Space Min Damage Modifier Formula 'iif([%Range%] <= 10 , 10 + ( 50 * ( Get_Design_Ability_Total("AI Tag 02",1))) , 0)': Invalid parameter count. Function '' requires 1 parameter(s).
* Illegal Weapon Space Max Damage Modifier Formula 'iif([%Range%] <= 10 , 10 + ( 50 * ( Get_Design_Ability_Total("AI Tag 02",1))) , 0)': Invalid parameter count. Function '' requires 1 parameter(s).


But I didn't want to disturb you as you need to focus on work don't you ?
I'm a bit confused by this actually. It's complaining about Get_Design_Ability_Total("AI Tag 02",1) because Get_Design_Ability_Total only takes one argument normally. Does the game accept that function with 2 arguments?

Of course, the error should also say that more clearly, but for some reason it's output'ing a blank for the function name.

As for me focusing on work, well, it's a 4 day weekend I've been working on a mod for SE5 most of the weekend and that's why I fixed the errors I did
__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
Reply With Quote
  #2  
Old November 26th, 2006, 02:29 AM

Devnullicus Devnullicus is offline
Sergeant
 
Join Date: Feb 2001
Location: Belmont, CA USA
Posts: 285
Thanks: 0
Thanked 0 Times in 0 Posts
Devnullicus is on a distinguished road
Default Re: Space Empires V Editor 1.4 Released

Hmm, I take that back. Apparently, it does take 2 arguments, but I have no idea what the second argument is supposed to do. Sure would be nice to have a modder's manual that explained some of this. :/
__________________
How's my Programming? Call 1-800-DEV-NULL
Get the Space Empires V Editor and DevnullMod at http://www.devnullsoftware.com/se5
Reply With Quote
  #3  
Old November 26th, 2006, 06:08 AM

Elsemeravin Elsemeravin is offline
Corporal
 
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Elsemeravin is on a distinguished road
Default Re: Space Empires V Editor 1.4 Released

The second argument is to choose which of the amount you consider.
The best would be to be able to set the number of argument where you define the liste of available funtions (const.txt)

The message you write is very clear, just the error is wrong.
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 03:02 AM.


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