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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

 
 
Thread Tools Display Modes
  #1  
Old August 27th, 2007, 03:07 PM

sgqwonkian sgqwonkian is offline
Sergeant
 
Join Date: Aug 2007
Location: Seattle
Posts: 231
Thanks: 3
Thanked 13 Times in 10 Posts
sgqwonkian is on a distinguished road
Default Does INCV actually do anything?

According to the Modmakers Guide to the Galaxy, there's a code for PAGE blocks called INCV:

"INCV <variable> <number>
Increments a user variable by an integer (or subtracts if the number is negative)."

It sounds like a really useful bit of code for my upcoming Odyssey-based mod and my upcoming Cthulhu-based mod.

But I can't seem to make it work. Or at least events that say "INCV crewnumb 40" seem to have no impact on a item with "TEXT Your ship has <uvar=crewnumb> crewmen on board."

I've searched the files of the main game trying to find an example of how to use it, and _if_ there's INCV code in action, and it's not in the mission, game, damocles quest, kawangi quest, or any of the dv_whatever items. And I'm pretty sure it's not hidden in any of the normal see-them-almost-every-game quests.

Does INCV actually do anything?
Does it really exist?
Does it only work if you're running the 1.22 patch?

Has anyone had any luck using the INCV code?
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
  #2  
Old September 14th, 2007, 06:30 PM
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: Does INCV actually do anything?

The INCV command was introduced in v1.2 (1.22 for mac). The Ravian encounter (brood2) uses it to keep track of how many ravian fleets you've destroyed. Before you can use this command, you must set the variable with a SVAR command.
  #3  
Old September 15th, 2007, 10:54 AM

sgqwonkian sgqwonkian is offline
Sergeant
 
Join Date: Aug 2007
Location: Seattle
Posts: 231
Thanks: 3
Thanked 13 Times in 10 Posts
sgqwonkian is on a distinguished road
Default Re: Does INCV actually do anything?


Thank you, Fingers! You just saved me a ton of trouble. Now I can make some real progress on my Oddyssey and Cthulhu mods. I'd been hammering out a work-around that involved painful amounts of CONDITION blocks, and now I can just INCV my way along easily. Should have known it was part of the patch.

Thanks again!
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
 

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 12:45 PM.


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