FOnline Development > Questions and Answers
FOnline SDK - Question
wladimiiir:
--- Quote from: Outlawries on June 28, 2013, 02:04:51 pm ---How can I make encounters more frequent?
--- End quote ---
In worldmap_init.fos you can find lines of codes like this one:
table.AddEncounter( 10, 10030020 ).AddGroup( GROUP_Player, 0, 0 ).AddGroup( GROUP_Giant_Rats, 5, 15 ).Fighting( 0, 1 );
This is single encounter defined and the yellow 10 means chance of encountering it. If you want some encounter more frequently, increase this value.
There is also line like this one:
SetZone( 0, 0, TABLE_00_00, 0, TERRAIN_Mountain, CHANCE_Common, CHANCE_Common, CHANCE_Common );
This defines single zone on WM and chances of getting encounter in morning, afternoon and evening hours respectively. There are these values allowed (defined in worldmap.fos):
* CHANCE_Forced
* CHANCE_Frequent
* CHANCE_Common
* CHANCE_Uncommon
* CHANCE_Rare
* CHANCE_None
Outlawries:
Ok I have this armor that makes me look like a ghoul when I wear it and if my server restarts my character wont be wearing the armor
how do I stop this from happening or at least what causes this to happen?
wladimiiir:
--- Quote from: Outlawries on June 29, 2013, 03:49:19 pm ---Ok I have this armor that makes me look like a ghoul when I wear it and if my server restarts my character wont be wearing the armor
how do I stop this from happening or at least what causes this to happen?
--- End quote ---
1. How do you stop your server? Is it saved before you exit it?
2. Do you have the armor in armor slot after restart?
3. How do you set that wearing such an armor will change you to ghoul in script?
Outlawries:
1.Yes
2.No after restart it gets removed unlike other armors
3.In object editor I changed the my armor's CritterType Male to 28 same for CritterType Female
It only happens if i use a skin like a ghouls or super mutant or gecko
but if i used a power armor skin it would remain on my character after restart or some other wearable item like leather armor
Bartosz:
--- Quote from: Outlawries on June 29, 2013, 04:27:31 pm ---1.Yes
2.No after restart it gets removed unlike other armors
3.In object editor I changed the my armor's CritterType Male to 28 same for CritterType Female
It only happens if i use a skin like a ghouls or super mutant or gecko
but if i used a power armor skin it would remain on my character after restart or some other wearable item like leather armor
--- End quote ---
Check main.fos, critter_init, the else branch (line 980) - it does something for skin validation. Maybe this is what changes your skin?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version