Author Topic: Beam create  (Read 1569 times)

0 Members and 1 Guest are viewing this topic.

please can someone tell me how to make a sexp like weapon create but for beams

i don't have the code

i can only code in python

edit: have code
« Last Edit: April 29, 2011, 08:27:16 am by The_Force »
May the Force be with you

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
There is an (admittedly incomplete) guide to writing sexps here. Note that a working knowledge of C/C++ is not optional when working with the FSO source.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Thaks looks like i'll have to learn
May the Force be with you

 
On Second thoughts where do I put in a request for one
May the Force be with you

 
I've tested it for you with the FREDing knowledge I have (Which is to say average to above average) and I couldn't replicate a beam weapon in weapon-create. It does work fine for missiles though.

My advice is to use a invisible ship with a beam weapon hardpoint, and tell it to open fire. Perhaps there are more ways though.
I'm all about getting the most out of games, so whenever I discover something very strange or push the limits, I upload them here:

http://www.youtube.com/user/JCDentonCZ

-----------------

The End of History has come and gone.

 
Ok thanks
May the Force be with you

  

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
I've tested it for you with the FREDing knowledge I have (Which is to say average to above average) and I couldn't replicate a beam weapon in weapon-create. It does work fine for missiles though.

My advice is to use a invisible ship with a beam weapon hardpoint, and tell it to open fire. Perhaps there are more ways though.

It doesn't work because the weapon-create sexp runs through the internal weapon_create() function, which isn't suitable for creating beams, since the engine treats beams as a very special case indeed.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns