Egoboo Forum

The Legend of Egoboo Sporks of Yore
EgoScript Functions
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    Egoboo Forum Forum Index -> -> Help
View previous topic :: View next topic  
Author Message
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2301
Location: Norway

PostPosted: Tue Apr 22, 2008 3:21 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

You could reduce size with scale tool in the model editor before you animate the gun. It is better.
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PurpleSquerkle
Supreme Cookiemancer
Supreme Cookiemancer


Joined: 28 Oct 2007
Age: 17
Posts: 4356
Location: Midwestern US

PostPosted: Tue Apr 22, 2008 3:48 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

The only working version I have doesn't have a scale tool.
Besides, someday we may WANT a gun the size of someone's head. Very Happy
_________________

+ PurpleSquerkle

--My website--
Latest update= 7/15/08; Three new midi loops.

{new Squerkle coming as soon as I stop being lazy}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 14
Posts: 3061
Location: Finland

PostPosted: Sat May 03, 2008 6:00 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

How can I script a character that heals good guys and damages bad guys at the same time? The Angel was meant to do that but now it only damages the enemies...
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2301
Location: Norway

PostPosted: Sat May 03, 2008 6:02 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Maybe. There is already something like that where Holy damage heals non undead creatures.

Maybe you should spawn two particles at the same time. One only hits hate group and damages while the other only hits friends and heals.
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 14
Posts: 3061
Location: Finland

PostPosted: Sat May 03, 2008 6:05 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

It is like that. "Holy" for part0 and part1, "Evil" for part2.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chainsaw
Lumberjack
Lumberjack


Joined: 20 Oct 2007
Age: 15
Posts: 2378
Location: Israel

PostPosted: Wed May 21, 2008 6:08 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Didn't think it was worth a new topic.

I have this script, It's meant to make a throwing weapon attack faster if you have higher Dexterity, This is how it's supposed to work:

Code:
Dex        Reload time

<15        None, Weapon drops on the ground and a message is displayed
15         40
20         30
25         20
30+        10


The 15, 20 and 25 ones work correctly.
The <15 throws at a rate of 40 (Not supposed to throw), and the 30+ drops the weapon (Supposed to throw at a rate of 10).

Here's my script, I tried many different combinations, and this is the most successful one, can anyone show me what I did wrong in this script?

Code:
//Attack speed modifiers, based on dex.
IfUsed
  SetTargetToWhoeverIsHolding
  tmpx = 3840
  tmpy = targetdex
  IfXIsMoreThanY
    tmpargument = 40
    SetReloadTime
  Else
    SetTargetToWhoeverIsHolding
    tmpx = 5120
    tmpy = targetdex
    IfXIsMoreThanY
      tmpargument = 30
      SetReloadTime
    Else
      SetTargetToWhoeverIsHolding
      tmpx = 6400
      tmpy = targetdex
      IfXIsMoreThanY
        tmpargument = 20
        SetReloadTime
      Else
        SetTargetToWhoeverIsHolding
        tmpx = 7680
        tmpy = targetdex
        IfXIsMoreThanY
          tmpargument = 10
          SetReloadTime
        Else
          DetachFromHolder
          tmpargument = 4
          SendMessageNear
End               //

_________________
"To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
Back to top
View user's profile Send private message Send e-mail
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2301
Location: Norway

PostPosted: Wed May 21, 2008 6:13 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

A MUCH easier solution:

Code:

IfUsed
  SetTargetToWhoeverIsHolding
  tmpargument = 40 - targetdex > 8  //-1 per point of dex
  SetReloadTime
  tmpx = rand & 1023 + targetdex    //0-4 + dex
  tmpy = 3640                                 //Need about 14
  IfXIsLessThanY
    DetachFromHolder
    tmpargument = 4
    SendMessageNear

_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Chainsaw
Lumberjack
Lumberjack


Joined: 20 Oct 2007
Age: 15
Posts: 2378
Location: Israel

PostPosted: Wed May 21, 2008 6:26 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Thanks, I can't believe I didn't think of that... Bang Head
_________________
"To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
Back to top
View user's profile Send private message Send e-mail
Maxaxle
Elite Gamer
Elite Gamer


Joined: 06 Oct 2007
Age: 15
Posts: 2717
Location: San Diego

PostPosted: Wed May 21, 2008 7:10 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

@Zefz: I like to use the Tesla Gonne, but it's held and used like a Wand of Lightning. How can I make it use the same grip and animation as a Gonne? Also, how can I make a Recharger for it that recharges the Tesla Gonne every 5 seconds, when held with the Tesla Gonne in the other hand?
_________________
http://www.freewebs.com/maxaxle88/
Inventor class last updated: July 9, 2008
Download: https://sourceforge.net/projects/maxaxlesegoboos
FREE PIZZA TOMORROW
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PurpleSquerkle
Supreme Cookiemancer
Supreme Cookiemancer


Joined: 28 Oct 2007
Age: 17
Posts: 4356
Location: Midwestern US

PostPosted: Wed May 21, 2008 7:12 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

That's because it IS the wand of lightning. But it looks like a gonne.
I can't believe the stupid thing still exists; it needs a lot more work! (firstly, it should work differently than the lightning wand)

Anyway, it's in the data file. Attack type. Should be "XBOW" instead of "ZAP."
_________________

+ PurpleSquerkle

--My website--
Latest update= 7/15/08; Three new midi loops.

{new Squerkle coming as soon as I stop being lazy}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Maxaxle
Elite Gamer
Elite Gamer


Joined: 06 Oct 2007
Age: 15
Posts: 2717
Location: San Diego

PostPosted: Wed May 21, 2008 7:55 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Oh, okay. Thanks! Very Happy
_________________
http://www.freewebs.com/maxaxle88/
Inventor class last updated: July 9, 2008
Download: https://sourceforge.net/projects/maxaxlesegoboos
FREE PIZZA TOMORROW
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2301
Location: Norway

PostPosted: Wed May 21, 2008 8:46 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Much better to use the zap particle in a Gonne object.

You need to code some script for battery or something:

Code:

IfTimeOut
  tmpargument = 200                 //every 4 seconds
  IfHeld
    SetTargetToWhoeverIsHolding
    tmpargument = [GONN]
    IfTargetHoldingItemID
      SetTargetToTargetLeftHand
      IfTargetHasID
        DoNothing
      Else
        SetTargetToTargetRightHand
      IncreaseTargetAmmo        //This function is not in the game yet


You can use RestockTargetAmmoIDFirst instead, but it refills all ammo.
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 14
Posts: 3061
Location: Finland

PostPosted: Fri May 23, 2008 5:46 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Does anyone know how to make a weapon that follows the player and attacks the enemies by itself? I would like to make that kinda weapon...
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chainsaw
Lumberjack
Lumberjack


Joined: 20 Oct 2007
Age: 15
Posts: 2378
Location: Israel

PostPosted: Fri May 23, 2008 6:03 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

woodmouse wrote:
Does anyone know how to make a weapon that follows the player and attacks the enemies by itself? I would like to make that kinda weapon...


That sounds more like a pet.
_________________
"To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
Back to top
View user's profile Send private message Send e-mail
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 14
Posts: 3061
Location: Finland

PostPosted: Fri May 23, 2008 6:04 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Well, a petbow. Laughing
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Egoboo Forum Forum Index -> -> Help All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 4 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2007 Informe.com. Get Free Forum Hosting
Powered by phpBB © 2001, 2005 phpBB Group

RedSilver 1.01 Theme was programmed by DEVPPL HTML Forum
Images were made by DEVPPL Photoshop Forum