Accueil Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 1 utilisateur et 102 invités en ligne.

Utilisateurs en ligne

  • ekolis

Languages

  • English English
  • French French

Parcourir les archives

« July 2008  
Mo Tu We Th Fr Sa Su
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Newbie Question:

Soumis par Walter313 le Ven, 2008-04-11 13:25 SE:V MODs

Ive played Space Empires since SE3, and am now trying my hand at modding. I am currently programming my first Mod, which adds a new racial tech.

Im trying to make the last piece of vr 1.0, but I can't figure out how do to it. I am trying to add an event that would make a ship that has just been captured by boarding parties (which may be a new component that comes with the mod since this is a racial tech) automatically have its tech analyzed without having to be deconstructed; but i don't know how to change the event. (I think its probably in the external evend file, which comes to problem 2)

My second problem is that I don't know how to access the CSF files; I have checked numerous places including SpaceEmpires.net's Wiki, and haven't been able to find answers.

Any help is appreciated! Thanks!

‹ Mod Problems Adding new Miniaturization Theorectial tech ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Re: Newbie Question:

Soumis par edge1218 le Ven, 2008-04-11 19:30

Go to the stock folder and look for a subdirectory named Utilities. Inside this folder is one for the ScriptParser which has a subfolder names SE5MainScripts. Inside this is the text file for the Event Script and you'll be able to see all the various subroutines/functions that are used to execute the end of turn events. Your custom event will fit somewhere inside this. Remember that you will have to run the ScriptParser to get a new csf that includes your code.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Newbie Question:

Soumis par Fyron le Sam, 2008-04-12 12:04

There is no "event" as such run after a ship is captured. The event script only contains the randomly generated events that might occur once per turn. The script is run every turn though, so you can add neat effects to the game via this script. I'm not sure how you could check to see if a ship was just captured on the current turn, however.


SpaceEmpires.net | Space Empires Wiki

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Newbie Question:

Soumis par Walter313 le Mer, 2008-04-16 10:50

edge1218 wrote:
Go to the stock folder and look for a subdirectory named Utilities. Inside this folder is one for the ScriptParser which has a subfolder names SE5MainScripts. Inside this is the text file for the Event Script and you'll be able to see all the various subroutines/functions that are used to execute the end of turn events. Your custom event will fit somewhere inside this. Remember that you will have to run the ScriptParser to get a new csf that includes your code.

Thanks for the help. I guess thats not the right file for this kind of event though. Does anyone know where I can find ship events?

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Newbie Question:

Soumis par Fyron le Mer, 2008-04-16 17:34

As I said, there are no such things. All of the code that handles such "events" is in the executable.


SpaceEmpires.net | Space Empires Wiki

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Newbie Question:

Soumis par SuicideJunkie le Mer, 2008-04-16 17:44

One thing you might try, is to save the list of ships each empire owns.

Then on the next turn, you can check to see if any of the player's ship IDs are in the list of a different player. (IE; last turn, that ship ID was owned by somebody else)

You would have to avoid false positives such as a ship being destroyed, and its ID number being reused for a new construction.

In GGmod, new ships are easily identified by looking for zero experience. (You need an experience system where ships can't hit zero by any other means)

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Newbie Question:

Soumis par Walter313 le Jeu, 2008-04-17 13:23

SuicideJunkie wrote:
One thing you might try, is to save the list of ships each empire owns.

Then on the next turn, you can check to see if any of the player's ship IDs are in the list of a different player. (IE; last turn, that ship ID was owned by somebody else)

You would have to avoid false positives such as a ship being destroyed, and its ID number being reused for a new construction.

In GGmod, new ships are easily identified by looking for zero experience. (You need an experience system where ships can't hit zero by any other means)

I'll try that! As fyron as said, there aren't any Ship Event files, so thats really the only choice.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Contenu populaire

Aujourd'hui :

  • Research By Percentage SUCKS
  • Cloaked Warp Points
  • Capturing suicidal colony ships of Balance Mod AI empires
  • Space Empires V 1.74
  • Space Empires V

Depuis toujours :

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Dernier accès :

  • Stuipd Question
  • total noob question on the demo - resupply?
  • Colonization tech is to cheap.
  • Sugestions from playing the demo
  • IS PBW down?
(c) Strategy First, Inc. All rights reserved.