Author Topic: problem about mapper- critter  (Read 3142 times)

Offline Johnnyrico

  • im from Asian.
problem about mapper- critter
« on: October 13, 2012, 07:58:59 am »
hi guys, i have few questions to ask,

1. how to add critter in the map and how to edit it's AI and give WEAPON etc.?

2. how to rotate NPC?

3. after i edit all, i use ^save   (save map),  which right folder should i save this map file to in order to see this map in my game?


thanks !!!
« Last Edit: October 13, 2012, 08:15:34 am by Johnnyrico »
Come in chosen one.

JovankaB

  • Guest
Re: problem about mapper- critter
« Reply #1 on: October 13, 2012, 08:18:16 am »
hi guys, i have few questions to ask,

1. how to edit critter in a right way and how to edit it's AI and give WEAPON etc.?

2. how to change rotate NPC?

3. after i edit all, i use ^save   (save map),  which right folder should i save this map file to in order to see this map in my game?


thanks !!!

1. You click critter and put numbers into ST_DIALOG_ID, ST_AI_ID, ST_TEAM_ID etc. Further explanation would be too long so I will leave it to someone else or for you to find out from scripts and other maps.

To give weapon you set ST_BAG_ID (see data\bags.cfg and _bags.fos). You can also select critter and put stuff into it directly by switching to items and ALT+Clicking an item. Same with containers, BTW. But this stuff won't respawn I think and bags will. Third option is to put stuff into critters with scripts.

2. Left click the critter to select it and then middle click to rotate the critter.

3. By default it should save in the maps folder. But to see map in game you have to also add the map and location to game. Check out maps\Locations.cfg and text\...\FOGM.MSG. Also maps\GenerateWorld.cfg if you want location to be put on map when world is generated first time.

You save with ^filename (without extension)
« Last Edit: October 13, 2012, 08:33:47 am by JovankaB »

Offline Johnnyrico

  • im from Asian.
Re: problem about mapper- critter
« Reply #2 on: October 13, 2012, 08:32:53 am »
i opened Locations file and FOGM file already, then what need to edit now?

 thanks!!!
Come in chosen one.

JovankaB

  • Guest
Re: problem about mapper- critter
« Reply #3 on: October 13, 2012, 08:43:34 am »
Explanation is on top of the files. Unfortunately in Russian.
You have to create new [Area ....], give map name etc
FOGM is for location names/descriptions, what music is in map etc


All of this is rather terrible to edit by hand...
« Last Edit: October 13, 2012, 08:48:43 am by JovankaB »

Offline Johnnyrico

  • im from Asian.
Re: problem about mapper- critter
« Reply #4 on: October 13, 2012, 08:48:18 am »
ok,i see..thank you so much,,

one more question


i just opened mariposa_enter map, and then i just add few mutants there, and edit their ai & weapon all, save map.

but when i start server and enter mariposa, it still nothing there.  how can i do it?
Come in chosen one.

JovankaB

  • Guest
Re: problem about mapper- critter
« Reply #5 on: October 13, 2012, 08:51:05 am »
ok,i see..thank you so much,,

one more question


i just opened mariposa_enter map, and then i just add few mutants there, and edit their ai & weapon all, save map.

but when i start server and enter mariposa, it still nothing there.  how can i do it?

You have to regenerate map with ~regenmap, or delete all world saves and restart server (but it means server wipe)

to use ~regenmap command you need to be in the location and have admin access (get with ~getaccess, see FOnlineServer.cfg to set password)

make sure you save map with ^mariposa_enter not ^save, I think ^save would create a copy named "save"
« Last Edit: October 13, 2012, 09:00:16 am by JovankaB »

Offline Johnnyrico

  • im from Asian.
Re: problem about mapper- critter
« Reply #6 on: October 13, 2012, 08:58:19 am »
You have to regenerate map with ~regenmap, or delete all world saves and restart server (but it means server wipe)

to use ~regenmap command you need to be in the location and have admin access (get with ~getaccess, see FOnlineServer.cfg to set password)

make sure you save map with ^mariposa_enter not ^save, I think ^save would create a copy named "save"



thank you so much!! 
Come in chosen one.

Offline Johnnyrico

  • im from Asian.
Re: problem about mapper- critter
« Reply #7 on: October 13, 2012, 09:35:15 am »
Explanation is on top of the files. Unfortunately in Russian.
You have to create new [Area ....], give map name etc
FOGM is for location names/descriptions, what music is in map etc


All of this is rather terrible to edit by hand...

hi agian!

how to set NPC attacks people when see someone..?
Come in chosen one.

Re: problem about mapper- critter
« Reply #8 on: October 13, 2012, 07:30:06 pm »
set angry to player script
« Last Edit: October 13, 2012, 07:36:56 pm by MEXAHOTABOP »