Author Topic: How to spawn items in the original FOnline SDK?  (Read 3687 times)

How to spawn items in the original FOnline SDK?
« on: May 21, 2014, 11:50:15 am »
I see there is a tutorial for spawning items by admin command for the 2238 SDK, but not one for the original SDK (the Russian and English one). I'm using this one because the 3D tutorials don't seem to work for the 2238 one, unfortunately. Anyways, how would I set up admin access and use the items spawning command in the original SDK? Any help would be appreciated!

Offline Wipe

  • Rotator
  • Random is god
Re: How to spawn items in the original FOnline SDK?
« Reply #1 on: May 21, 2014, 03:09:50 pm »
Set password for admin (FOnlineServer.cfg -> Access_admin)
Login and use ~getaccess admin [your password] command
Find prototype id (protoid) of your item; can be found in few places, Server/scripts/_itempid.fos, checking item in ObjectEditor, one of Server/proto/items/*.fopro files)
Use ~additemself [item protoid] [amount] command
Enjoy

If you're familiar with russian, there's Docs/FOnlineRu.chm where (probably!) you'll find more detailed instructions
If you're not familiar with russian, run Docs/Source/BuildEn*.cmd what should generate docs in english language.
Docs aren't updated frequently, and english one are always more outdated than russian, but such basics should be covered there i think.
Games are meant to be created, not played...

Re: How to spawn items in the original FOnline SDK?
« Reply #2 on: May 21, 2014, 08:17:03 pm »
Thanks so much! :D