Author Topic: Request: trasform-ship sexp?  (Read 5433 times)

0 Members and 1 Guest are viewing this topic.

Request: trasform-ship sexp?
I have a reqeusts for the coders, is anyone willing to implement a ship trasformation add-on? This has been attemped time ago by the Robotech mod guys, with pretty good results, but the experiment was dropped long ago...

How hard will it be to implement? I hope not too much, as it will not be to different from ship-change-class. Is anyone willing to try it out?

I REALLY need this for my mod, and i think others will find this useful...

 

Offline Carl

  • Render artist
  • 211
    • http://www.3dap.com/hlp/
Request: trasform-ship sexp?
just to be clear, you want to make it so a ship will turn into a different ship?
"Gunnery control, fry that ****er!" - nuclear1

 

Offline Turnsky

  • FOXFIRE Artisté
  • 211
  • huh?.. Who?.. hey you kids, git off me lawn!
Request: trasform-ship sexp?
well, think of the Apoc project for beast ships.. change textures to that of the infected ones..
   //Warning\\
---------------------------------------------------------------------------------
do not torment the sleep deprived artist, he may be vicious when cornered,
in case of emergency, administer caffeine to the artist,
he will become docile after that,
and less likely to stab you in the eye with a mechanical pencil
-----------------------------------------------------------------------------------

 

Offline KARMA

  • Darth Hutt
  • 211
    • http://members.fortunecity.com/aranbanjo
Request: trasform-ship sexp?
afaik both a substitute model sexp and a rotate subobj by command sexp are implemented
but since I'm not a fredder I'm not sure

 
Request: trasform-ship sexp?
Quote
Originally posted by Carl
just to be clear, you want to make it so a ship will turn into a different ship?


Yes, you know, something very similar to the change-ship-class sexp, i'm not asking about animations of course, just a change the ship to another in the ship table, model and all, but unlike the exising change-ship-class i need:

- the ability off indicating in the tbl the new class the ship will trasform into
- keeping not only the health status, but also the ammuniton from one state to other (right now changing class refills all weapons to max)
- the possibility of binding it to a a keyboard key for the player

I have a very old buid that makes almost all the above things, but i want them implemented in the "official" builds (that old one didn't have any of the new features)

 
Request: trasform-ship sexp?
Quote
Originally posted by KARMA
afaik both a substitute model sexp and a rotate subobj by command sexp are implemented
but since I'm not a fredder I'm not sure


This won't do, the change-ship-model only change the pof, not the stats of the ship (i.e. max speed, rotation time, etc...)
Also i need to bind it to a key, the is-key-pressed works only once per mission

 
Request: trasform-ship sexp?
there is also change ship class or something like that, IIRC.

not very sure though.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
Request: trasform-ship sexp?
The final thing we had worked that way:
when you pushed the transform button, it would switch the player's ship back and forth between the ships tbl entry and the next entry in the ships.tbl.
So everything ( pof data, tbl entry ) was changed.
SCREW CANON!

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Request: trasform-ship sexp?
Quote
Originally posted by ryuune75

...the is-key-pressed works only once per mission


Really? Derelict had a mission in which, you had to place navbouys by pressing 1, 2, 3. So I suppose you ran into a habitant SCP coincidental bugs.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Request: trasform-ship sexp?
:rolleyes: Read the manual.  key-pressed will work more than once, but you have to reset it each time.

 
Request: trasform-ship sexp?
Quote
Originally posted by TopAce
Really? Derelict had a mission in which, you had to place navbouys by pressing 1, 2, 3. So I suppose you ran into a habitant SCP coincidental bugs.


Really? I tryed using is-key-pressed, but they activate only once, then it's not recognized anymore and won't start the event... it's not the usual behavior of this sexp? I mean, pressing the SAME key more than once, you are talkin about different keys.

Edit: just read Goober5000 post, didn't know about this reset thing, hey, i'm not an expert fredder, i don't know all the tricks involved...

Anyway, this don't really solve my problem, the change-ship-class is not exactly what i need, only similar.... :sigh:
« Last Edit: March 05, 2004, 08:44:38 am by 1612 »

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Request: trasform-ship sexp?
You can set a number in the Events editor, which says how many times you want your event be played.
You will find it.
But to be honest, I didn't use this SEXP much.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Carl

  • Render artist
  • 211
    • http://www.3dap.com/hlp/
Request: trasform-ship sexp?
this feature would be good for cloaking, me thinks.
"Gunnery control, fry that ****er!" - nuclear1

 
Request: trasform-ship sexp?
uhm, no, bob had different idea's for that......
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline Grug

  • 211
  • From the ashes...
Request: trasform-ship sexp?
Yeh and as Turnsky said TAP could use this feature too. Though TAP is also about to get a setting change... but this could still be usefull. :D
For TAP though, it would mainly use the ship texture change and a change team sexp for the beast, if we wanted to include 'mimics' then this could be the way to go. :D

-Grug

 

Offline Unknown Target

  • Get off my lawn!
  • 212
  • Push.Pull?
Request: trasform-ship sexp?
Try taking the code from the RT mod exe and put it into the main one :)

 
Request: trasform-ship sexp?
Quote
Originally posted by Unknown Target
Try taking the code from the RT mod exe and put it into the main one :)


Yes, i already tought about this, but i'm not an expert programmer, i don't know if i can do it right... beside, who i need to ask to if i want to add myself features to the main source code?

 
Request: trasform-ship sexp?
Quote
Originally posted by Goober5000
:rolleyes: Read the manual.  key-pressed will work more than once, but you have to reset it each time.


BTW, i tryed that, and i can't make it work....

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
Request: trasform-ship sexp?
it worked as many times as you wanted in the robotech mod.
SCREW CANON!

 
Request: trasform-ship sexp?
Quote
Originally posted by Nico
it worked as many times as you wanted in the robotech mod.


what are you talking about? the RT mod never used the change-ship-model sexp, only a destroyabe turret on verithes... :confused: