Author Topic: FOnline SDK - Question  (Read 165071 times)

Re: FOnline SDK - Question
« Reply #105 on: April 23, 2011, 11:50:43 pm »
Could you get fallout 2238 to singleplayer, as you could do in this FOnline TLA thingy (see, im showing ignorance so you will be willing to help me more)
Of couse! Just ask devs to give you all thier server files, scripts, dialogues, maps, etc.! Unfortunately there's even more than 95% that they will decline you.

Offline FstrAnthony

  • Yeah Its That Kind Of Perk
Re: FOnline SDK - Question
« Reply #106 on: April 24, 2011, 10:27:12 pm »
Is the client as big as regular fonline and i was bored this is my first time acknwledgeing this topic
I will Murk U In Cod Black Ops Ps3

http://www.youtube.com/user/FstrAnthony1457?feature=mhee
[UPDATED]my youtube black ops channels [UPDATED]

Re: FOnline SDK - Question
« Reply #107 on: May 20, 2011, 01:39:14 pm »
I made myself a server and can't kill annything in it WHy?


OOO and how do i give myself a skin?

Offline Xarr

  • Former Troll
Re: FOnline SDK - Question
« Reply #108 on: May 20, 2011, 04:27:45 pm »
I made myself a server and can't kill annything in it WHy?
That is a heavy problem i know. example if you attack NPC's you can due 99999999999999 damage but they still have full hp.
(as far i remember) i sloved my problem with an complete update of the SDK
OOO and how do i give myself a skin?
ni
I used to be a bag of dicks, but then I grew up. I gave many of you guys a hard time, but on the other side I kept myself busy with helping players, and I never gave up on that.

Still, the FOnline community is a thing of it's own class.

Re: FOnline SDK - Question
« Reply #109 on: May 20, 2011, 04:49:52 pm »
Quote from: BlindMaster on Today at 12:39:14 pm
OOO and how do i give myself a skin?
ni


What about it?

Offline Xarr

  • Former Troll
Re: FOnline SDK - Question
« Reply #110 on: May 20, 2011, 05:38:39 pm »
my fault, many FOnliner do not know...  ::)
Ni
I like saying it, coz Rusty 's Awsomenes in person xD
I used to be a bag of dicks, but then I grew up. I gave many of you guys a hard time, but on the other side I kept myself busy with helping players, and I never gave up on that.

Still, the FOnline community is a thing of it's own class.

Re: FOnline SDK - Question
« Reply #111 on: May 20, 2011, 08:17:05 pm »
How do i addd Npc where i want whitout using the editor???
How do i know what hex is he going to appear???

Offline Mayck

  • Rotator
  • ...shhhh...
Re: FOnline SDK - Question
« Reply #112 on: May 20, 2011, 08:35:21 pm »
and how do i give myself a skin?
~runscript debug body <critterId> <skinId> 0

How do i addd Npc where i want whitout using the editor???
~addnpc <x> <y> <direction> <npcProtoId>

How do i know what hex is he going to appear???
Either you can experiment with ~move command to figure out right coordinates or you can try to write a simple script for that. (maybe there's some other way, I'm not sure about that)

Offline Xarr

  • Former Troll
Re: FOnline SDK - Question
« Reply #113 on: May 20, 2011, 10:22:53 pm »
Either you can experiment with ~move command to figure out right coordinates or you can try to write a simple script for that. (maybe there's some other way, I'm not sure about that)
~gameinfo 1
You will see some informations, a bit down and left in the message you see the X and Y of the actual listed Player. So you want (example) a NCP near you you type ~addnpc (X-1) (Y) (ID) (ID) and you have (ID) next to you.
I used to be a bag of dicks, but then I grew up. I gave many of you guys a hard time, but on the other side I kept myself busy with helping players, and I never gave up on that.

Still, the FOnline community is a thing of it's own class.

Offline Mayck

  • Rotator
  • ...shhhh...
Re: FOnline SDK - Question
« Reply #114 on: May 20, 2011, 11:27:55 pm »
or you can try this (simple script editing):
Code: [Select]
if(message=="~xy")
{
uint16 hexX=0, hexY=0;
GetMonitorHex(__MouseX, __MouseY, hexX, hexY);
Message("Hex: "+hexX+" "+hexY);
return false;
}
If you add it into client_main.fos right behind the if(message[0]=="~names"){...<somelines>...} block.
Then everytime you type ~xy you will get X Y coordinates of your mouse. (There are more elegant ways to deal with it, but this is one of the simpliest)
« Last Edit: May 21, 2011, 01:25:05 am by Mayck »

Offline Xarr

  • Former Troll
Re: FOnline SDK - Question
« Reply #115 on: May 21, 2011, 01:15:08 am »
Code: [Select]
if(message=="~xy")
{
uint16 hexX=0, hexY=0;
GetMonitorHex(MouseX, MouseY, hexX, hexY);
Message("Hex: "+hexX+" "+hexY);
return false;
}
are you sure that you mean
Code: [Select]
Message("Hex: "+hexX+" "+hexY);
? (because the " )
I used to be a bag of dicks, but then I grew up. I gave many of you guys a hard time, but on the other side I kept myself busy with helping players, and I never gave up on that.

Still, the FOnline community is a thing of it's own class.

Offline Mayck

  • Rotator
  • ...shhhh...
Re: FOnline SDK - Question
« Reply #116 on: May 21, 2011, 01:27:00 am »
Damn i forgot something , there should be __MouseX instead of MouseX(edited the previous post)

are you sure that you mean
Code: [Select]
Message("Hex: "+hexX+" "+hexY);
? (because the " )
Don't know what's wrong with that line (looks fine to me)

Edit: if you use + between string and number variable the number gets automatically converted to string so it's practically same like if i wrote Message("Hex: 666 13");
« Last Edit: May 21, 2011, 01:41:16 am by Mayck »

Offline Wipe

  • Rotator
  • Random is god
Re: FOnline SDK - Question
« Reply #117 on: May 21, 2011, 01:57:19 am »
Much better - imho - is to use DrawText() inside main loop; this way you can display much more info without typing command every minute.
Games are meant to be created, not played...

Offline Xarr

  • Former Troll
Re: FOnline SDK - Question
« Reply #118 on: May 21, 2011, 02:09:19 am »
Don't know what's wrong with that line (looks fine to me)
then i looked wrong, shit happens
« Last Edit: May 21, 2011, 02:55:02 am by Xarr »
I used to be a bag of dicks, but then I grew up. I gave many of you guys a hard time, but on the other side I kept myself busy with helping players, and I never gave up on that.

Still, the FOnline community is a thing of it's own class.

Offline Mayck

  • Rotator
  • ...shhhh...
Re: FOnline SDK - Question
« Reply #119 on: May 21, 2011, 02:11:22 am »
Much better - imho - is to use DrawText() inside main loop; this way you can display much more info without typing command every minute.
Indeed.
Strange, i never thought about using it for coordinates (I guess i got used too much to console typing ;D ), though I already use it for capturing countdowns and similiar things  :)