Search found 29 matches

by StGW44
Thu Feb 27, 2014 10:51 am
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

Thank you, I appreciate it.

If theres any interest of this code, I would be glad to post it. Where would it be best to do so?
-> I do not claim any rights on this, beings it was halve way programmed by others anyways!

Regards,
Robert
by StGW44
Thu Feb 27, 2014 10:44 am
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

epilogue:

Code: Select all

SetOwner -1
Does the trick... Problems solved, thread closed!
by StGW44
Thu Feb 27, 2014 10:33 am
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

When you found your initial understanding of my advice didn't work for you, did you go back and review it before asking for more? The "initial understandig" was the problem, solely on my side and no I didnt! Have fixed it and you're right, it works. However, the bombing does not cancel itself out o...
by StGW44
Wed Feb 26, 2014 10:09 pm
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

Still not able to pinpoint the bombarding ship, I have been checking the log and found this passage: 2014-02-26 23:01:08,900 DEBUG Server : BombardOrder::ExecuteImpl set for ship 6483 Schemali to bombard planet 161 Alula γ III How come I cannot retrieve the ships ID using the "OrderedBombardedBy" co...
by StGW44
Wed Feb 26, 2014 8:42 pm
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

Regarding this first piece, as an efficiency note I would suggest you consider InSystem Source.SystemID VisibleToEmpire Source.Owner OwnedBy EnemyOf Source.Owner to be already covered by OrderedBombardedBy condition = Source Fixed and working Regarding the DEPOP_PLANET special, it looks to me like ...
by StGW44
Wed Feb 26, 2014 4:28 pm
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

Dilvish wrote:Looking at Geoff's explanation of OrderedBombardedBy[/url] a bit more, it looks like you should be able to use it to identify both the bombarding ship...
I would really appreciate an example of how I can trace the ship doing the bombing!
Best regrads,
Robert
by StGW44
Wed Feb 26, 2014 4:24 pm
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

Here is what I have been put together. The code produces pretty much reliable results, however, the part does not turn off the way I wanted it. Nesting Specials is not a good way to handle things, as there is a one-turn-delay until the nested Special appears... (ship_part.txt) Part name = "SR_WEAPON...
by StGW44
Wed Feb 26, 2014 12:06 pm
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

Hello Dilvish, thanks a lot for your answer and the example scrip! Seems I mis-interpreted the meaning of the "numberOf" statement totally! ;-) Bringing this thread to an end, I recollect the data as follows: I can set the focus on many different objects in the scope-scection of the effectsgroups, b...
by StGW44
Tue Feb 25, 2014 10:32 pm
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

Sorry, I cant relate your answer to my question. In effects = SetStructure Value / 2 using the command "SetStructure " will reduce "structure" by halve for whatever object was in focus in the scope section, right? How do I do this for a ship "InSystem" with the planet in scope? Can it be done within...
by StGW44
Tue Feb 25, 2014 10:20 pm
Forum: Top Priority Game Design
Topic: Bombardments & Invasions
Replies: 27
Views: 15801

Re: Bombardments & Invasions

Hi to all and it is a pleasure reading through all those different ideas and threads... This one here really got my attention... I have been very fond of the bombard-idea! For programming issues I was thinking, I would implement the most powerful bomb, I call it the Laser Scatter Bomb (sort of nucle...
by StGW44
Tue Feb 25, 2014 6:56 pm
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

Re: scope focussing on 2 objects: possible or not?

Thanks for your answer! I have tried to get the clue but did not succeed! ;-) You, I think, have been referring to the Psycho-Domination effect and looking at it, I understand that the effect can be a choice of several possibilities (different legal destinations, I guess here is where the "NumberOf"...
by StGW44
Tue Feb 25, 2014 12:30 pm
Forum: Scripting & Balancing
Topic: scope focussing on 2 objects: possible or not?
Replies: 17
Views: 2790

scope focussing on 2 objects: possible or not?

This is a question for the scripting pro's: Is it somehow possible to set the focus for effects to where something like this produces legal results: (example code) scope = And [ Ship DesignHasPart "some_part" ContainedBy And [ System Contains And [ Planet OwnedBy EnemyOf Source.Owner ] ] ] effects =...
by StGW44
Fri Feb 21, 2014 7:22 pm
Forum: Scripting & Balancing
Topic: CreatePlanet
Replies: 17
Views: 2373

Re: CreatePlanet

Looking over it a little more I am wondering if the new OrderedBombardedBy condition applies to buildings, or only planets. Why don't you try the much simpler scope = And [ Building ContainedBy OrderedBombardedBy condition = Source ] If you think some part works and not others, please be clear abou...
by StGW44
Fri Feb 21, 2014 6:48 pm
Forum: Scripting & Balancing
Topic: CreatePlanet
Replies: 17
Views: 2373

Re: CreatePlanet

Hello Dilvish, thanks to you, too Seems I am keeping halve the crew from working and I am starting to feel a bit guilty about that... First off... I am using FO 0.4.3+(SVN 6824) to play with and the Notepad++(R) to edit the files. This editor has a few nice features and is slim and fast... it also c...
by StGW44
Fri Feb 21, 2014 5:49 pm
Forum: Scripting & Balancing
Topic: CreatePlanet
Replies: 17
Views: 2373

Re: CreatePlanet

What does "it just dont work!" mean? You could be more specific without quoting a specific error message... I think that the poster means that the desired behavior is not reached... [...], actually it is supposed to be a bomb, ridding a planet off everything that has been put on it from previous co...