Jump to content


Help With Object List


  • Please log in to reply
15 replies to this topic

#1 Guest_Shalashaska_*

Guest_Shalashaska_*
  • Guests

Posted 17 June 2004 - 05:59 PM

First of all, I just want to say that this is an excellent site. The editing community(especially the scripting side) has been in need of a place like this and with people like Mithril, RV, and Thudo all in one spot helping people, how can you go wrong?

Ok, my questions. I am extremely new to the scripting side of Generals/ZH so forgive me if this is painfully obvious or has been asked a dozen times before. I made a mod and created 2 new sides, I read the SDI tutorial for adding new factions (very helpful) but I don't understand the object list part. If I understand correctly I need to add my new sides' units and structures to the list but my side doesn't appear in the list and it wont let me type the name of the unit or structure in. So how do I either get my units/structures/side to show up as a choice, or how do I manually input them?

My other question is basically the same. I want my 2 new sides available for the Generals Challenge mode but the game wont move on because the maps don't recognize my side. I found the script for the win/lose conditions on the GC maps and found where I need to put in my side (looks something like this: IF Player <The Player> is side whatever) but my side doesn't appear as a choice and it wont let me manually type the name either. :)

I'm sure the answer is very simple but I'm just not seeing it, so any help from you guys would be really appreciated.

#2 Guest_Pete_*

Guest_Pete_*
  • Guests

Posted 17 June 2004 - 07:47 PM

In each of your factions script folders, inside the paperwork folder there is a script called "Define Object lists".

you will need to create an object list for your faction, (or copy and paste from existing) and you need to add you units to the corresponding type that they are. i.e. vehicle, tank, infantry, etc, etc,

Hope that helps you.

#3 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 17 June 2004 - 07:54 PM

Well the problem is that I can't select my units. I choose the type (Tank for example) and then you select your units, but my units/side doesn't show up in the list to choose from and you can't (at least that I've seen) manually type the name of the units in.

#4 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 17 June 2004 - 08:38 PM

Hmm have you edited the Side = and EditorSorting = entries in the ini's ? If you've copied most of the object's code from existing one it's likely to be in the original object's category.

The Side = and EditorSorting = define where WB is supposed to put the objects.
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#5 Guest_DeathAngel_*

Guest_DeathAngel_*
  • Guests

Posted 18 June 2004 - 05:57 AM

is your faction selectable when you start a multiplayer or skirmish ?
from the looks of your postst I think not.

You need to add the faction in the PlayerTemplate.ini (normal generals) for it to become available as a "Faction"

#6 Shalashaska

Shalashaska
  • New Members
  • 5 posts

Posted 18 June 2004 - 06:45 PM

Yes, my 2 new sides are selectable and work very well. :) So...from the sounds of the replies in this thread, my faction and units should show up in the scripts object list automatically?

#7 Shalashaska

Shalashaska
  • New Members
  • 5 posts

Posted 21 June 2004 - 11:26 PM

Yep, my names are the same and I tried various different naming schemes but none of them made my sides show up. :( I think the problem though (and I may be totally off base) is that World Builder is looking at the original .ini files and not my modified ones. I'm just using a custom .big with all my .ini files in it, but how do I get WB to look at my modified files instead of the originals (if that's the problem)?

#8 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 18 June 2004 - 08:51 PM

Object lists? Did you include your object in the "Define Object Lists" script?

In case you mean the list from which you select the objects for script commands - is your faction named displayed there anywhere?
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#9 Shalashaska

Shalashaska
  • New Members
  • 5 posts

Posted 18 June 2004 - 09:22 PM

Eck, sorry Mithril. Obviously I haven't been very clear. Yes I'm talking about the Define Object Lists and no my factions do not appear anywhere. :(

#10 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 19 June 2004 - 12:45 PM

So you have tried adding your objects to the object lists... hmm.. since Side = and EditorSorting is right it's a tough nut. Furthermore you the factions work properly and just as they should for the human player...

This is what it should look like..

Posted Image

and your faction should be there... is it?
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#11 Shalashaska

Shalashaska
  • New Members
  • 5 posts

Posted 20 June 2004 - 03:01 AM

That's exactly what I need help with, my sides do NOT show up in that list but I can play as my sides just fine. ;) So the newly created factions SHOULD show up in that list automatically? Also, when you import the skirmish players and add your new faction through 'add player', do you have to make the name exactly as it appears next to 'side =' in the ini's? This is for ZH if that makes a difference.

#12 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 20 June 2004 - 08:52 AM

Nope - sides in the playertemplate.ini can be anything (except extraordinary characters I think), in the player list they have to start with "Skirmish" unless you want to script a mission. I haven't really tested if they work without the "Skirmish", they may, they may not because of WND hardcode.. I suggest you try it ;)


Stupid question but is your Side = in playertemplate.ini the same as your PlayerTemplate <yourfaction> ?
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#13 Somebody

Somebody
  • Project Team
  • 6 posts
  • Location:Canada
  • Projects:The Finest Hour, Imperial Assault

Posted 22 June 2004 - 08:21 PM

not to contradict you or anything.... but Generals and ZH allow for the custom placement of 1 .big file. Under certain circumstances. ;)

1. It has to be named Expand before the text. Ex. ExpandMyStuff.big
2. There can ONLY be 1 in the relevant folder. Any more than 1 just wont get read im afraid.

For ZH: Put it in the main game directory/Data/Ini folder.

For regular generals: Put in the main game directory.

And WB WILL read it. As will the game automatically. Itll load it like any other INI at startup. :p

#14 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 22 June 2004 - 07:55 PM

A custom .big? WB won't recognize a .big file lol !

You have to extract it and install the appropriate files into the relevant folders ;)

INI files go to Data\INI\, texture files such as .dds or .tga go to Art\Textures (create the Art dir if it doesnt exist) and w3d files go to Art\W3D\, while audio files go to Data\Audio\Sounds or Data\Audio\Tracks\.

Note that this should all be in the gamedir :p
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#15 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 22 June 2004 - 09:29 PM

Ah no problem "contradictions" like these (or others, np) are very very welcome! Never knew that thanks!
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#16 Shalashaska

Shalashaska
  • New Members
  • 5 posts

Posted 22 June 2004 - 10:54 PM

Hmmm, guess that's all common sense...don't know why I didn't realize that before. ;) Ah well, live and learn I guess. :p Anyway, thanks for the help guys.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users