PDA

View Full Version : SAGA Gametype


ASk
06-15-2002, 04:03 AM
It seems that Raven has a whole gametype coded but not used in the game...and it seems that it's playable. The only problem is that the map needs to be specifically designed and also must have an info file that defines the objectives (as i see now, saga is like objectives maps in RTCW)

the required entities are:

info_player_imperial - for imperial team start
info_player_rebel - for rebel team start

info_saga_objective - the objective
parameters for info_saga_objective:
side: 1,2 - 1 is imperial objective, 2 is rebel objective
objective: 1-9 - the number of the objective to complete on this entity's activation.

also there's code for the info file reading:

trap_FS_Read(saga_info, len, f);

saga_valid = 1;

if (GetValueGroup(saga_info, "Rebel", objectives))
{
if (GetPairedValue(objectives, "RequiredObjectives", goalreq))
{
rebel_goals_required = atoi(goalreq);
}
if (GetPairedValue(objectives, "attackers", goalreq))
{
rebel_attackers = atoi(goalreq);
}
}
if (GetValueGroup(saga_info, "Imperial", objectives))
{
if (GetPairedValue(objectives, "RequiredObjectives", goalreq))
{
imperial_goals_required = atoi(goalreq);
}
if (GetPairedValue(objectives, "attackers", goalreq))
{
imperial_attackers = atoi(goalreq);
}
}


if anyone manages to make the required files from this info...the SAGA gametype might just be possible (its g_gametype 6 btw)

Tchouky
06-15-2002, 11:36 AM
why don't you try to be this guy !
the guy who creates this info file ??
from what i can remember when i was mapping for halflife the infofiles are plain text ....so it shouldn't be really hard to add this to the info file....


off topic : ASk have you any clues about the questions i asked in my other topic 'model drawing' ???

bacon
06-15-2002, 11:50 AM
If they had maps with this in it, multiplayer could've been more fun. Good find!

ASk
06-15-2002, 12:14 PM
well it is plain text
but in what form i would write it.
the structure, etc is what i ask for

TheSnerd
06-15-2002, 12:46 PM
From what that piece of code tells me the file should look like this:


Rebel {
RequiredObjectives 2
attackers 0
}

Imperial {
RequiredObjectives 2
attackers 1
}


RequiredObjectives ... number of accomplished objectives to win the game
attackers ... either in Rebel or Imperial this has to be 1, 1 = attacking team, 0 = defending team

the file has to be placed in the maps-directory like this: MAPNAME.saga, normal text-file :D

Hope this helps - by the way: I didn't test it, so it may be possible that what I write here is totally wrong ;)

ASk
06-15-2002, 12:48 PM
heh
the GOD posted
gonna try it now
but i still need a normal map for it

bacon
06-15-2002, 12:49 PM
I found some new variable things.

SAGATEAM_IMPERIAL (equal to TEAM_RED)
SAGATEAM_REBEL (equal to TEAM_BLUE)
GT_SAGA
rebel_attackers
imperial_attackers
SP_info_player_imperial
SP_info_player_rebel
SP_info_saga_objective
WPFLAG_SAGA_IMPERIALOBJ
WPFLAG_SAGA_REBELOBJ
EV_SAGA_ROUNDOVER
EV_SAGA_OBJECTIVECOMPLETE

Hope this helps.

DarthCobra
06-28-2002, 12:28 PM
This needs a bump. Or has someone figured all this out already?

ASk
06-29-2002, 05:55 PM
i got lazy :)
NWN saps my free time now, so this mod is frozen.
i still request a very simple map with the entities mentioned above.

the config file does not work though...that's the main problem

bacon
07-01-2002, 08:14 AM
I donno if I've got it working. I've added a few things that I felt were missing but I can't map so I'm sorta stuck where I am right now.

{xg}darthVADER
07-08-2002, 02:20 AM
i'm not sure on what you mean with all this

t3rr0r
07-08-2002, 02:25 AM
Originally posted by {xg}darthVADER
i'm not sure on what you mean with all this
why did you post then?

{xg}darthVADER
07-08-2002, 06:53 AM
i just felt like posting and this interests me

hfddgafhafhadfg
07-08-2002, 01:12 PM
if you guys can get this to work, i would appreciate it if you would notify me, it would greatly help the Rebel Operations mod

Jaii der Herr
07-08-2002, 03:36 PM
perhaps the mapers of ATOTCTC an I will try it. I've asked them some weeks ago

hfddgafhafhadfg
07-09-2002, 05:04 AM
thanx, i would have my team working on a test map, but we no longer have an active mapper

delquar
07-17-2002, 03:51 AM
nifty, i hope you can get this to work, i would help ya, but i cant use the mapping program at all. but i wish you well, and if saga gametype is what it sounds like, it could be very fun to play

CoolMoeD
07-17-2002, 10:41 AM
OMG iv got a map (99.99% done) that would be perfect for a counter-op style, just tell me what to do

Jaii der Herr
07-26-2002, 03:34 AM
I have no Idea

delquar
07-26-2002, 04:47 PM
is no one gonna tell him what he should do for his map?

ASk
07-28-2002, 03:56 AM
Look in the first post:


info_player_imperial - for imperial team start
info_player_rebel - for rebel team start

info_saga_objective - the objective
parameters for info_saga_objective:
side: 1,2 - 1 is imperial objective, 2 is rebel objective
objective: 1-9 - the number of the objective to complete on this entity's activation.


The problem is, someone needs to write an ini for this map. And I don't think anyone has an idea how it is arranged.

delquar
07-29-2002, 04:30 AM
well. all i can say is try, i cant map worth a dog dew in december. but its interesting to me to have this figured out

razorace
09-07-2002, 05:52 PM
Saga's format has been figured out. Check here (http://66.250.145.38/showthread.php?s=&threadid=77779) for details...