Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-02-2011, 01:01 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Thanks!

May be it's possible for you to ask the dev about Addin development for CoD? A Piece of Sample Code would be very helpfull
Reply With Quote
  #2  
Old 06-02-2011, 01:07 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Some guys at sukhoi.ru came to conclusion that there is a chance that interfaces for addins are not finished yet. The good news is that they found many of them )

If you can explain in detail for what to ask in particular I may try to ask. However I have no idea of what piece of code can be helpful. Thus you have to explain it to me first or I can mess up the translation ))
Reply With Quote
  #3  
Old 06-02-2011, 01:24 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Can you please ask him, if it's possible to modify the Multiplayer Plane Selection Menu.

So its possible to select a Airfield on the left side and then show a list of the available Planes (park spawn and idle) on the right, where a Player can choose one.
At the moment it's only possible if you scroll in and select the plane icon (if in Game Icons are on).
Reply With Quote
  #4  
Old 06-02-2011, 02:06 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

I am sure it is possible.

Do you mean you are prepared and ready to write this interface mod/Addin if he explains how to switch it on and connect it to the game?
Reply With Quote
  #5  
Old 06-02-2011, 02:25 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

I think so
Reply With Quote
  #6  
Old 06-03-2011, 06:51 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Quote:
Originally Posted by FG28_Kodiak View Post
I think so
OK, we have an answer from MuxaHuk, who is a mod of this very forum section btw and speaks English. I think if you start a new thread named Questions to MuxaHuk he might give some answers if and when he has time.

Quote:
Originally Posted by MuxaHuk View Post
Интерфейс компилится в dll, которая передаётся с сервера на клиент. Пока не могу предоставить примеров, но это обычный интерфейс на WPF.
Translation:
Quote:
Interface should be compiled into a dll which is downloaded from server to a client. I can not provide any examples at the moment but this is an ordinary WPF interface.
Small_Bee from sukhoi has some success getting into game interfaces. E.g.
http://www.sukhoi.ru/forum/attachmen...4&d=1307046290
http://www.sukhoi.ru/forum/attachmen...5&d=1307049528
And his advice is: study how offline campaigns are connected to the game engine. In fact a campaign is an example of game add-in.

I guess you can also use keygetis mod and extract tool to see how the game looks from the inside.

All info comes from here. Feel free to register and participate or PM Small_Bee for details. http://translate.google.com/translat....php%3Ff%3D234
naryv at that forums is also one of the devs

Last edited by Ataros; 06-03-2011 at 06:56 PM.
Reply With Quote
  #7  
Old 06-06-2011, 07:28 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Can anyone advise the best way to calculate game score for sides for the script in the 1st post?

I have 2 sides fighting for 4 frontMarkers atm. Start with 2 markers per side.
I want the score counter increase score say every minute for each marker owned by side.
When marker changes from blue to red (there are triggers for this) we have to stop blue counter and start red counter for it, etc, etc.
Then total score per side is calculated as a sum of score at each marker / 10.

I know more or less how to do this via including this counter into onTickgame method but I would like to have it as a separate method (or class?) that can be called from onTrigger method for instance with stopScoreCounter(marker, army) and startScoreCounter(marker, army) or something like that. Unless it would be much more complicated than using inTickgame method.

I want to have more readable code than if it is split into existing methods (ontickgame, ontrigger, etc.)
Reply With Quote
Reply

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 Off

Forum Jump


All times are GMT. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.