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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old October 13th, 2006, 01:40 PM
Makinus's Avatar

Makinus Makinus is offline
First Lieutenant
 
Join Date: Jul 2002
Location: Brasil
Posts: 604
Thanks: 0
Thanked 6 Times in 6 Posts
Makinus is on a distinguished road
Default Re: AI Issue

The AI remembers me of an alien empire in a sci-fi novel, where the Aliens are extremely advanced, have much more systmes than humankind, huge fleets and dominate the human race but are only capable of focusing in the "now", being incapable of thinking too far (they do a little) in terms of future and past, and are incapable to imagine that some humans are thinking and planning a rebellion a few decades in the future...
__________________
Currently Playing:
Megamek (latest dev version with home-made random campaign generator), Dominions 3 (with CBM) and Sins of a Solar Empire (heavily modded)
Reply With Quote
  #2  
Old October 13th, 2006, 05:20 PM
AngleWyrm's Avatar

AngleWyrm AngleWyrm is offline
Second Lieutenant
 
Join Date: Mar 2005
Location: Seattle, WA
Posts: 417
Thanks: 0
Thanked 0 Times in 0 Posts
AngleWyrm is on a distinguished road
Default Re: AI Issue

call Sys_Set_AI_Storage_Long(sys_long_Player_ID, 1, 1, gbl_ai_state_attack_system)

To restate my question in more of a computer language than an interpersonal one:

I would like to use a couple AI_Storage registers; one to hold the date of plan activation, one to hold the step number in a masterplan sequence. Sort of a mini-state within the state machine. Then I would call an indexed set of functions based on step number.

Sys_Set_AI_Storage_Long: boolean
plr_index: long
elem_index: long
list_index: long
new_long: long

Sys_Get_AI_Storage_Long: long
plr_index: long
elem_index: long
list_index: long

What elements and lists are available/in use? Can I just make them up?
Reply With Quote
Reply

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


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