![]() |
Re: Modding SEV Thread Questions
I need another formula help. What if I want to create a damage formula with the following values:
Range: 0 10 20 30 40 50 60 70 80 90 100 110 120 Damage inflicted: 30 30 20 20 20 10 10 10 10 10 10 10 10 How would I do this? I know that I only need to do the formula once as I want a flat damage rate so the min and max formula would be the same. Apologies but the formatting isnt coming out and I dont want to make it into columns. |
Re: Modding SEV Thread Questions
AI colonies...
-Main script calls function to give ship orders. -If its a colony ship, it calls the colony minister function. -The minister looks for a planet to colonize (doesn't seem to care about any details, just if it can). The AI has a function to pick a colony type, what calls that? It also seems to base what colony type based off of how many other colonies of the same type there are? |
Re: Modding SEV Thread Questions
I may have asked these before but I don't think I got an answer:
What does Base Model Radius in mpire_ships_xfileclasses.txt do? The scale setting in each xfileclass seems to affect both the display of ships in the system display as well as in the combat engine. I want a different scale for each. For example, I would scale ships so they are all approximately the size of a hex in the system screen (making them clearly visible but not overly large), but I don't want every ship to be the same size in tactical combat. Is this possible now, or is it something I need to ask Aaron to add? It's essentially two seperate scale settings for strategic/tactical views as opposed to the one setting we have now. |
Re: Modding SEV Thread Questions
Why don't you use the exact same formula as for accuracy (below) but changing the weight and limits ?
kind of : iff %range% <=10 ,30,iff %range% <=40 , 20,iff %range% <=120,10,0 |
Re: Modding SEV Thread Questions
Quote:
>=121, 10000, 0 The >= is for the cut off point. The 10000 is to change all damage to 0 past that point. I have no idea why the last 0 is in there(?). |
Re: Modding SEV Thread Questions
You don't want 10000 damage; that would be huge.
Give me 10 minutes, and I'll tweak my equation parser program to show values at range. |
Re: Modding SEV Thread Questions
|
Re: Modding SEV Thread Questions
http://imagemodserver.mine.nu/other/...angeLister.zip
The one thing to keep in mind is that SE5's formula parser is not as flexible as this one. SE5 demands whitespace everywhere, for example. Note: If you're not sure what is causing an error condition, press the "verbose" button, and it will tell you what it thinks is wrong with your formula. |
Re: Modding SEV Thread Questions
Quote:
|
Re: Modding SEV Thread Questions
Quote:
|
All times are GMT -4. The time now is 07:52 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.