Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: y0uRd34th on January 24, 2009, 07:38:33 am

Title: [ToolBox] - Need Ideas
Post by: y0uRd34th on January 24, 2009, 07:38:33 am
[ToolBox]

If you got any Ideas, please Post them, thanks.

Ready Made:
-Spawn Kits,Weapons
-Godmode
-Equip Weapons
-Mirror
-Create Novas
-Freeze
-Save/Load
-Suicide!
Title: Re: FunMod - Need Ideas and Help
Post by: shantec on January 24, 2009, 09:34:46 am
I prefer you to change the name, since there is already "FunMod"

But for ideas... maybe some explosives like mines / rc bombs
Teleport? :D
Title: Re: FunMod - Need Ideas and Help
Post by: y0uRd34th on January 24, 2009, 09:46:49 am
Name: Hmm ya i'm still searching for one; I know the FunMod from Mr-93, but is he still alive?
Mines: Remote Explosieves? Or so mines like in mmod or Hexer?
I'm already going to add Teleport thing.

And what do you mean with 'rc' ?
Title: Re: FunMod - Need Ideas and Help
Post by: shantec on January 24, 2009, 09:49:45 am
Name: Hmm ya i'm still searching for one; I know the FunMod from Mr-93, but is he still alive?
Mines: Remote Explosieves? Or so mines like in mmod or Hexer?
I'm already going to add Teleport thing.

And what do you mean with 'rc' ?

Nah.. im not sure if his still alive...
Even tho he is my friend =/
Better to just make new name :D

But well... mines are.. mines
And rc bombs are Remote Control Bombs.. or remote explosives
Title: Re: FunMod - Need Ideas and Help
Post by: y0uRd34th on January 24, 2009, 09:52:37 am
Ok i'm looking for Mines :D Have an Idea how to do but not sure =\
Title: Re: FunMod - Need Ideas and Help
Post by: danmer on January 24, 2009, 10:46:13 am
save the coordinates of the player who "puts the bomb", then check if anyone is near these coordinates in AppOnIdle and CreateBullet some m79 shells or other stuff to make a mine. Or create the bullets at these coordinates when the player does a command if you want an rc bomb =/
Dig through mmod, it has all this stuff.
Title: Re: FunMod - Need Ideas and Help
Post by: y0uRd34th on January 24, 2009, 01:11:34 pm
Yes i know :D But at moment i do little stuff like /hurt ID Damage or /move x y
Title: Re: FunMod - Need Ideas and Help
Post by: Vyka on January 25, 2009, 06:54:12 am
you should use:

temp: array [1..8] of variant;

that would help : )
Title: Re: FunMod - Need Ideas and Help
Post by: y0uRd34th on January 25, 2009, 08:46:06 am
Yes.
Does someone know how CrossFunc works ???
Title: Re: FunMod - Need Ideas and Help
Post by: tk on January 25, 2009, 09:57:01 am
http://devs.soldat.pl/wiki/index.php/CrossFunc
Title: Re: FunMod - Need Ideas and Help
Post by: DorkeyDear on January 25, 2009, 11:35:50 am
CrossFunc( the arguments as an array of variant, script name dot function name as a string )
example:

function myFunc(Apple: string): string;
begin
  if (LowerCase(Apple) = 'yes')
    Result := 'apple'
  else
    Result := 'pie';
end;

elsewhere:
myStr := CrossFunc(['yes'], ScriptName + '.Apple'); // apple
Title: Re: FunMod - Need Ideas and Help
Post by: y0uRd34th on January 28, 2009, 12:15:45 pm
Ummm..  ??? Don't check it but thanks.

How is the best way to check if someone is near to X;Y Coords?
Title: Re: FunMod - Need Ideas and Help
Post by: tk on January 28, 2009, 03:33:00 pm
if distance(given_x,given_y,getplayerstat(id,'x'),getplayerstat(id,'y')) <= 100{in example} then {...}

14 units of distance = 1m
Title: Re: FunMod - Need Ideas and Help
Post by: y0uRd34th on January 30, 2009, 07:45:31 am
Ok thank you :)

What do you Guys think about Pi Box ??? Hmm I don't know...
Title: Re: FunMod - Need Ideas and Help
Post by: y0uRd34th on March 05, 2009, 07:51:31 am
Maybe you can :D
I stoped making it because there already so many "FunMods".. Fistbox, Sandbox and so on ;D
Title: Re: FunMod - Need Ideas and Help
Post by: y0uRd34th on March 14, 2009, 11:22:45 am
It's good LORD KILLA....
I didn't say that my Script is called FunMod... Only something like this..
And another thing you should not cry, MR-93's FunMod was long time not Active or he stoped
playing Soldat a couple of Months...

Ok, changed Name to [ToolBox]..
Title: Re: [ToolBox] - Need Ideas
Post by: jrgp on March 17, 2009, 12:10:19 am
Flame spam by LORD KILLA deleted.
Title: Re: [ToolBox] - Need Ideas
Post by: DarkCrusade on March 21, 2009, 04:14:24 am
What about running "suicide" bombs? A gostek looking like the player who activated it runs a straight line going through the waypoints and explodes on contact
Title: Re: [ToolBox] - Need Ideas
Post by: y0uRd34th on March 21, 2009, 05:50:48 am
Kamikaze? :D
Title: Re: [ToolBox] - Need Ideas
Post by: DarkCrusade on March 21, 2009, 01:12:19 pm
Not at all, a copy of you runs there and you can get somewhere else. Would be cool for hide & seek to have one as blue one ;D Then you could maybe activate it 1 time in 1 minute or something like that :)