.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Digital Eel > Weird Worlds: Return to Infinite Space > Scenarios and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old December 14th, 2006, 03:50 AM
Fingers's Avatar

Fingers Fingers is offline
Sergeant
 
Join Date: Jun 2005
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Fingers is on a distinguished road
Default Re: Modding Questions

The FIRE command fires directly forward of one of the player ships when you don't use the autotarget.. For example:

FIRE wp_projvrtx

This fires the particle vortex cannon when you use the "gong". This isn't terribly useful though, as it won't always pick the first ship in your flotilla.

Setting variables etc can be done in a mission-specific quest. Each mission (in mission.ini) can launch up to eight quests by using multiple QEST commands.

Variables: Make a quest similar to haven.ini except instead of creating items, use the UVAR command in the star entries.

STAR 0
FLAG existing
PLNT hope
UVAR myvariable somevalue
END STAR

Items: The easiest way is probably to add to the above quest a check if you're at the Terran homeworld (ie. Hope), and if so, add the item. This should trigger as soon as the game starts. End the quest at that point to make sure it'll only happen once.

CONDITION 0
TYPE homeworld
STR0 terran
END CONDITION

PAGE 0
REQ0 0
ACTN endquest break
ITEM widget
END PAGE

The "haveitem" condition only works on cargo, sorry
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:58 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.