Ga naar inhoud


Foto

Did I miss a step when adding a new person?

adding new person edit personal tutorial xml

  • Please log in to reply
4 replies to this topic

#1 heyjoojoo

heyjoojoo

    Battalion Chief

  • Members
  • 640 Posts:
  • Gender:Male
  • Location:United States, Sacramento, California

Gepost 17 augustus 2012 - 02:37

I created my own mod and I also added a new person to one of the existing vehicles. I used a civilian to make him a news reporter. I used the file 'civilianman02_blue'.

Here's what I did:
  • added the new model with texture files in Models Folder (made sure the filenames were the same)
  • Opened Editor, created the prototype file, linked it with the model files.
  • While in Editor, added traits, commands, talkmic, etc.
  • In Units Folder, went into the Personnel Folder, edited the Units.xml file to show the path to the new person ('civilianman02_blue')
  • In Units Folder, went into the Vehicles Folder, edited the Units.xml file to the existing vehicle changing unit id name
  • In Specs Folder, edited the portraits.xml file to include a new line: mod:Prototypes\Persons\04 LA Tec\civilman02_blue.e4p
  • In Langs Folder, edited the infotexts.xml and portraits.xml file
That's all I did. Did I forget something? What happens is that when I start the game, and go to the vehicle list, I click on the vehicle, and the game crashes to the desktop. Not sure what I missed....
Kareem

Specs: Windows 7 Professional Build 7600 (32bit)
4Gigs DDR Kingston
NVidia GT 240
2.33 gigahertz Intel Core2 Quad Q8200
WDC 320Gig Hard drive 1 SMART Status: Healthy
WDC 320Gig Hard drive 2

#2 kimdaniel

kimdaniel

    Lieutenant

  • Members
  • 84 Posts:
  • Gender:Male
  • Location:Norway
  • Interests:Fire Fighting
    EMS

Gepost 17 augustus 2012 - 07:27

The best thing to do when adding a Person or vehicle to the game, is to "Clone" a previous person instead of making a new prototype :) thats what i usually do :-)

#3 heyjoojoo

heyjoojoo

    Battalion Chief

  • Members
  • 640 Posts:
  • Gender:Male
  • Location:United States, Sacramento, California

Gepost 18 augustus 2012 - 02:15

The best thing to do when adding a Person or vehicle to the game, is to "Clone" a previous person instead of making a new prototype :) thats what i usually do :-)


But don't you still need to edit the paths and reassign the links to the model/texture files.
Kareem

Specs: Windows 7 Professional Build 7600 (32bit)
4Gigs DDR Kingston
NVidia GT 240
2.33 gigahertz Intel Core2 Quad Q8200
WDC 320Gig Hard drive 1 SMART Status: Healthy
WDC 320Gig Hard drive 2

#4 heyjoojoo

heyjoojoo

    Battalion Chief

  • Members
  • 640 Posts:
  • Gender:Male
  • Location:United States, Sacramento, California

Gepost 19 augustus 2012 - 01:13

The best thing to do when adding a Person or vehicle to the game, is to "Clone" a previous person instead of making a new prototype :) thats what i usually do :-)


When you clone them, do you choose the same model (v3o)file?
Kareem

Specs: Windows 7 Professional Build 7600 (32bit)
4Gigs DDR Kingston
NVidia GT 240
2.33 gigahertz Intel Core2 Quad Q8200
WDC 320Gig Hard drive 1 SMART Status: Healthy
WDC 320Gig Hard drive 2

#5 heyjoojoo

heyjoojoo

    Battalion Chief

  • Members
  • 640 Posts:
  • Gender:Male
  • Location:United States, Sacramento, California

Gepost 19 augustus 2012 - 05:32

I got it now. I must have missed have had a typo or something.
Kareem

Specs: Windows 7 Professional Build 7600 (32bit)
4Gigs DDR Kingston
NVidia GT 240
2.33 gigahertz Intel Core2 Quad Q8200
WDC 320Gig Hard drive 1 SMART Status: Healthy
WDC 320Gig Hard drive 2





Also tagged with one or more of these keywords: adding, new person, edit, personal, tutorial, xml