EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
Indestructable ship script
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
Lanora





Joined: 09 Apr 2006
Posts: 77 on topic

Thank you for registering your game
PostPosted: Fri, 21. Apr 06, 06:20    Post subject: Indestructable ship script Reply with quote Print

I am having trouble finding info on how to make this script.

I'm sure it has been done before and is probley very simple but I cant figure it out on my own.

So far I am using the code that says

Code:
  [PLAYERSHIP] -> set hull to 999999999




I am sure that's not right becuase I have tryed the same thing afew different ways and I still blow up on impact.

Am I any where near the right track?

Back to top
View user's profile Send private message
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Nov 2004
Posts: 20076 on topic
Location: London
Thank you for registering your game
PostPosted: Fri, 21. Apr 06, 15:07    Post subject: Reply with quote Print

u cant do anything about impact hits

its handled internally by the game engine, so you cant effect the collisition detection.

you can only make it invinvible from attack fire


_________________
My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Stevio





Joined: 04 Jun 2005
Posts: 1983 on topic
Location: Kent, England
Thank you for registering your game
PostPosted: Fri, 21. Apr 06, 17:59    Post subject: Reply with quote Print

here is the code of GOD MODE by nuclear_eclipse
NOTE: this script was made for X³

although it may work for X² afaik all of these commands are in the X² script editor {i am not sure i didn't do any scripts for X²}
if not you will have to find a way around it,

Code:
nuke.cheat.godmode.xml

001   while [TRUE]
002    $hull.max = [THIS] -> get max hull
003    $hull.current = [THIS] -> get hull
004    [THIS] -> set hull to $hull.max
005   
006    $shield.max = [THIS] -> get maximum shield strength
007    [THIS] -> set current shield strength to $shield.max
008   
009 @  = wait 100 ms
010   end
011   
012   return null


Code:
setup.nuke.cheat.godmode.xml

001   load text: id=7890
002   set script command upgrade: command=COMMAND_TYPE_SHIP_63  upgrade=[TRUE]
003   global script map: set: key=COMMAND_TYPE_SHIP_63, class=Ship, race=Player, script='nuke.cheat.godmode', prio=0
004   return null


cheers stevio


_________________
My Scripts

So say we all!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
michael240261





Joined: 29 Apr 2006

Location: South Africa

PostPosted: Sat, 13. May 06, 15:42    Post subject: Reply with quote Print

God Mode Script does work in X2, but you have to activate it every time you go into the game

Back to top
View user's profile Send private message
DeCook





Joined: 02 Dec 2010



PostPosted: Mon, 6. Dec 10, 01:14    Post subject: Reply with quote Print

I can assure you it doesn’t, having just installed it all it dose is lock up all movement controls.

In fact if you look at the script after installing you will see the lines that do the business have been removed as X2 has no idea how to interpret them.

Back to top
View user's profile Send private message
spacedude007





Joined: 20 Apr 2011



PostPosted: Wed, 20. Apr 11, 03:30    Post subject: Reply with quote Print

wait, where is the set hull command on x2 the threat? plz i really need the godmode so i can complete the story and unlock the khaak weaponry

Back to top
View user's profile Send private message
SpaceTycoon





Joined: 06 Nov 2002
Posts: 910 on topic
Location: Akeelas Leuchtfeuer
Thank you for registering your game
PostPosted: Wed, 20. Apr 11, 09:53    Post subject: Reply with quote Print

spacedude007 wrote:
wait, where is the set hull command on x2 the threat? plz i really need the godmode so i can complete the story and unlock the khaak weaponry

For X2 you may try my Camouflage Device http://www.egosoft.com/x2/forum/viewtopic.php?p=955462
Its similar to a god mode.


_________________
Navigationssoftware ST1     Handelserweiterung ST1     Tarnvorrichtung ST1
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
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
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Wed, 3. Sep 14, 04:05

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.20317 seconds, sql queries = 42